官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 东莞市| 历史| 大余县| 湘乡市| 扶绥县| 安康市| 万山特区| 夏河县| 宝山区| 陆丰市| 太谷县| 隆德县| 乐昌市| 永靖县| 建湖县| 汤原县| 荆门市| 托克托县| 钟祥市| 祁阳县| 荃湾区| 辽阳市| 金溪县| 团风县| 环江| 阿尔山市| 奉化市| 长葛市| 通山县| 宁海县| 吐鲁番市| 焦作市| 大同县| 容城县| 塔城市| 昭通市| 武穴市| 宽城| 康定县| 永丰县| 志丹县|