Multiple base addresses for WCF Service

If we do not want to explicitly set address for each EndPoint in our service then we define BASE ADDRESS for the EndPoint exposed for our service And we use it in service configuration as below, The advantage of having base address is that, if we are changing the service URL, we need to change … Continue reading Multiple base addresses for WCF Service

Advertisements

Walkthrough creating REST Service in WCF 4.0

Objective This article will explain step to step explanation of, how to create a REST based service and how to consume that in a managed client. Step 1` Create a new project as WCF Service application type. Step 2 Delete all the default code from IService.cs and Service.svc.cs Now open Web.Config file and delete <system.serviceModel> … Continue reading Walkthrough creating REST Service in WCF 4.0