Windows Azure for Developers task 2: Adding Cloud Service project to existing ASP.Net Web Application

Adding Cloud Service project to existing ASP.Net Web Application Imagine we are moving existing Web Application or ASP.Net MVC Web Application to cloud. In that case we need to add cloud service to existing Web Application or ASP.Net MVC Web Application. We have a solution for Web Application is as below, Now right click onContinueContinue reading “Windows Azure for Developers task 2: Adding Cloud Service project to existing ASP.Net Web Application”

Windows Azure for Developers Task 1: Resolving Failed to initialize Windows Azure storage emulator Error

I thought to start learning Windows Azure. I installed Azure SDK and created a project by choosing Windows Azure project template from cloud tab and creating a Web Role. I just put a label on aspx file and when tried running the project I got the below error When I switched to Output Window, IContinueContinue reading “Windows Azure for Developers Task 1: Resolving Failed to initialize Windows Azure storage emulator Error”

Fetching Image from SharePoint 2007 picture library using object model

I thought this is an easy requirement to fetch Image form SharePoint 2007 picture library and bind to a System.Drwaing.Image object. But when I started doing that, I had to give my 3 to 4hrs. So here is the code snippet to fetch images from SharePoint 2007 Picture library. Namespace Required Function to return ImageContinueContinue reading “Fetching Image from SharePoint 2007 picture library using object model”

System.Object : a look on mother of all managed classes

In this article we will walkthrough and understand each function of Object class. System.Object is known as mother class of all the managed classes. All the classes are inherited from System.Object. It is base type for all the managed classes. So it defines the base behavior of all the managed classes. System.Object class contains belowContinueContinue reading “System.Object : a look on mother of all managed classes”

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 theContinueContinue 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 projectContinueContinue 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 moreContinueContinue 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 allContinueContinue 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.ContinueContinue reading “Migrating Data Base from SQL Server 2008 R2 Enterprise to SQL Azure”