|
|
-
|
|
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 D......
|
|
-
|
|
Each time when we want to consume a WCF service, we need to create proxy at client side. To create proxy, service must expose metadata endpoint.
Normally
We create a WCF service
Expose metadata endpoint
Add service reference at client side to create the proxy.
Using the proxy calls the serv......
|
|
-
|
|
Objective
In this article, we will see how to work with LINQ to SharePoint. I have tried to address all the common errors we encounter when first time we start using LINQ against SharePoint.
Assumption
We have a custom list
Name of the list is Test_Product.
Columns of the list is as below ......
|
|
-
|
|
The below exception is very frustrating when we start working with SharePoint object model. Let us investigate how to solve below exception
Above Exception can encounter in two scenarios
Trying to use SharePoint 2010 object model in managed application like console or windows applicatio......
|
|
-
|
|
Objective
In this article we will see,
How to create custom WebPart.
How to use SPGridView on visual WebPart.
How to use LINQ to SharePoint
How to deploy the WebPart in SharePoint site.
Step 1
Open Visual studio 2010 and create new project. From SharePoint 2010 project template s......
|
|
-
|
|
Objective
This article will give code snippet on how to sort a generic list in C#
I have a class called Product
Product.cs
class Product
{
public string ProductName { get; set; }
public int ProductPrice { get; set; }
}
And List of Product as below,
ListprdList = newLis......
|
|
-
|
|
Part #1 of the article can be read here If we have a DataContract Product.cs [DataContract]
publicclassProduct
{
[DataMember(Order = 1)]
publicstringProductNumber;
[DataMember(Order = 2)]
publicstringProductName;
[DataMember(Order = 3)]
publicstringProduct......
|
|
-
|
|
In this article, I am going to show how to enable windows authentication on WCF Data Service. Follow the below steps Step 1 Create WCF Data Service. Read below how to create WCF Data Service and introduction to OData. http://dhananjaykumar.net/2010/06/13/introduction-to-wcf-data-service......
|
|
-
|
|
If you have a Data Contract in your WCF service as below, Student.cs[DataContract]
public class Student
{
[DataMember]
public string Name { get; set; }
[DataMember]
public string Address { get; set; }
[DataMember]
public string Rol......
|
|
-
|
|
Objective: This article will explain, How to upload a file from SilverLight client to server location using WCF. To achieve above task, follow the below steps. I am assuming here, that Reader has a basic concept of 1. WCF 2. Silver Light 3. Cross Domain Issue 4. Hosting of WCF Service Fo......
|
|