- 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.
推薦閱讀
- 少兒人工智能趣味入門:Scratch 3.0動畫與游戲編程
- Mastering JavaScript Functional Programming
- Progressive Web Apps with React
- Neo4j Essentials
- Java性能權威指南(第2版)
- PHP 7+MySQL 8動態網站開發從入門到精通(視頻教學版)
- Kotlin編程實戰:創建優雅、富于表現力和高性能的JVM與Android應用程序
- 軟件測試綜合技術
- Django 3.0應用開發詳解
- Drupal 8 Development:Beginner's Guide(Second Edition)
- SQL Server 2014 Development Essentials
- 編譯原理學習與實踐指導
- Python High Performance(Second Edition)
- Mastering Assembly Programming
- Head First Go語言程序設計