Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

There are diifernt types(iis,self/was) of hosting are which will be preffered in real time and send snippets or sample code for me and scenario any will be appreciable especially education domain
Posted
Updated 26-Jul-13 21:36pm
v2

1 solution

To be able to determine which host is the most applicable host for your scenario, you should refer to your nonfunctional requirements. Typically, nonfunctional requirements state technical requirements for your application to ensure they meet the quality and maintainability of your application. For WCF applications, this comes down to the following topics:

Availability: When do you want to be able to reach your service?

Reliability: What happens when your service somehow breaks? How does this affect other consumers?

Manageability: Do you need easy access to information about what is happening on the host where WCF services live?

Versioning: Do you need to support older versions of the service? Do you know who is consuming your services?

Deployment: What is your deployment model? Are you installing through the Microsoft Installer process and Visual Studio deployment packages, or is xcopy sufficient?

State: Are your services stateless? Do you need sessions?
Based on these nonfunctional requirements, you can decide which host meets your needs.

Follow below link for more detail
Hosting and Consuming WCF Services[^]

On below links you can find sample code for hosting wcf service

A Beginner's Tutorial on How to Host a WCF Service (IIS Hosting and Self Hosting)[^]
WCF (Windows Communication Foundation) Example[^]
A Simple Sample: WCF Service[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900