.NET Web Services without ASP.NET/IIS?

后端 未结 5 991
小蘑菇
小蘑菇 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:03

    As long as you're using a verson of .Net that supports it, you should be looking at the Windows Communication Foundation (WCF). You'll need SOME process to host these services, so if you don't use IIS, you may end up writing your own EXE to host the service, but that's where you should start.

    http://msdn.microsoft.com/en-us/library/ms731082.aspx

    http://msdn.microsoft.com/en-us/netframework/aa663309.aspx

提交回复
热议问题