Archive for category Development

My Favorite Visual Studio 2010 Theme

I’ve always been a fan of visual studio themes with a darker background as I find that the white background of the default theme tends to hurt my eyes after working for a few hours straight.  When starting my last job, I stuck with the default theme for a month or two before I noticed […]

,

No Comments

How To Create a Basic SharePoint Web Part

A large part of SharePoint’s power comes from the fact that the interface is completely pluggable. Users can add web parts to pages of their choice in order to add functionality and features to a SharePoint site on demand. So, an obvious direction any SharePoint developer would take is to learn how to develop web […]

,

1 Comment

Executing Code in Assemblies with SharePoint CustomActions

In my previous post, I discussed the basics of using a CustomAction to enhance the functionality of a content type. We used a CustomAction to redirect and pass some parameters to another page. This functionality is great, but what if you don’t want the user to go to another page for your custom logic to […]

,

2 Comments

CustomAction Basics in SharePoint

CustomActions allow you to provide an easy way for an end user to perform some sort of action on or with a specific list item that is not available in a standard SharePoint installation. Let’s go through a simple demo of using a CustomAction. In this demo, we will create a CustomAction which will redirect […]

,

No Comments

Feature Receiver Basics

As you begin developing more and more complex features to be deployed to SharePoint, you will most likely come across the need to perform some additional actions when your feature is installed and activated as well as extra clean-up when your feature is deactivated and uninstalled.  In come Feature Receivers to do just this.  Feature […]

,

No Comments

Using Local Config Files with WSPBuilder

Using WSPBuilder is rather straight-forward and for most features the default configuration settings work fine. But what happens when you want to include custom CAS policies or change the default folder names? Fortunately, WSPBuilder has an extremely robust set of configuration switches to handle these cases. If you look in the folder you installed WSPBuilder […]

,

No Comments

How To Properly Enumerate User Profiles using the SharePoint User Profile Web Service

Recently I had a need to pull all user profiles out of our SharePoint farm in order to push them into a middle-tier database that my team was building.  Since this would be run as a scheduled task on a machine that would not have SharePoint installed on it, I would have to use the […]

, ,

5 Comments

ASP.NET AJAX Page Methods Performance Analysis

As we have previously seen, ASP.NET AJAX Page Methods are a great way to return the minimum amount of data required in an AJAX request.  But the question remains, just how much bandwidth can you save by using Page Methods rather than UpdatePanels for AJAX operations. To illustrate this, we are going to create a […]

, ,

No Comments

ASP.NET AJAX Page Methods

ASP.NET contains some controls which makes adding AJAX features to your application rather easy.  For example, Microsoft has provided us with the UpdatePanel.  The UpdatePanel control allows you to partially render individual portions of your pages without initiating a full postback.  The UpdatePanel control is great in many ways, but seems to be quite a […]

, ,

No Comments

Intro to the ASP.NET Charting Control

A few months back Microsoft released a free charting control for .NET.  You can download the charting control and the plugin for VS2008 at the following links: Charting Control: http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&DisplayLang=en VS2008 Plugin: http://www.microsoft.com/downloads/details.aspx?familyid=1D69CE13-E1E5-4315-825C-F14D33A303E9&displaylang=en Once these two packages are installed, we can go ahead and start creating our first charting project.  For this project, we will […]

,

No Comments