Writing a Windows service to WCF

I want to write a windows service in wcf. After searching a lot, I found only tutorials on writing a web service in wcf, and not in a Windows service.

Can I provide a link to any tutorial that explains how to write a Windows service in WCF

+3
source share
4 answers

Windows services are executable. WCF applications are typically web services that are displayed through a URI. You can host a WCF application in a Windows service, and not vice versa.

+5
source

Windows #, . Windows WCF , System.ServiceModel.ServiceHost, WCF OnStart() .

+4

. ... WCF (dll), (IIS, Windows).
, , Windows, (WCF) ( Windows)

: , WCF, Windows, , , .

+4
source

Create your WCF service as usual, create a Windows service, and then use it ServiceHostto install the WCF service on your Windows service yourself. See this MSDN page for more information on self-service WCF services.

+2
source

Source: https://habr.com/ru/post/1722984/


All Articles