Advantages of hosting WCF service using windows service :
Disadvantages :
Related Post :
Different-option-of-hosting-wcf-service
Binding-in-wcf-choosing-right-wcf
Exchanging-metadata-in-wcf
Some-interesting-facts-about-data-contract
Knowntype-attribute-in-wcf
Associating-knowntype-in-wcf
Message-contract-in-wcf
Exception-handling-in-wcf
Exception Handling in WCF - SOAP Fault in WCF
Exception Handling in WCF - Unhandled Exception in WCF
Exception Handling in WCF - Creating and Throwing Strongly Typed SOAP Fault
- The windows service can be configured to start automatically when the system starts without having the need for any user to login on the machine.This means that, the wcf service hosted using windows service also start automatically.
- The windows service can be configured to automatically restart and recover when failure occur.
- Supports all bindings and transport protocols.
Disadvantages :
- Involves writing custom code to create a windows service.
- Windows service that hosts the wcf service must be deployed to the production server.
- Difficult to debug the wcf service, as we need to attach the process within which the windows service is running.
Related Post :
Different-option-of-hosting-wcf-service
Binding-in-wcf-choosing-right-wcf
Exchanging-metadata-in-wcf
Some-interesting-facts-about-data-contract
Knowntype-attribute-in-wcf
Associating-knowntype-in-wcf
Message-contract-in-wcf
Exception-handling-in-wcf
Exception Handling in WCF - SOAP Fault in WCF
Exception Handling in WCF - Unhandled Exception in WCF
Exception Handling in WCF - Creating and Throwing Strongly Typed SOAP Fault
No comments:
Post a Comment