Subscribe: Latest Microsoft Blogs
http://weblogs.asp.net/aspnet-team/rss.aspx
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
azure cli  azure  cli  command line  core  dotnet  follow  net core  net  preview  scott hanselman  scott  visual studio 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Latest Microsoft Blogs

Untitled





 



Azure Hybrid Networking 101

Fri, 26 May 2017 01:00:00 GMT

In this episode of Azure Friday, Olivier Martin joins Scott Hanselman for the first of a two-part series on hybrid networking in Azure, which is key to connecting existing customer infrastructure into an Azure Virtual Network (vNet). In this episode, Olivier covers the different connection options (VPN and ExpressRoute) and provides a brief overview of what they are, connectivity models, partner solutions, and an overview of ExpressRoute peerings.

For more information, see Networking to and within the Azure Cloud, part 1.

(image) In this episode of Azure Friday, Olivier Martin joins Scott Hanselman for the first of a two-part series on hybrid networking in Azure, which is key to connecting existing customer infrastructure into an Azure Virtual Network (vNet). In this episode, Olivier covers the different connection options (VPN and ExpressRoute) and provides a brief overview of what they are, connectivity models, partner solutions, and an overview of ExpressRoute peerings. For more information, see Networking to and within the Azure Cloud, part 1. Follow @SHanselman Follow @OMartin_2010 Follow @AzureFriday


Media Files:
http://video.ch9.ms/ch9/fbf6/a6219b20-937b-410c-a2a4-38ca8bf1fbf6/AzureHybridNetworking101.mp4




Deploy Cognitive Toolkit model to Azure Web Apps

Tue, 23 May 2017 11:00:02 Z

Azure offers several ways of deploying a deep-learning model (e.g. CNTK): Windows Web App, Linux (Docker) Web App, and Azure Container Services (Docker). Both of the Docker methods are perhaps more…



Exploring the preconfigured browser-based Linux Cloud Shell built into the Azure Portal

Mon, 22 May 2017 01:37:36 GMT

At BUILD a few weeks ago I did a demo of the Azure Cloud Shell, now in preview. It's pretty fab and it's built into the Azure Portal and lives in your browser. You don't have to do anything, it's just there whenever you need it. I'm trying to convince them to enable "Quake Mode" so it would pop-up when you click ~ but they never listen to me. ;) Click the >_ shell icon in the top toolbar at http://portal.azure.com. The very first time you launch the Azure Cloud Shell it will ask you where it wants your $home directory files to be persisted. They will live in your own Storage Account. Don't worry about cost, remember that Azure Storage is like pennies a gig, so assuming you're storing script files, figure it's thousandths of pennies - a non-issue. It's pretty genius how it works, actually. Since you can setup an Azure Storage Account as a regular File Share (sharing to Mac, Linux, or Windows) it will just make a file share and mount it. The data you save in the ~/clouddrive is persistent between sessions, the sessions themselves disappear if you don't use them. Today it's got bash inside a real container. Here's what lsb_release -a says:scott@Azure:~/clouddrive$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 16.04.1 LTSRelease: 16.04Codename: xenialLooks like Ubuntu xenial inside a container, all managed by an orchestrator within Azure Container Services. The shell is using xterm to make it all possible inside the browser. That means you can run vim, top, whatever makes you happy. Cloud shells include vim, emacs, npm, make, maven, pip, as well as docker, kubectl, sqlcmd, postgres, mysql, iPython, and even .NET Core's command line SDK.NOTE: Ctrl-v and Ctrl-c do not function as copy/paste on Windows machines [in the Portal using xterm], please us Ctrl-insert and Shift-insert to copy/paste. Right-click copy paste options are also available, however this is subject to browser-specific clipboard accessWhen you're in there, of course the best part is that you can ssh into your Linux VMs. They say PowerShell is coming soon to the Cloud Shell so you'll be able to remote Powershell in to Windows boxes, I assume.The Cloud Shell has the Azure CLI (command line interface) built in and pre-configured and logged in. So I can hit the shell then (for example) get a list of my web apps, and restart one. Here I'm getting the names of my sites and their resource groups, then restarting my son's hamster blog.scott@Azure:~/clouddrive$ az webapp list -o tableResourceGroup Location State DefaultHostName AppServicePlan Name-------------------------- ---------------- ------- ------------------------------------------ ----------------- ------------------------Default-Web-WestUS West US Running thisdeveloperslife.azurewebsites.net DefaultServerFarm thisdeveloperslifeDefault-Web-WestUS West US Running hanselmanlyncrelay.azurewebsites.net DefaultServerFarm hanselmanlyncrelayDefault-Web-WestUS West US Running myhamsterblog.azurewebsites.net DefaultServerFarm myhamsterblogscott@Azure:~/clouddrive$ az webapp restart -n myhamsterblog -g "Default-Web-WestUS"Pretty cool. I'm going to keep exploring, but I like the way the Azure Portal is going from a GUI and DevOps dashboard perspective, but it's also nice to have a CLI preconfigured whenever I need it.Sponsor: Did you know VSTS can integrate closely with Octopus Deploy? Watch Damian Brady and Brian A. Randell as they show you how to automate deployments from VSTS to Octopus Deploy, and demo the new VSTS Octopus Deploy dashboard widget. Watch now! © 2017 Scott Hanselman. All rights reserved.      [...]



Custom Domain HTTPS Support with Azure CDN

Thu, 18 May 2017 22:00:00 GMT

Manling Zhang joins Scott Hanselman to show off HTTPS support for Azure CDN custom domains, which enables you to deliver secure content via SSL using your own domain name to improve the security of data while in transit. The end-to-end workflow to enable HTTPS for your custom domain is simplified via one-click enablement, complete certificate management, and all with no additional cost.

(image) Manling Zhang joins Scott Hanselman to show off HTTPS support for Azure CDN custom domains, which enables you to deliver secure content via SSL using your own domain name to improve the security of data while in transit. The end-to-end workflow to enable HTTPS for your custom domain is simplified via one-click enablement, complete certificate management, and all with no additional cost. Follow @SHanselman Follow @AzureFriday


Media Files:
http://video.ch9.ms/ch9/ffc2/54032ba7-4359-456f-aea7-eb40df22ffc2/CustomDomainHTTPSwithAzureCDN.mp4




Suggestions and Tips for attending your first tech conference

Wed, 17 May 2017 18:15:18 GMT

This last week Joseph Phillips tweeted that he was going to his first big tech conference and wanted some tips and suggestions. I have a TON of tips, but I know YOU have more, so I retweeted his request and prompted folks to reply. This was well timed as I had just gotten back from OSCON and BUILD, two great conferences. What suggestions to you offer to someone who is attending their first big tech conference? @2joephillips https://t.co/2HtRs4N6cj— Scott Hanselman (@shanselman) May 15, 2017 The resulting thread was fantastic, so I've pulled some of the best recommendations out. As per usual, the Community has some great ideas and you should check them out! @saraford - Whenever you get a biz card write down why you met them or what convo was about. It might seem obvious at time but you wont remember at home @arcdigg - Meet people and speakers. Tech is part of your success, but growing your network matters too. Conf can give you both or not. Up to you! @marypcbuk - if approaching people is hard for you, just ask 'what do you work on?' @ohhoe - don't be afraid to introduce yrself to people! let them know its yr first conference, often people will introduce you to other people too :) @IrishSQL - connect with a few attendees/speakers online prior to event, and bring plenty of business cards. When u get one, write details on back @arcdigg - Backpack and sneakers beat cute laptop bag and heels (ed: dress comfortably) @scribblingon - You might feel left out & think everyone knows everyone else. Don't be afraid to approach people & talk even if seems random sometimes :) If you liked someone's talk, strike a convo & tell them that!! @arcdigg - Plan session attendance in advance, have a backup in case the session is full. @jesslynnrose - Reach out to some other folks who are using the hashtag before you get there, events can be cliquey, say hi and make friends before you go! @thelarkinn - Never feel afraid to say hi to maintainers, and speakers!!!! Especially if you want to help! @everettharper - Pick 3 ppl you want to meet. Prep 1 Q for each. Go early, find person #1 in the 1st hr before crowds. 1/3 done = momentum for rest of day! @jorriss - Meet people. Skip sessions. You'll get more from meeting and talking with people then sitting in the sessions. #hallwaytrack @stabbycutyou - Leave room in your schedule, Meet people, Eavesdrop on hallway convos, Take notes, Present on them at your job @patrickfoley - Don't forget to sleep. Evidence that long-term memories get "written" then @david_t_macknet - Drinking will not help you remember it better or have a better time mingling. Most of us are just as introverted & the awkwardness fades. @carlowahlstedt - Don't feel like you have to go to EVERY session. @davidpine7 - Try your best to NOT be an introvert -- in our industry that can be challenging, but if you put yourself out there...you will not regret it! @frontvu - Don't rely on the conference wifi @shepherddad - Put snacks in your bag or pocket. @sod1102 - Find out if there will be slides (and even better!) video available post conference, then don't worry about missing stuff and relax & enjoy @rnelson0 - Take notes. Live tweet, carry a notebook, jot it all down at 1am before sleeping, whatever method helps you remember what you did. @hoyto - Sit [at] meal tables with random people and introduce yourself. @_s_hari - Ask speaker when *not* to use product/methodology that they're speaking on. If they cannot explain that, then it's just a marketing session @EricFishor - Don't be afraid to discreetly leave or enter an on going session. It's up to you to seek out sessions that interest you. @texmandie - If you get to meet and talk to your heroes, don't freak out - they're normal people who happen to do cool stuff @wilbers_ke - Greatest connections happen in the hallways, coffee queue and places with animated humans. Minimize seated conference halls @CJohnsonO365 - CLEAR YOUR SCHE[...]



General Availability: Azure Search parses JSON Blobs

Tue, 16 May 2017 09:00:09 Z

Azure Search can read and index JSON objects directly from Azure Blob Storage.



Enhancements to Application Insights Smart Detection

Tue, 16 May 2017 08:00:09 Z

Detect slowdown in dependency performanceSmart Detection and Profiler integration



BUILD 2017 Conference Rollup for .NET Developers

Mon, 15 May 2017 05:59:40 GMT

The BUILD Conference was lovely this last week, as was OSCON. I was fortunate to be at both. You can watch all the interviews and training sessions from BUILD 2017 on Channel 9. Here's a few sessions that you might be interested in. Scott Hunter, Kasey Uhlenhuth, and I had a session on .NET Standard 2.0 and how it fit into a world of .NET Core, .NET (Full) Framework, and Mono/Xamarin. One of the best demos, IMHO, in this talk, was taking an older .NET 4.x WinForms app, updating it to .NET 4.7 and automatically getting HiDPI support. Then we moved it's DataSet-driven XML Database layer into a shared class library that targeted .NET Standard. Then we made a new ASP.NET Core 2.0 application that shared that new .NET Standard 2.0 library with the existing WinForms app. It's a very clear example of the goal of .NET Standard. Then, Daniel Roth and I talked about ASP.NET Core 2.0 Maria Naggaga talked about Support for ASP.NET Core. What's "LTS?" How do you balance purchased software that's supported and open source software that's supported? Mads Torgersen and Dustin Campbell teamed up to talk about the Future of C#! David Fowler and Damian Edwards introduced ASP.NET Core SignalR! There's also a TON of great 10-15 min short BUILD videos like: Get started with Unity and Visual Studio for Mac .NET Core and Visual Studio for Mac Windows High DPI Improvements for Desktop Miguel de Icaza and Scott Hunter on .NET Standard 2.0, UWP Support, and UI Futures on CH9 As for announcements, check these out: Announcing EF Core 2.0 Preview 1 Announcing .NET Core 2.0 Preview 1 Announcing ASP.NET Core 2.0.0-Preview1 and Updates for .NET Web Developers Visual Studio 2017 Tools for Azure Functions A Lap Around Python in Visual Studio 2017 Unity game development with Visual Studio for Mac Why you should use F# Announcing F# 4.1 and the Visual F# Tools for Visual Studio 2017 All Things Mobile at Microsoft Build And best of all...All .NET Core 2.0 and .NET Standard 2.0 APIs are now on http://docs.microsoft.com at https://docs.microsoft.com/en-us/dotnet Enjoy! Sponsor: Test your application against full-sized database copies. SQL Clone allows you to create database copies in seconds using MB of storage. Create clones instantly and test your application as you develop. © 2017 Scott Hanselman. All rights reserved.      [...]



Using Azure CLI 2.0 from Docker

Fri, 12 May 2017 19:00:00 GMT

Aaron Roney saves Scott Hanselman the trouble of installing Azure CLI 2.0 prerequisites by setting him up with a pre-built Docker image. Azure CLI 2.0 is the cross-platform command-line tool for managing Azure resources, which is written in Python, updated every two weeks, and is available as open source on GitHub (Azure/azure-cli).

(image) Aaron Roney saves Scott Hanselman the trouble of installing Azure CLI 2.0 prerequisites by setting him up with a pre-built Docker image. Azure CLI 2.0 is the cross-platform command-line tool for managing Azure resources, which is written in Python, updated every two weeks, and is available as open source on GitHub (Azure/azure-cli). Follow @SHanselman Follow @AzureFriday Follow @twitchax


Media Files:
http://video.ch9.ms/ch9/47be/6dcf4a6c-f75e-4e6c-8087-1bacedc847be/UsingAzureCLI2FromDocker.mp4




Managing dotnet Core 2.0 and dotnet Core 1.x versioned SDKs on the same machine

Fri, 12 May 2017 02:46:31 GMT

Tons of great announcements this week at the BUILD conference. I'll slowly blog my take on some of the cooler features, but for now here's a rollup of the major blog posts for developers: Announcing .NET Core 2.0 Preview 1 Announcing ASP.NET Core 2.0 Preview 1 for .NET Web Developers You can download and get started with .NET Core 2.0 Preview 1 right now, on Windows, Linux and macOS: .NET Core 2.0 Preview 1 Visual Studio 2017 Preview 15.3 for Windows - installs side by side with your existing released version Visual Studio Code If you already have .NET Core on your machine, you'll already be able to type "dotnet --version" at the terminal or command line. Go ahead and try it now. Mine says:C:\Users\scott> dotnet --version2.0.0-preview1-005977Remember on Windows you can check out c:\program files\dotnet\sdk and see all the SDK versions you have installed:Typing dotnet will pick the most recent one...but it's smarter than that. Remember that you can set the current SDK version with a global.json file. Global.json's presence will override from the folder its in, all the way down.If I make a folder on my desktop and put this global.json in it:{ "projects": [ "src", "test" ], "sdk": { "version": "1.0.3" }}It will force my dotnet runner to use the .NET Core SDK version I asked for. That "projects" line isn't needed for the versioning, but it's nice to be able to select what folders have projects inside.C:\Users\scott\Desktop\test> dir Directory of C:\Users\scott\Desktop\test05/11/2017 09:22 PM .05/11/2017 09:22 PM ..05/11/2017 09:23 PM 45 global.json 1 File(s) 45 bytes 2 Dir(s) 85,222,268,928 bytes freeC:\Users\scott\Desktop\test> dotnet --version1.0.3At this point - with a valid global.json - making a new project with dotnet new will make an app with a netcoreapp1.x version. If I move elsewhere and dotnet new I'll get a netcoreapp2.0. In this example, it's the pretense of that global.json that "pins" my SDK version.Alternatively, I could keep the dotnet.exe 2.0 SDK and install 1.x templates. This would mean I could create whatever I want AND pass in the version. First I'll add the 1.x templates into my 2.0 SDK. This just needs to happen once.dotnet new -i Microsoft.DotNet.Common.ProjectTemplates.1.x::1.0.0-*Now, even though I'm "driving" things with a .NET Core 2.0 SDK, I can pass in --framework to control the project that gets created!C:\Users\scott\Desktop\test> dotnet new console -o oneone --framework netcoreapp1.1The template "Console Application" was created successfully.C:\Users\scott\Desktop\test> dotnet new console -o twooh --framework netcoreapp2.0The template "Console Application" was created successfully.I can make libraries that target .NET Standard like this, passing in 2.0 or 1.6, or whatever netstandard I need.C:\Users\scott\Desktop\lib> dotnet new classlib --framework netstandard2.0The template "Class library" was created successfully.There's two options that are not exactly opposites, but they'll give you different levels of control, depending on your needs.You can control your SDK versioning folder by folder with global.json. That means your project's directories are "pinned" and know what SDK they want.When you type dotnet new using a pinned SDK, you'll get the new project results for that pinned SDK. Typing dotnet run will do the right thing.You can pass in --framework for templates that support it and dotnet new will create a template with the right runtime version. Typing dotnet run will do the right thing.This is .NET Core 2.0 Preview 1, but you should be able to install it side by side with your existing apps and have no issues. If you know these few internal details, you should be able to manage multiple apps with multiple versio[...]



Create a SQL Database from Azure CLI 2.0

Thu, 11 May 2017 21:15:00 GMT

Aaron Roney joins Scott Hanselman to show off creating a SQL database in Azure from the command line using Azure CLI 2.0. Azure CLI 2.0 is the cross-platform command-line tool for managing Azure resources, which is written in Python, updated every two weeks, and is available as open source on GitHub (Azure/azure-cli).

(image) Aaron Roney joins Scott Hanselman to show off creating a SQL database in Azure from the command line using Azure CLI 2.0. Azure CLI 2.0 is the cross-platform command-line tool for managing Azure resources, which is written in Python, updated every two weeks, and is available as open source on GitHub (Azure/azure-cli). Follow @SHanselman Follow @AzureFriday Follow @twitchax


Media Files:
http://video.ch9.ms/ch9/7ebc/555aeb8b-25dc-4e52-b6a5-a942dac47ebc/WorkingWithSQLDBFromAzureCLI2.mp4




Build and Deploy Web Apps from Azure CLI 2.0

Wed, 10 May 2017 23:45:00 GMT

Aaron Roney joins Scott Hanselman to show off building and deploying a web app to Azure from the command line using Azure CLI 2.0 and Git. Azure CLI 2.0 is the cross-platform command-line tool for managing Azure resources, which is written in Python, updated every two weeks, and is available as open source on GitHub (Azure/azure-cli).

(image) Aaron Roney joins Scott Hanselman to show off building and deploying a web app to Azure from the command line using Azure CLI 2.0 and Git. Azure CLI 2.0 is the cross-platform command-line tool for managing Azure resources, which is written in Python, updated every two weeks, and is available as open source on GitHub (Azure/azure-cli). Follow @SHanselman Follow @AzureFriday Follow @twitchax


Media Files:
http://video.ch9.ms/ch9/fe40/bec4dd3b-e08f-4062-a393-b8a66905fe40/BuildingWebAppsFromAzureCLI2.mp4




Announcing ASP.NET Core 2.0.0-Preview1 and Updates for .NET Web Developers

Wed, 10 May 2017 19:45:58 +0000

The ASP.NET team is pleased to share the first preview version of the ASP.NET Core 2.0 framework.  In this post, we’ll look at the new features and changes to the web framework that were announced at the Build 2017 keynote and sessions.  We will also look at some other updates that were published for ASP.NET... Read more



Visual Studio 2017 Tools for Azure Functions

Wed, 10 May 2017 19:00:00 +0000

Today we’re pleased to announce the release of the first preview of Visual Studio 2017 Tools for Azure Functions. This preview introduces some exciting changes over our previous release. Beyond bringing support for Visual Studio 2017, this release: Enables creating pre-compiled C# functions that bring better cold start performance than script based functions, and opens... Read more



Announcing ASP.NET 2.0.0-Preview1 and Updates for .NET Web Developers

Wed, 10 May 2017 12:41:01 GMT

The ASP.NET team announces the first preview version of the ASP.NET Core 2.0 framework, plus updates for ASP.NET 4.7 and WCF.


Media Files:
https://media-www-asp.azureedge.net/media/3843482/jeff-fritz.jpg