When we can use HttpContext.Current.Items to stores data in ASP.NET ?

By | April 25, 2011

To answer this question In a single statement, you can use HttpContext.Current.Items for very short term storage. By Short term storage means, this data is valid for a single HTTP Request.  There are many confusion around regarding storing data in HttpContext.Current. Items and storing data in Session variable. In this post I am going to describe what are… Read More »

How to use Application Bar in Windows Phone 7 Application ?

By | April 24, 2011

If you are working with Windows Phone 7, the first thing that you should have noticed is the very own Application bar. Application Bar is present in most of the applications that you use in your Windows Phone 7. This is basically a standard Toolbar with a menu associated with it which allows you to enumerate the commonly… Read More »

How to upload a document in SharePoint 2010 using Client Context Object Model ?

By | April 24, 2011

In order to use ClientContext I need to add reference to two dll’s to my project i.e. Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client .Runtime.dll. In this Post we will talk abou8t 1) how to Get ListItemCollection from SharePoint document list using CAML 2) Upload a document to SharePoint Document list . Get ListItemCollection from SharePoint Document list using CAML: CodeProject. I… Read More »

How to Debug XAML Data Bindings in Silverlight 5 Beta ?

By | April 24, 2011

Recently launched Silverlight 5 beta having nice features of XAML binding debugging. To Start with this, as a  prerequisites makes sure  you have  latest version Silverlight Toolkit SDK with  Visual Studio 2010 SP1 installed. Once you are done with the setup, first create a simple Silverlight 5 Application with which has some XAL Data Binding. Now you can… Read More »

How to setup automatic Word Wrap in the Visual Studio Editor ?

By | April 23, 2011

In Visual Studio Code editor you can set the  Word wrap option which will automatically adjust long line of code in multiple lines based on the editor view area. This simple settings can be done from Visual Studio Tools > Options area. When this option is selected, based on the current editor width, if the portion of a… Read More »

How to Wrapping Code Block and Statements in Visual Studio ?

By | April 23, 2011

In this tips I am going to describe how you can automatically wrap up code blocks or code statement in Visual Studio. We can use Document formatting to format the whole contents, but that doesn’t wrap single line code block like Properties or not even single line multiple declaration statement.  Let’s consider an example, you are creating a… Read More »