.NET Web Services without ASP.NET/IIS?

后端 未结 5 982
小蘑菇
小蘑菇 2021-02-04 09:24

I\'m implementing a server component that needs to expose a web-service interface, but there is no application need for it to run with ASP.NET on IIS. Is there a straightforward

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-04 10:14

    You can use the ServiceHost class to host a service. The WCF tutorial contains sample code.

提交回复
热议问题