- Hands-On Full:Stack Web Development with ASP.NET Core
- Tamir Dresher Amir Zuker Shay Friedman
- 94字
- 2021-06-10 19:37:22
The Startup class
The Startup class is initialized and executed right after the web application starts. It is located under the project root folder in the Startup.cs file. This is where the application services and request pipeline components can be configured.
The Startup class contains two methods:
- ConfigureServices: This is where services will be added to the project. For example, this is where logging or authentication services are added.
- Configure: This is where services and request pipeline components are configured. For example, the settings for the authentication and logging services will be set here.
推薦閱讀
- 物聯網安全:理論、實踐與創新
- 工業控制網絡安全技術與實踐
- 5G承載網網絡規劃與組網設計
- Learning Karaf Cellar
- 城市治理一網統管
- 網絡設計與應用(第2版)
- 網管第一課:網絡操作系統與配置管理
- Learning Storm
- 5G技術核心與增強:從R15到R17
- Guide to NoSQL with Azure Cosmos DB
- 物聯網與智慧農業
- 信息技術安全評估準則:源流、方法與實踐
- Python API Development Fundamentals
- React Design Patterns and Best Practices(Second Edition)
- Architecting Data:Intensive Applications