- Mastering ASP.NET Web API
- Mithun Pattankar Malendra Hurbuns
- 185字
- 2021-07-02 20:52:32
Choosing the application type
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 pages): This creates an ASP.NET Core web app using the Razor pages.
- Angular, React.js, and React.js with Redux: This creates JavaScript-framework-based ASP.NET Core web applications.

ASP.NET Core Project Templates
It's not mandatory to follow the template project structure provided by ASP.NET Core. When working on large projects, it's best practice to split them into separate projects for maintainability. The default project structure is good enough to understand the interaction between various components.
推薦閱讀
- Google Flutter Mobile Development Quick Start Guide
- Git Version Control Cookbook
- Neo4j Essentials
- PLC編程及應(yīng)用實(shí)戰(zhàn)
- Java設(shè)計(jì)模式及實(shí)踐
- Modern JavaScript Applications
- Python機(jī)器學(xué)習(xí)算法與應(yīng)用
- C語言程序設(shè)計(jì)實(shí)訓(xùn)教程與水平考試指導(dǎo)
- 一步一步學(xué)Spring Boot:微服務(wù)項(xiàng)目實(shí)戰(zhàn)(第2版)
- Getting Started with Windows Server Security
- 情境微課開發(fā)(第2版)
- Java EE應(yīng)用開發(fā)及實(shí)訓(xùn)
- 區(qū)塊鏈原理、架構(gòu)與應(yīng)用(第2版)
- Java語言程序設(shè)計(jì)與實(shí)現(xiàn)(微課版)
- Unity3D游戲開發(fā)標(biāo)準(zhǔn)教程