.netWCF

Advantages and Disadvanatages of hosting WCF service in windows service(Part-20)

Advantages of hosting WCF service in windows service:

  • Windows service runs in background and can start Automatically
  • In case of failure,Windows service can be configured to restart automatically
  • Windows service supports all binding and transport protocol
  • The WCF service that the windows service hosts starts automatically or you can manually start or stop the service

Disadvantages of hosting WCF service in windows service:

  • For Windows service, you need to write custom code
  • Windows service that host WCF should be deployed to the environment you are hosting the service
  • Windows service supports all binding and transport protocol
  • You need to attach a separate process where the windows service is running
  • DIfficult to debug due to separate process

© 2015, www.techkatak.com. All rights reserved.