ASP.NET Core provides us different application templates to start developing applications. These templates give us an optimal project structure to keep everything organized. We have the following types:
- Empty: This is simplest form of a project template containing only Program.cs and the Startup.cs class. Due to the complete modular nature of ASP.NET Core, we can upgrade this empty project to any type of web application.
- Web API: This creates the Web API project with controllers, web.config, and so on. Our focus will be on this application template.
- Web Application: This creates an ASP.NET Core MVC type of project with Controllers, Views, client configurations, Startup.cs, and web.config.
- Web Application (Razor ...