Step 5: Publish the service

Build the entire application, right-click on the solution, and select the publish operation. This will copy all necessary files to your IIS web server and make your application available at an URL, depending on where you deploy it on your IIS web server.

In our tutorial, the service will be located at the root of the server. In other words, it will be available at http://localhost/BarCodeService.asmx and the WSDL at URL http://localhost/BarCodeService.asmx?WSDL

Figure: Publish Web dialog


Publish Web dialog screen shot