Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET

Configure application startup in ASP.NET Core 6

Category: Microsoft.NET
Comments (0)

If you are tracking the progress of ASP.NET Core 6, you are probably aware of the new features being introduced. One of the new and interesting features of ASP.NET Core 6 is the new way of configuring web application startup in just a few lines of code. Currently this new way of application startup has been introduced in empty project templates but you can easily use it in any other project template (say, ASP.NET Core MVC or Razor Pages). To that end this article shows you how standard ASP.NET Core MVC project template generated code can be modified to use the new way of application startup.


Sponsored Links

Read Next: Minimal APIs in ASP.NET Core 6