Reputation: 13610
I have locally made a simple helloworld web service (.asmx) that I want to test.
I have an enviroment where I already have it uploaded to the Team Foundation server, in NAME\CustomerApplications\TestService\TestService\service.asmx
(the whole project is located in that structure).
The TF server and the IIS server are on the same machine.
Now, how do I deploy service.asmx file so I locally can get a path to the service like this: http://serverip/../service.asmx
?
Upvotes: 3
Views: 873
Reputation: 45771
The "simplest" way to get an asp.net website/service working (manually) in IIS is to do the following:
c:\inetpub\wwwroot
(assuming that you have your web root pointing there).service.asmx
, .config
files and the bin
folder into the folder (assuming that you've compiled it at least once so that the bin
folder contains dependencies and the compiled product of your service, i.e. the service.asmx.cs
file)You should now be able to navigate to http://serverip/FolderNameCreatedInStep1/service.asmx
.
Upvotes: 3