IIS inprocess

新的In Process模型的明显原因是它更快,使用的资源更少,因为它直接在IIS应用程序池的过程中运行。没有内部HTTP流量和开销,请求将立即处理。

<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AspnetCoreHostingModel>inprocess</AspnetCoreHostingModel>
</PropertyGroup>

</Project>

文章参考来源:https://weblog.west-wind.com/posts/2019/Mar/16/ASPNET-Core-Hosting-on-IIS-with-ASPNET-Core-22#check-the-response-server-header

原文地址:https://www.cnblogs.com/robertyao/p/13637999.html