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

Enabling JavaScript IntelliSense on Visual Web Part in SharePoint 2010

Open Visual Studio 2010 and create a Visual Web Part project as selecting from SharePoint 2010 tab Now provide name of the site where you want to deploy the web part Click on Validate button to validate the site. If you are able to connect and get below message then we are we are good … Continue reading Enabling JavaScript IntelliSense on Visual Web Part in SharePoint 2010

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