- 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.
推薦閱讀
- iOS Game Programming Cookbook
- Manga Studio Ex 5 Cookbook
- Cocos2d-x游戲開發(fā):手把手教你Lua語言的編程方法
- .NET 4.0面向?qū)ο缶幊搪劊夯A(chǔ)篇
- 深入淺出Android Jetpack
- Java加密與解密的藝術(shù)
- Learning Docker Networking
- C語言程序設(shè)計習(xí)題與實驗指導(dǎo)
- Deep Learning with R Cookbook
- Robot Framework Test Automation
- Maven for Eclipse
- Python硬件編程實戰(zhàn)
- CryENGINE Game Programming with C++,C#,and Lua
- 大話程序員:從入門到優(yōu)秀全攻略
- R語言與網(wǎng)站分析