简体   繁体   中英

how to host wcf web service on iis wihtout using Visual studio

I am not very much clear about web services. I have created a web service and hosted it on IIS using publish option in visual studio. Is there any way by which I can host my application on IIS (without using visual studio) only from IIS manager.

You do not need to use the publish function from within Visual Studio to deploy the service. Roughly what you need to do is:

1) Create the website in IIS Manager where you wish to host the service. Make sure your application pool is running the correct version of the .Net framework.

2) Copy your binaries to /bin relative to the root of your website.

3) Copy your web.config, .asmx, .svc and other needed files to your website root.

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