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

  • 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.

主站蜘蛛池模板: 都昌县| 石嘴山市| 科尔| 温宿县| 丽水市| 普格县| 平凉市| 健康| 大同市| 丹阳市| 涟源市| 和平县| 鄄城县| 长宁县| 汕尾市| 万山特区| 马关县| 彭山县| 谷城县| 信丰县| 永泰县| 乌海市| 乌兰察布市| 安徽省| 岐山县| 菏泽市| 山西省| 肃宁县| 苍梧县| 朝阳县| SHOW| 得荣县| 杭锦旗| 象州县| 宜川县| 苏尼特左旗| 德庆县| 昌宁县| 南通市| 铜山县| 仪陇县|