I am implementing a WCF reference model this week as part of a presentation.
You realise some basics in the process of hosting your new services
ServiceHost host = new ServiceHost(t);
host.Open();
· Principle 2: Service and client proxy contracts should be aligned. Manual is better as it removes the unecessary junk configuration that the add service reference in Visual Studio provides. The auto generated proxy however does simply things provided you continue to refresh the proxy on each and every service change (think rebuild)
Note: If you don’t do this you may have a client unable to find a default endpoint element. Basically there is no service
Tips:
Links:
Windows® Software Development Kit (SDK) for Windows Vista™.
A nice site (also delivering the WCF master class) is here:
Remember to switch on and off diagnostics. The easy way is to add the following configuration line to your application configuration:
<system.serviceModel>
<diagnostics performanceCounters="All" />