Tag Archives: How To

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 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 »

How to hide Intellisense window in Visual Studio while coding or debugging to view the code?

By | January 7, 2011

Here is one quick tips to hide Visual Studio Intellisense window to view the covered source code by the particular Intellisense popup. When we are working in Visual Studio and the IntelliSense window comes up, but we may want to view the code that is covered by the window.  Here you go,  Press the Ctrl key. Intellisense window… Read More »

How to count number of active session for State Server Session Mode ?

By | December 28, 2010

While dealing with ASP.NET Session, generaly we use Session_Start() method in Global.aspx for count the number of active session, as whenever a new session start, it invoked the Session_Start method. Generally most of the developer use an Application variable with in Session_Start method to count the total number of active session as shown in below. But, sometime, when… Read More »

How to calculate Session data size for SQL Server session mode?

By | December 27, 2010

SQL Server use ASPState database to store the session information for SQL Server Session mode. ASPState database having two tables ASPStateTempApplications and ASPStateTempSessions. ASPStateTempApplications  table contains Application ID and Application Name which is specific to each and every application which are using SQL Server session mode on the particular database. ASPStateTempSessions table having numbers of fields to store… Read More »