0
1. Create an asp.net web application.
2. Add new item to the web app and choose wcf service.
-- You will have 2 files .svc and .svc.cs
3. Right-click the .svc file and click View Markup from the menu.
-- You will see something like this:
<%@ ServiceHost Language="C#" Debug="true" Service="Test.Web.Service" CodeBehind="Service.svc.cs" %>
4. Replace "Test.Web.Service" with the namespace from your wcf library.
5. Replace "Service.svc.cs" with the .cs file from your wcf library.
6. You can now delete the Service.svc.cs file from your web app.
That's it.
Hope that helps.
0
In your client project in which you want to consume the WCF service, right click and select Add Service Reference and it will ask you to browse the svc file. Your service must be running at that time.