Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.15 KB

Step-by-step-core-publish-to-iis.md

File metadata and controls

24 lines (14 loc) · 1.15 KB

Publishing ASP.NET Zero Core MVC project is no different to any other ASP.NET Core Applications.

Publishing Web Site

  • Right click \*.Web.Mvc project and click Publish.
  • Click Start and select Folder tab and choose the URL that you want to publish.

  • Create a folder on the server where IIS is located. (for example: C:\inetpub\wwwroot\mywebsite).
  • Copy extracted files to server. (from \*.Web.Mvc/bin/Release/netcoreapp2.1/publish/ to C:\inetpub\wwwroot\mywebsite).
  • Change appsettings.production.json configurations with your own settings.

Create IIS Web Site

  • Right click Sites and click Add Website.

  • mywebsite application pool will be created automatically. Click Application Pools, double click mywebsite application pool and change its configuration.

Check Host ASP.NET Core on Windows with IIS document for more detail.