In this post I am going to show two keyword of the C# 3.0 is very helpful when playing with the set of object collection using LINQ feature. Into Into keyword allows creating a temporary variable to store the results of a group, join or select clause into a new variable.
We most the time run into the issue where we need to release a patch which requires a change in one or multiple code behind files and since your site is compiled, you are put into the state that you have to do a deployment instead of releasing those files. But, fortunately you can do that on a… Read More »
In this tip I am going to discuss how you can use Session with in your custom HTTPHandler. By default if you try to read or write anything related with Session, you will get an NullReferenceException. If you want to plug Session with in your HttpHandler you have to implement the marker Interface (Interfaces with no methods are… Read More »
In this Post, I am going to discuss about web.config. Normally in our daily life, we used to have some data in appSettings section of web.config and read it when required. That is in string form. But there are lot more than this. We can update the data in web.config programmatically as well . Now another main point… Read More »
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 »
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 »
In this post I am going to discuss about building dynamic query with the LINQ. LINQ to SQL allow user to query data from the database without writing sql queries by writing LINQ queries. LINQ represent each table as one entity and where LINQ queries allows to manipulate data in type safe. But Static LINQ queries not able… Read More »