A. There are many ways to create a WCF service, but the method I'll describe makes it easier to troubleshoot problems and take advantage of the lightweight WCF configuration options offered in Visual Studio 2010.
The simplest way to add a service for your Silverlight application is to add a WCF Service item to the Web application project of your Silverlight solution. When you add a service named TestServiceCB, Visual Studio creates an interface with a sample service definition:
Read more: Visual Studio Magazine