Objective In this post, I will show you how to retrieve data from related entities in WCF Data Service. If you are new to this topic, please read Introduction to WCF Data service and ODATA before going through below article…
Objective In this post, I will show you how to retrieve data from related entities in WCF Data Service. If you are new to this topic, please read Introduction to WCF Data service and ODATA before going through below article…
Objective This article will give a brief explanation on how to handle remote server name could not resolved exception in WCF Data Service If you are new to this topic, please read Introduction to WCF Data service and ODATA before…
Objective URL Routing is new feature in ASP.Net 4.0. This article will give a walkthrough on how to work with URL Routing and an introduction of that. URL Routing ASP.Net 4.0 URL Routing enables mapping between search engines optimized URL…
Projection transforms the query result into the form defined by the developer. There are two projection operators in LINQ Let us say, there is a class And a function returning List<Student> as below, Select operator Below query will return name…
Source Code using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication9 { class Program { static void Main(string[] args) { StudentDemoDataContext context = new StudentDemoDataContext(); #region Reterive //Reteriving all the Records foreach (var r in context.Students) { Console.WriteLine(r.Name +…
Objective In this article, I will explain three basic terms of C# 1. Call Stack 2. Call Site 3. Stack Unwinding Let us say, you got the below code Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication7…
Objective In this article, I will discuss about Checked and unchecked keyword and conversions in C#. Consider the below code Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication7 { class Program { static void Main(string[] args) {…
Objective In this article, I will explain 1. What is WebServiceHost Factory class? 2. What is its function? 3. Where to use it? 4. One sample on hosting WCF REST Service using WebServiceHost. What is WebServiceHost factory? 1. This is…
Objective In this article, we will see how to work with LINQ against IIS. Before applying LINQ against IIS sites and application pool, we need to set up the environment. Follow the bellows steps to do this. Step 1 Down…
This article is part # 2 of custom collection in WCF Objective In this article, I will explain you what is CollectionDataContract Attribute in WCF and why need it? I strongly recommend you to read custom collection in WCF first.…