geeksarray / example-for-hosting-wcf-service-in-windows-service

This article demonstrates the required steps to host your WCF service in Windows Service and consume it in a console application.

Home Page: https://geeksarray.com/blog/example-for-hosting-wcf-service-in-windows-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example for hosting WCF service in Windows service

This article demonstrates the required steps to host your WCF service in Windows Service and consume it in a console application.

Hosting WCF service to Windows service gives you the following benefits.

  1. Service will be automatically started whenever the hosting computer starts. Service can be manually started, stop, or restart.
  2. Service will always be activated and available for clients. No need for runtime activation.
  3. Windows Administrators already know managing Windows services.
  4. Provides an extra layer of security through windows identity.
  5. Gives better performance than service hosted in IIS.
  6. Gives you the flexibility to choose any bindings.

Applications

  1. WCF Service - WCF Service with IProduct Service Contract exposed.

  2. Windows Service hosting WCF Service - Windows service hosting Product WCF Service.

Install Windows Service

For more detailed description visit - https://geeksarray.com/blog/example-for-hosting-wcf-service-in-windows-service

About

This article demonstrates the required steps to host your WCF service in Windows Service and consume it in a console application.

https://geeksarray.com/blog/example-for-hosting-wcf-service-in-windows-service


Languages

Language:C# 100.0%