Logging and Using Services in Startup in ASPNET Core Apps

added by DotNetKicks
7/25/2016 9:19:15 PM

2 Kicks, 451 Views

When you set up an ASP.NET Core app, most of the time you begin with the Startup.cs file, which provides essentially three places where you can add code: Naturally, the constructor fires first. Then, ConfigureServices is run, and finally the Configure method. You can learn more about this process in my Application Startup Fundamentals article on docs.asp.net.