简体   繁体   中英

create a deployment package for Webservice in Visual Studio

I want to deploy my Webservice(*.asmx) on client server. I need to develop deployment package which will install the virtual folders and deploy the service just like clickonce. Could someone give me Visual Studio step by step guide to do it.

Thanks, Kanaya

Most people use Web Setup Projects if the Web Service is simple - any dependencies (eg .NET Framework Installation, IIS, SQL Server, a Database, etc) will need to be installed separately by someone in advance of that Setup being run.

For more sophisticated deployments where you want to ensure certain components are on the target machine (eg IIS) and if not there get them installed as part of the setup process, then you can use Web Deploy.

Here are some different ways you can do it.

  1. Web Setup Project

  2. Web Deploy

  3. MSDeploy

Here are some guides on the above tools:

How to use Web Setup Project:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM