Skip to main content

Raja Ayyapusetty

Raja is a software consultant with over 9 years of experience in designing, developing and testing complex solutions using Microsoft technologies. Throughout his career he has worked primarily on SharePoint and .NET technologies. Raja has worked with SharePoint since the 2003 version and has deep understanding of its features and capabilities. Raja is also a certified Sitecore developer.

Blogs from this Author

Difference between List.ItemCount and List.Items.Count

I noticed some strange things when I was working on deleting list items. There is no direct way of clearing out the list item collection. You have to loop through the collection and delete item by item. No big deal, all it takes is the below piece of code: //Delete List items for (int i […]

Image Search in MOSS

I recently worked on a project where the client wanted to have two new tabs in the search center along with the default All Sites and People tabs: One to search only images and the other to search all office documents and PDFs. So, basically the requirement is to filter results by their file type. […]

Iterate through all Sites(SPWebs) under a Farm

The below piece of code will iterate through all Sites(SPWebs) across all web applications under a Farm. Here it goes.. //Object representing the local server farm SPFarm farm = SPFarm.Local; foreach (SPService service in farm.Services) { if (service.GetType().ToString() == "Microsoft.SharePoint.Administration.SPWebService") { foreach (SPWebApplication webApp in ((SPWebService)service).WebApplications) { foreach (SPSite site in webApp.Sites) { SPWeb rootWeb […]

Vista and Visual Studio

If you are using the "Windows Aero" color scheme in Vista, which is the default color scheme, Windows seems to have problems rendering the Visual Studio UI. I’ve noticed this problem when you run the solution and come back to Visual Studio after closing the solution. Vista can’t paint the portions of the screen occupied […]

Reset a Site to Site Definition

When you are not happy with your customizations to a site, WSS and MOSS provides an option of reverting back your site to the original site definition version. The option is called "Reset Page to Site Definition Version". This is located at Site Settings -> Reset to Site Definition. Luckily, there are two levels for […]

Load More