Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I have a multi-layered C# project (.Net 4.5 framework): UI, BLL, DAL and Webservice. I need to deploy this project on a test PC but not able to know how. Test PC has SQL server and IIS installed, but I couldn't know how to deploy the exe and make the Webservice work on the PC using the local IIS. I tried to publish the application using visual studio (2013) and then install it on the PC but that method failed. What should I do? How to deploy Webservice to local IIS so generated Service Reference work there?
Note that the other PC is not on the same network of mine.
I hope You can help me in a step-by-step solution.
Posted
Updated 13-Jul-15 17:07pm
v2
Comments
jgakenhe 13-Jul-15 22:49pm    
You'll need to make a share on that PC so you can copy the compiled project there. That PC will also have to be on the same network as yours.
saleem_deek 13-Jul-15 23:00pm    
What if it's on a different network? I need it to work on a pc for someone on a different network. See it's a freelance project and the current tester is not on my netwrok :s
jgakenhe 14-Jul-15 0:11am    
It just has to be all on the same network, I should had probably read the question closer.

Typically, when I do deployments, I deploy to the Local File System and then copy it to the server which I wish to deploy to. In your case, you'll need to deploy the web pages(web) and web service (app).

Once you do that, copy those to the your Test PC and then set up virtual directories in IIS for both. While in IIS click Browse and you should be able to see if it is running or not.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900