I am trying to host the service in IIS but I get Page Not found error. Here is what I did to host in IIS
- Created a WCF Service application (BillingService)
- I have two classes called IBillSrv.cs (as Base) and BillSrvc.cs
- Added a new WCFService website (BillSrvcSite) to the solution and added a reference to the above mentioned (BillingService).
- In IIS created a new Virtual site and mapped it to BillSrvSite
- Opened the Web.Config and changed the endpoint contract to IBillSrv
When I run it works fine in the WCF test client. but when i paste the below url in IE I get page not found. http://localhost/BillingService/BillSrvc/
I am using C# 2008 Can someone please advise what is missing or where I am going wrong?