Ok. This is a *very* basic example. You basically create a ServiceHost object to host your service. Give it an endpoint (mine is just running locally). You also want to define a behavior object so you can enable the Mex, if you so choose. Once you have your service defined, you can run it. Navigate to the endpoint you setup in a browser and you should get the "You have created a service" welcome page. You can copy the line similar to
svcutil.exe
http://localhost:10000/?wsdland then open up the Visual Studio Command Prompt. Paste the line into the command window and execute it. It should generate two files--a class file, which is basically your proxy to the service, and a config file. Add both files to your client project/application. Rename "output.config" to "app.config" or add the contents of "ouput.config" to your "app.config" if it already exists. Once you have done that, you should be able to create a "proxy" object and call the method you defined in your service/interface. See below.