![]() ![]() Requests arrive from the web to the kernel-mode HTTP.sys driver. ![]() The following diagram illustrates the relationship between IIS, the ASP.NET Core Module, and an app hosted out-of-process: This is essentially the same behavior as seen with apps that run in-process that are managed by the Windows Process Activation Service (WAS). The module starts the process for the ASP.NET Core app when the first request arrives and restarts the app if it shuts down or crashes. Out-of-process hosting modelīecause ASP.NET Core apps run in a process separate from the IIS worker process, the ASP.NET Core Module handles process management. NET Core app in-process delivers significantly higher request throughput compared to hosting the app out-of-process and proxying requests to Kestrel.Īpps published as a single file executable can't be loaded by the in-process hosting model. Performance tests indicate that hosting a. The ASP.NET Core web templates use the in-process hosting model.ĬreateDefaultBuilder adds an IServer instance by calling the UseIIS method to boot the CoreCLR and host the app inside of the IIS worker process ( w3wp.exe or iisexpress.exe). In-process hosting is opt-in for existing apps. IIS sends the response to the client that initiated the request.The app's response is passed back to IIS through IIS HTTP Server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |