Microsoft Launch news
http://blogs.iis.net/bills/archive/2008/02/27/windows-2008-and-iis7-now-available.aspx
Microsoft Launch news
http://blogs.iis.net/bills/archive/2008/02/27/windows-2008-and-iis7-now-available.aspx
I wil keep on adding good links about WCF
In continuation of previous post regarding WCF, here goes another. In this post I will do step step explanation for hosting service using config file (remember this is the beauty of WCF, we don’t need to recompile to add multiple endpoints).
The assumtion is readers have already implemented the service contract. I will use a dummy class named IService for my explanation

Let me explain each of the element

Each endpoint basically is collection of address, contract and binding. Here in the above case the address is not specified as we have already sepcified in the base address. The contract is Examples.IService and the binding is HTTP.

is the TCP endpoint for the same service. Smilar to the previous one this definess the endpoint as collection of Examples.IService as contract and binding as TCP and address is not mentioned and taken from the base address.
is used by the client to generate the meta information about the Service. This is standard and ideally should be there for each service.I hope the above helps in understanding this beautiful technology.