書名: Hands-On Full:Stack Web Development with ASP.NET Core作者名: Tamir Dresher Amir Zuker Shay Friedman本章字?jǐn)?shù): 62字更新時間: 2021-06-10 19:37:22
Code execution order
The Startup class is executed only once during an application's lifespan, right after the web server has loaded the ASP.NET Core application.
The following screenshot shows the order of execution of the different methods in the classes involved in ASP.NET Core initialization:

The Startup class is not the place to put any code other than initialization and configuration code.
推薦閱讀
- Aptana Studio Beginner's Guide
- 物聯(lián)網(wǎng)網(wǎng)絡(luò)安全及應(yīng)用
- TCP/IP入門經(jīng)典(第5版)
- 世界互聯(lián)網(wǎng)發(fā)展報告·2019
- 中國互聯(lián)網(wǎng)發(fā)展報告2018
- 網(wǎng)絡(luò)設(shè)計與應(yīng)用(第2版)
- 物聯(lián)網(wǎng)與智能家居
- 6G無線網(wǎng)絡(luò)空口關(guān)鍵技術(shù)
- 工業(yè)互聯(lián)網(wǎng)創(chuàng)新實踐
- 深入理解OpenStack Neutron
- AWS Lambda Quick Start Guide
- 圖神經(jīng)網(wǎng)絡(luò)前沿
- 區(qū)塊鏈社區(qū)運營手冊
- 趣話通信:6G的前世、今生和未來
- 物聯(lián)網(wǎng)傳感器技術(shù)與應(yīng)用