Category Archives: Visual Studio

How to remove ViewState from ASP.NET web page and save in Session using SessionPageStatePersister

By | April 28, 2011

By default ViewState is saved inside the web page. In ASP.NET using SessionPageStatePersister ViewState can be saved inside Session instead. This helps in securing the ViewState as well as reducing the size of the web page

Debugging 64 bit application using IntelliTrace – Visual Studio 2010 SP1

By | April 25, 2011

IntelliTrace is a new feature of Visual Studio 2010 Ultimate Edition. By default, IntelliTrace is enabled. During debugging in Visual Studio, IntelliTrace works in the background and collects debugging information automatically and stores them in IntelliTrace Log File (.iTrace file). You can use the log file at any point of time to see what happened exactly in the… Read More »

Fix/Resolution: Unable to install Windows Server AppFabric through Microsoft Web Platform Installer

By | April 24, 2011

This tips talked about resolution of one very common problem that many developer might encounter during Windows server App Fabric Installation. While trying to install Windows Server AppFabric thorough Microsoft Web Platform Installer encountered the installation failed as displayed below .

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 »

Use Conditional Breakpoints with Method Calling in Visual Studio

By | December 30, 2010

Visual Studio Breakpoints allow you to put conditional breakpoint. If and only if that condition is satisfied, the debugger will pause the execution. Along with the normal condition with in conditional breakpoint in visual studio, we can call a methods from the condition field and based on the return value debugger will stop at the breakpoint. Let’s say… Read More »