Category: WCF
-
Programmatically finding Binding Elements in WCF Binding
Binding is one of the important aspect of WCF Programming. It deals with, “How Service and client will talk to each other?” Binding is made up of different binding elements. When different binding elements are stacked together they form a Binding. Different binding types are made up of different binding elements. Always a question arises […]
-
WCF RIA Service Adding Query Methods
Learning WCF RIA Service Part#1 can be read here This is the second article of learning WCF RIA series. In this article we will see 1. How to pass parameter in query 2. How to return single object 3. How to return multiple objects. 4. How to call the query method with parameter. In all […]
-
walk through WCF RIA Service
It may be bit late but let us learn WCF RIA together. I will be writing many parts on Learning WCF RIA Services. Part1 In this part just to get a feeling of WCF RIA and see our one application is running on WCF RIA, I am going to walkthrough creating first application through WCF […]
-
WCF Service library: Creating, Hosting and consuming WCF service with WCF Service Library project template
In this article we will walkthrough on creating a WCF Service by choosing WCF Service Library project template. Step 1 Create a WCF Service Library project. Delete all the default codes created by WCF. Step 2 Modify Operation Contract as below, Implement the service as below Step 3 Leave App.config file as it is with […]
-
Default Protocol Mapping in WCF 4.0
In my previous post, I talked about Default End Point in WCF 4 . If we closely look at the output that by default WCF maps protocol to binding as below. So if we are not configuring any EndPoint , then for http type base address in default EndPoint created by WCF will have basicHttpBinding. […]
-
Default End Points in WCF 4.0
For a normal developer like me, had a great challenge working with WCF 3.x was configuration of End Points in config file. Developer had to add endpoints to setup a WCF service. In WCF 4, Defualt End Point is associated with the service, if we don’t configure any WCF endpoint. To see how Default EndPoint […]
-
SharePoint 2010 with Windows 7 Phone
In this article we will retrieve data from SharePoint list and display it Windows 7 phone application. The expected output is as below, Flow Diagram Now we will follow the below steps to perform all above operations. Step 1: Setting up the SharePoint list We have a custom list 1. Name of the list […]