How to Add Startup.cs in ASP.NET Core 6 Project

added by DotNetKicks
5/30/2022 6:23:22 AM

249 Views

With ASP.NET Core 6.0 projects, you will not find Startup.cs file. By default, this file is removed and Program.cs is the new place where you need to register your dependencies and Middleware. But if you are a fan of Startup.cs or upgrading your project to ASP.NET Core 6.0, you might want back the Startup.cs file.


0 comments