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 —
- Application Insights for ASP.NET Core
- Azure DevOps
- Azure Webs Apps for Linux — ASP.NET Core
- Troubleshooting ASP.NET Core Apps on Azure
- Understanding ASP.NET Core WebHost
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.
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
- Glen Condron — APIs and Microservices in ASP.NET Core Today and Tomorrow
- Barry Dorrans — Security in ASP.NET Core 2.1
- Brandon Minnick — Correcting Common Mistakes When Using Async/Await in .NET
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!