Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Web Services without ASP.NET/IIS?

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 way to implement Web Services in .NET without ASP.NET/IIS? (I'm using .NET 3.5 / C# 3.0)

like image 625
dcw Avatar asked Sep 28 '09 01:09

dcw


1 Answers

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

like image 126
Daniel Brückner Avatar answered Sep 25 '22 15:09

Daniel Brückner