ASP.NET Core IIS release

ASP.NET Core applications published to IIS 

Tutorial official website address: https://docs.microsoft.com/zh-cn/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-2.2&tabs=visual-studio

1, the installation .net core bundle hosting

Install .NET Core bundle hosted on the IIS server. When the bundle may be installed .NET Core run, .NET Core libraries and ASP.NET Core module. This module allows ASP.NET Core applications running behind IIS. Download the official website: https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-2.2.8-windows-hosting-bundle-installer

After a successful installation there is AspNetCoreModule module in IIS Manager module

2, add a site

Create a site:

Set application pool .NET CLR version is no managed code

3, vs2017 publishing site

Select the corresponding folder path, publishing site, you can visit the website

4, Frequently Asked Questions

Visit the website error: HTTP Error 500.19 - Internal Server Error

Solution: "" Edit Permissions "" security add IIS_IUSRS group, you can visit the website at website

End!

Guess you like

Origin www.cnblogs.com/gygg/p/12052666.html