currently I am running my web service from following path
http://localhost:16022/MachineService.asmx
and usage of some web method like
http://localhost:16022/MachineService.asmx?op=GetData1
I want to do it in following way
to run the web service from following path
http://localhost:16022/
and usage of some web method like
http://localhost:16022?op=GetData1
Is it possible to set it be the default ?
I am using VS2010.
Also possible to do so at the IIS7 itself ?
You can set the
defaultDocumentElement in your web.config file so you won’t have to specifyMachineService.asmxwith each and every call.Instead of manually modifying web.config you can configure the default document in Internet Information Services (IIS) Manager.