I have created asmx web service in PC1. Now I have coped this project to some other PC2. I have installed only IIS Express and .NET Framework.
I want to run web service in PC2 using IIS Express. Is it possible or not? Thanks!!
I have created asmx web service in PC1. Now I have coped this project to some other PC2. I have installed only IIS Express and .NET Framework.
I want to run web service in PC2 using IIS Express. Is it possible or not? Thanks!!
Under the IIS Express folder in the C:\Program (x86) folder there's the appcmd.exe. First you need to add a virtual directory with the follwoing command:
appcmd add vdir /app.name:<site_name>/ /path:/<virtual_directory> /physicalPath:<physical_location>
If there is no site you can add one by yourself:
appcmd add site /name:SITENAME /id:2 /physicalPath:C:\PHYSICAL_PATH /bindings:http/*:8080
If you want to install the Service on the Default Web Site (if there is one) you can use the following:
vdir /app.name:"Default Web Site"/ /path:/service /physicalPath:C:\PHYSICAL_PATH
Yes possible.
Steps for check: