我有一个简单的服务,URL被生成为:
http://localhost:1234/TestService/TestService.svc
有什么办法可以做到:
http://localhost:1234/TestService.svc
即从URL中删除项目名称?
ServiceHost.AddServiceEndpoint(...)
<services><service><host><baseAddresses> <services><service><endpoint address=''>
<services><service><host><baseAddresses>
<services><service><endpoint address=''>