Publishing and deploying Web APIs to IIS

Publishing the Web API means producing a compiled app that can be hosted by a server. Deploying the Web API means moving the published app to a hosting system.

  • If you use the Folder method in SnapDevelop, you will publish the Web API to a folder first and then move the folder's content to the IIS site folder on the IIS server.

  • If you use the Web Deploy method in SnapDevelop, you can directly publish and deploy the Web API to the IIS site folder on the IIS server (the Physical path to the site in IIS Manager).

After that, the IIS process manager will automatically launch the Web APIs when requests are made to access the Web APIs.

Although you don't need to start the Web APIs manually, you can verify the Web APIs by following the instructions in the section: Verifying the Web APIs.