ASP.NET Core applications can take advantage of Azure App Service logging with the AzureAppService package and logging provider.
- [Narrator] There is a new logging provider…in 1.1 and that is the Azure App Service Logging provider.…And this takes advantage of Azure Service logging…and diagnostics.…As the name would indicate it's designed…for App Service apps and it only works…in an Azure environment.…To use this you add in,…the Microsoft.Extensions.Logging.AzureAppServices package.…The use Azure app services to the web host builder…and as a side note you don't have to then add…in UseIISIntegration to the web host builder…as that is included in the use Azure App services function,…but according to Microsoft it won't do any damage…if you leave it in there.…
And then to your logger factory,…you add the Azure web app diagnostics provider…and it will then use Azure logging for your application.…What's changed in 2.0 is this provider…is available by default.…I don't have any code to show you with this…'cause I'm not running the app in Azure,…but by now it should be pretty clear…where to plug in these new features…if you're going to host your application in Azure.…
- Running and debugging ASP.NET Core applications
- Pros and cons of migrating existing applications to ASP.NET Core.
- Built-in dependency injection
- Environment awareness and app configuration
- Web host configuration and SSL
- View components invoked as tag helpers
- Configuration and logging
- Using Razor Pages
- Web API improvements
- Support for creating GDPR-compliant applications
Skill Level Intermediate
Use the exercise files3m 37s
1. Get to Know .NET Core
2. ASP.NET Core 1.0
3. ASP.NET Core 1.1
4. ASP.NET Core 2.0
5. ASP.NET Core 2.1
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.