WINDOWS .NET Core server deployment steps

VS issued on the project is not to say, directly on the server settings. The study notes recorded for their own use, there is something wrong correct me hope! ! !

 

Server IIS: WINDOWS 2008R2

 

 A, ASP.NET Core application configuration

 web.config configuration ( Official Tutorial )

Key modifications  processPath and  arguments two parameters

processPath modified to dotnet

arguments modify dll is the name of the current project

Configuration example:

Startup enabled IISIntegration components

 

 

 

Second, the server settings (important)

First installed on the server:

 

Operating environment: https://dotnet.microsoft.com/download/dotnet-core/3.0

 

 

Then continue with the installation environment: https: //www.microsoft.com/zh-CN/download/details.aspx id = 53840?

 

 

 All downloaded, then open the IIS to configure

 

 Open IIS application pools, the application pool to create a non-managed code

 

 Create a new IIS web application

 

 This allows the program to run .NET Core. .

 

----------------------------------- server permissions problem encountered resolve -------- -------------------------------

Modify WINDOWS directory TMP directory permissions, add the permissions IIS_USER

Edit site directory, add IIS_USER rights

 

Guess you like

Origin www.cnblogs.com/ugvnui/p/11706724.html