ASP.NET Core on Azure from Sydney

Shayne Boyer
Microsoft Azure
Published in
2 min readOct 25, 2018
Watch the video here: https://youtu.be/YNZoCR695eU

I had a great opportunity to deliver this talk at NDC Sydney as well as be a part of the instructor group for the 2 Day ASP.NET Core Workshop which also included Barry Dorrans, Jon Galloway, and Glenn Condron.

The presentation covers quite a bit at a high level —

Despite the delay in travel, I was able to catch a quick rest in preparation for the talk…

Publishing your application to Azure

There are a number of ways to accomplish this task. Using Visual Studio we can “Right Click Publish” as an easy way to get your application to the cloud and see the options. This is the fastest route to success and has a “grow up plan” to continuous delivery using Azure DevOps, Git Deploy or even FTP if that’s what makes you happy.

Containers using Azure Web Apps for Linux; create a container and push to Docker Hub or Azure Container Registry then set the name of the image in your App Service and away you go. Even setup webhooks to auto-update your app when a new version of the container is pushed.

Troubleshooting and Testing your app

When things go wrong in a published app is typically where 90% of frustrations sets in, and how to troubleshoot an ASP.NET Core app in Azure has to be a top question I get asked. Application Insights for ASP.NET Core gives detailed logs down to the line of code, graphs for performance metrics, slowest request and more.

Generating web test files using Telerik’s Fiddler. Anthony Chu has a great blog post on this on how to do so. Create ping tests, multiple runs and simulate user load with these files.

More…

It was a great conference as all NDC events are. The prep paid off for my talk, thank you for attending if you were there.

Other notable talks from my colleagues

If there was something you’d like to see more of using ASP.NET Core in any of these scenarios; comment or tweet me @spboyer!

--

--

Shayne Boyer
Microsoft Azure

Hi, I’m Shayne Boyer, work as a developer advocate for Azure, .NET Core and Open Source, speak at national & community events and help everyone build the web.