Authentication on WCF Data Service or OData: Windows Authentication Part#1

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-and-odata/ While creating data model to be exposed as WCF Data Service, we need to take […]

Sorting a Generic List in C#

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,  List<Product> prdList […]