How to run a c# created web service on the target computer? RRS feed

  • Question

  • User-2027672401 posted

    I've created a web service intended to supply interested clients with a variety of other tidbits the clients will require in order to achieve a desired result. The web service itself was created from a Visual Studio project template following these basic steps:

    • Create a new ASP.NET empty web application
    • Right click on the newly created application.
    • Choose Add -> New Item -> Web Service (ASMX)

    I then populated the ASMX class with those methods that would provide the functionality required and this works fine. Next, I created a test application and added a web reference to the application. All works well on my development machine. The web application starts, displays a generated web page and the application is able to utilize the service's resources flawlessly. 

    The problem is, what do I need to do in order to move the web service to a real server so that the real clients can access it? The result of the web service project is a dll. How does this get integrated into the target server?

    Tuesday, April 30, 2019 6:17 PM

All replies

  • User-474980206 posted

    follow the directions for deploying/publishing a website. this will depend on the infrastructure supported by the hosting server. ftp, fileshare, web deploy, etc.

    Tuesday, April 30, 2019 7:48 PM