Monthly Archives: August 2010

Expand and Load: Fetching related entities in WCF Data Service

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

Posted in WCF Data Service

WebException or Remote server name could not be resolved in WCF Data Service

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

Tagged with:
Posted in WCF Data Service

Step by Step walk Through on URL routing in ASP.Net 4.0

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

Tagged with:
Posted in Miscellaneous

Select and SelectMany: LINQ projection operator

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

Tagged with: , ,
Posted in LINQ

Learning Video on LINQ to SQL Class

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 +

Posted in LINQ, Video

Basic of C#: Call Stack, Call Site and Stack unwinding

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

Posted in Miscellaneous

Basics of C#: Checked and Unchecked Conversions

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) {

Posted in Miscellaneous

WebServiceHost : Hosting a WCF REST Service

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

Posted in REST Services

LINQ with IIS sites and web Applications

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

Posted in LINQ

CollectionDataContract Attribute in WCF

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.

Posted in WCF

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Categories
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my current or previous employer's view in anyway. © Copyright 2013
Follow

Get every new post delivered to your Inbox.

Join 2,132 other followers