如何使用IIS7在Windows服务器上托管ASP.NET核心Web应用程序
问题描述:
我使用asp.net核心创建和应用程序。我试图在IIS 7上托管此应用程序,但获得aspnetcore模块问题。任何人都知道如何在iis7上托管asp.net 6应用程序。
我尝试过:
我尝试安装了核心模块,但它说它与iis 7不兼容。需要iis7.5或更高版本。
I have created and application using asp.net core. I am trying to host this application on IIS 7 but getting aspnetcore module issue. Anyone have any idea on how to host asp.net 6 application on iis7.
What I have tried:
I tried to installaspnet core module but it says its not compatible with iis 7. Needs iis7.5 or above.
答
您的错误消息说安装IIS 7.5。
更多链接:
注意,此链接指出IIS 7.5的要求
使用Web Deploy发布到IIS Visual Studio& mdash; ASP.NET文档 [ ^ ]
发布到IIS& mdash; ASP.NET文档 [ ^ ]
在IIS上运行ASP.NET 5网站StrathWeb。一个自由流动的网络技术独白。 [ ^ ]
Your error message says install IIS 7.5.
More links here:
Note, this link states the requirement of IIS 7.5+
Publishing to IIS with Web Deploy using Visual Studio — ASP.NET documentation[^]
Publishing to IIS — ASP.NET documentation[^]
Running ASP.NET 5 website on IIS | StrathWeb. A free flowing web tech monologue.[^]