Archive for September, 2010

LINQ to SharePoint Performance Pitfalls

September 8 2010 19 comments

SharePoint 2010 introduced LINQ to SharePoint which enables the programmer an easy access to SharePoint lists and content types using LINQ.

While LINQ to SharePoint greatly simplifies the code and frees the programmer from writing CAML queries, it can easily result in poor code in terms of performance. The main problem is, IMHO, that the full power of…

Read more »

Automatically Enable Dialog Framework for Hyperlinks

September 6 2010 6 comments

With the inclusion of the new dialog framework in Sharepoint 2010 it is quite easy to create stylish dialog windows that comply to the overall look and feel of your site. As Jomit Vaghela explains in his blog, all you need to do is put the parameter IsDlg=1 in your url and use the SP.UI.ModalDialog.showModalDialog method with…

Read more »

PowerShell Does Not Reload Upgraded Assemblies

September 6 2010 13 comments

If you use PowerShell while developing with SharePoint 2010, you may have come across this. After you upgrade your packages, PowerShell uses old versions of the assemblies that were supposed to be upgraded. This is because the assemblies are loaded to PowerShell’s app domain, and as long as they are used from the same app domain, they do not get…

Read more »

Custom Caching Done Fluently

September 3 2010 4 comments

SharePoint includes many out-of-the-box cache mechanisms that can be configured on site and site collection levels. It is not uncommon, however, that you want to make some custom caching in code. Often you simply need more fine-grained control over what is cached and exactly what parameters define the cache key. One scenario where cache profiles are insufficient is…

Read more »

SharePoint Security and Permission System Overview

September 1 2010 492 comments

SharePoint Permission and Security Mechanisms

From time to time, our customers ask us about how SharePoint security and permission features work, and how should they be utilized. In this post we try to walk through the basic permission and security features of SharePoint. This post is not intended to be a complete description of every security and permission related feature in SharePoint,…

Read more »

10 tips for designing layouts for SharePoint intranets

September 1 2010 12 comments

A nice looking, user friendly layout is an essential part of all SharePoint intranets. At its best the layout encourages users to come back time after time. At its worst it scares people away or makes the entire system difficult to use. Follow these ten rules and you will avoid the most common mistakes.

1. Intranet is a tool, it’s

Read more »
Page 3 of 3123