Project

Publishing to IIS

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.

For more information see Host ASP.NET Core on Windows with IIS document

Contributors


Last updated: March 22, 2019 Edit this page on GitHub
In this document