相关疑难解决方法(0)

MVC Core-UseIIS和UseIISIntegration有什么区别

查看这些代码,它们具有相同的注释,表明它们执行相同的操作:

/// <summary>
/// Configures the port and base path the server should listen on when 
/// running behind AspNetCoreModule. The app will also be configured 
/// to capture startup errors.
/// </summary>
Run Code Online (Sandbox Code Playgroud)

UseIISMicrosoft.AspNetCore.Server.IIS包中,而UseIISIntegration在中Microsoft.AspNetCore.Server.IISIntegration

两者有什么区别?什么时候需要使用一个与另一个?(或两者皆有?)

更新: github上有一个类似的问题,但是那里没有有用的答案:https : //github.com/aspnet/AspNetCore/issues/6197

model-view-controller core asp.net-core-mvc

9
推荐指数
1
解决办法
1856
查看次数