Blog Home  Home Feed your aggregator (RSS 2.0)  
Kiruthik .com - Net
eCCentric Vagabond
 
List throttling in sharepoint 2010 on   Tuesday, September 14, 2010

List throttling

List throttling is one of the new options in SharePoint 2010 that enable to set limits on how severely users can put the beat down on your servers. In a nutshell, what it does is allow you to set a limit for how many rows of data can be retrieved for a list or library at any one time. The most basic example of this would be if you had a list with thousands of items, and someone created a view that would return all of the items in the list in a single page. List throttling ensures that such a request would not be allowed to execute. The hit on the server is alleviated, and the user gets a nice little message that says sorry, we can’t retrieve all of the data you requested because it exceeds the throttle limit for this list.

These kinds of operations that can trigger hitting this limit though aren’t limited to viewing data – that’s just the easiest example to demonstrate. There are other actions that can impact a large number of rows whose execution would fall into the list throttle limits. For example, suppose you had a list with 6000 items and a throttle limit of 5000. You create a view that only displays 50 items at a time, but it does a sort on a non-indexed column. Behind the scenes, this means that we need to sort all 6000 items and then fetch the first 50. If you are going to delete a web with large flat lists you potentially have the same problem. We need to select all of the items for all of the lists as part of the site deletion, so we could again hit the throttling limit. These are just a few examples but you can start to imagine some of the others.

For code and samples check MSDN.
Tuesday, September 14, 2010 5:54:50 PM UTC  #    Comments [1]   .Net | Sharepoint | Sharepoint 2010  | 

Inheritable String Property

 

InheritableStringProperty  is a class available in Sharepoint 2007 Publishing Web. It extends from InheritableProperty<T> - but I think we need InheritableProperty in C#

using (SPSite site1 = new SPSite("http://home.kir:2306/"))
{
   PublishingWeb currentPublishingWeb = PublishingWeb.GetPublishingWeb(site.RootWeb);
   if (currentPublishingWeb != null)
   {
      InheritableStringProperty customMasterUrlProperty = currentPublishingWeb.CustomMasterUrl;
      customMasterUrlProperty.SetValue("/_catalogs/masterpage/new.master", true);   

   }
}

 

 

Monday, August 10, 2009 6:34:47 PM UTC  #    Comments [0]   .Net | C# | Sharepoint | Sharepoint - MOSS 2007 | Sharepoint 2010  | 
Application Pages Vs Site Pages on   Thursday, March 19, 2009

Application Pages Vs Site Pages

Remember the difference between them in SharePoint (MOSS 2007)

 

Yesterday, somebody asked me the difference between the application page and site page in Sharepoint. Having developed five custom site and application pages in Sharepoint, I couldn't explain what exactly it is. I really got confused over time, as usual my brain was blank.

In a second after opening a SharePoint VS solution file, I got it. Just remember as the name indicates, Application pages can be used across SharePoint Web Applications and the Site pages are used across the Site(s). When you remember this, then you wont get confused. If its across applications then its the only _layout folder which is helping us. Wherein the site pages are the ones what we want to be specific for a site or to its contents and OOB example are AllItems.aspx, default.aspx etc.

Yes, I agree that working in a dozen of pages will also help you to remember, but in the beginning, even after a year,  lot of things in SharePoint is confusing and time consuming. Main reason behind this is our lack of basic understanding and poor memory. I strongly recommend every SharePoint developer to read the Inside Microsoft Windows SharePoint Services 3.0 and a SharePoint administrator to read Microsoft SharePoint Services Administrator's Pocket Consultant.

Thursday, March 19, 2009 9:13:47 PM UTC  #    Comments [2]   .Net | Sharepoint - MOSS 2007  | 
Free ASP.NET MVC eBook on   Wednesday, March 11, 2009

Free ASP.NET MVC eBook

Source : Hanselman & ScottGu

 

Wednesday, March 11, 2009 11:20:07 PM UTC  #    Comments [0]   .Net | ASP.Net  | 
CSS Reference for SharePoint 2007 on   Monday, February 09, 2009

CSS Reference for SharePoint 2007

 

Most of the time we endup changing the CSS styles of an existing Sharepoint Page objects like Top Horizontal Navigation, Search, Site Actions etc.
The CSS for the same can be found IE Developer Toolbar, but we miss the list of those or atleast the frequently used ones. Heather Solomon haves it here.

Monday, February 09, 2009 3:27:13 PM UTC  #    Comments [0]   .Net | Sharepoint - MOSS 2007  | 
ASP.Net MVC RC1 on   Friday, January 30, 2009

ASP.Net MVC RC1

Few days back, ScottGu announced the shipment of ASP.Net MVC 's RC1. Check his blog post for more details.

And had couple of issues in installing it. One being uninstalling the ASP.Net MVC Beta. It didnt get removed immediately and stayed there for nearly an hour.

Uninstalling ASP.Net MVC Beta

And the other was installing the new ASP.Net MVC RC1. The setup didnt respond for couple of times, so I installed it after few reboots. I also had some problem in the Virtual Server 2005 R2 & its KB948515. So after solving this with a re-boot, I brought ASP.Net MVC RC1 into my machine.

Friday, January 30, 2009 3:07:04 PM UTC  #    Comments [0]   .Net | ASP.Net  | 
Sharepoint Support Expired on   Sunday, January 25, 2009

Sharepoint Support Expired

WSS 3.0 and MOSS 2007 without SP1 support expired on 13th Jan 2009. I thought its getting expired on 31th Jan.

[Source

The service packs for both WSS 3.0 & MOSS 2007 are available and now the cummulative upate is here.

Sunday, January 25, 2009 9:45:37 AM UTC  #    Comments [0]   .Net | Sharepoint - MOSS 2007  | 
Free SQL Server 2008 Hosting on   Wednesday, April 02, 2008

Free SQL Server 2008 Hosting

 

Again, MaximumASP has comeup with free SQL Server 2008 hosting like Free IIS 7 hosting account. This SQL Server 2008 account comes with 100 MB Space. Worth to try!!

http://www.sqlserverbeta.com/

Wednesday, April 02, 2008 4:09:21 PM UTC  #    Comments [0]   .Net | software | Technology  | 
Silverlight inside NOKIA on   Sunday, March 09, 2008

Silverlight inside NOKIA

Nokial has annouced to support Silverlight in its Series 60 applications.

Sunday, March 09, 2008 5:18:05 PM UTC  #    Comments [0]   .Net | ASP.Net | Microsoft  | 
.Net 3.5 on   Thursday, January 31, 2008

.Net 3.5

The new .Net Framework is 3.5. Even it comes with Visual Studio 2008, with which can start developing applications. Still I could see people thinking .Net 3.5 is a new Framework with new Architecture(s).

Unlike .Net 2.0 & .Net 1.1, .Net 2.0, 3.0 & 3.5 are closed integrated. We can tell .Net 2.0 is a subset of .Net 3.0 which in turn is a subset of .Net 3.5!

.Net 3.5

Thursday, January 31, 2008 6:17:17 PM UTC  #    Comments [0]   .Net | Microsoft | Technology  | 
Scott Hanselman's Updated List for 2007 on   Friday, August 24, 2007

Scott Hanselman's 2007 Ultimate Developer and Power Users Tool List for Windows

Computer ZEN presents the updated list of tools. Many tools, from the List is what Im using, and also the list is only making me to learn those-which are mostly new to me!! Thanks to Scott.

  Link to Scott Hanselman's 2007 Ultimate Developer and Power Users Tool List for Windows

 

Friday, August 24, 2007 12:03:06 PM UTC  #    Comments [0]   .Net | ASP.Net | C# | Notable Blogs | software | Technology  | 
C# Threading on   Sunday, July 22, 2007

C# Threading

Found a great site/article for C# Threading. Its really good, and very simple and covers threading to make you an expert. 

[Link]

Sunday, July 22, 2007 12:24:38 AM UTC  #    Comments [0]   .Net | C#  | 
Taking your ASP.Net Web Application Offline on   Thursday, January 11, 2007

Taking your ASP.Net Web Application Offline

My work mostly revolves around ASP.Net based Projects, and so I frequently come across a situation where I release the application (or a part of it - may be dll ) for Testing, when someone is accessing. Generally I used to delete the web folder and install the new one after a informal notification. For this I cant stop or pause the Web server, as some other web application is running side by side will get affected. In times, I will just replace the web folder as such (taking advantage of the xcopy deployment). Its not the exact way to do so!!

At last I found the solution for this : Simply add a file called app_offline.htm to your root of the web folder. The application wont respond to any of the further requests. It just throws  404 - Error ( The resource cannot be found. )

app_offline.htm  - can be a empty file. This is a simple way to bring your application Offline!

To bring it back (making it online is so simple - deleting the file app_offline.htm will do!

I have checked with ASP.Net 2.0, and not tried with ASP.Net 1.1 Even I dont know whether this feature is there in ASP.Net 1.1

[Source]

Thursday, January 11, 2007 5:24:42 AM UTC  #    Comments [4]   .Net | ASP.Net  | 
Copyright © 2012 Kiruthik Nandhakumar. All rights reserved.