Internal of Deferred or Lazy Execution in LINQ

I have already posted about Deferred Execution here In this post we will see how internally Deferred or lazy execution is implemented. Deferred Execution executes the query only when Loop starts. What I mean here is that, we iterate through the query variable to get the result. Here the result variable does not contain the … Continue reading Internal of Deferred or Lazy Execution in LINQ

Fetching lists from SharePoint 2010 site using client object model

Creating the UI 1. Add a label 2. Add a textbox. Give any meaningful name I am leaving default name here. 3. A button. On click event of the button list names will be fetched. 4. A listbox control to bind the lists from SharePoint site. Setting up the environment Right click on the project … Continue reading Fetching lists from SharePoint 2010 site using client object model

Content Editor Web Part in SharePoint 2010

Target Audience : Begineers This articles is targeted to beginners of SharePoint 2010. In this article we will walkthrough 1. Adding a Web part Page 2. Content Editor Web Part on the page. Follow the steps as below, Step1 Open SharePoint site and click on Site Action . From Site Action drop down select more … Continue reading Content Editor Web Part in SharePoint 2010

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 … Continue reading WCF RIA Service Adding Query Methods

Migrating Data Base from SQL Server 2008 R2 Enterprise to SQL Azure

In this walkthrough we will migrate an existing Database from SQL Server 2008 R2 to SQL Azure. Creating Database The first step is to create database. We are going to use School database. Script of sample School Database copy from here Generate Database Script for SQL Azure Right click on School Database and select Tasks. … Continue reading Migrating Data Base from SQL Server 2008 R2 Enterprise to SQL Azure

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 … Continue reading walk through WCF RIA Service

Read-Only Data in LINQ

By default CRUD operation can be performed on the retrieved data from LINQ query. We can modify the data fetched through LINQ query. IF we do not want to modify the data then we can increase the performance by making the data as READ ONLY.   If we set ObjectTrackingEnabled as false for DataContext then … Continue reading Read-Only Data in LINQ