SPNavigationNode issue

While working on some enhancements for the Site Configurator Feature we just released to CodePlex, I was struggling with an unexpected behavior when trying to add create SPNavigationNodes programmatically for quick launch and top navigation links. There are two constructors to select from: public SPNavigationNode(string title, string url)public SPNavigationNode(string title, string url, bool isExternal) Since I…

1

Unit testing MOSS part 2 (of 2)

In the 1. article on Unit testing MOSS I described some of the findings and experience on unit testing SharePoint applications using the TypeMock Isolator framework. In this 2. article I will provide some examples of unit tests. Code under testYou should of course use TDD principles, but we are in a state where we have…

8

MSDN Architecture Center

The unified knowledge base and latest news on Architecture (MS and non MS sources) is at http://msdn.microsoft.com/architecture Learn about MS’ Gen-4 Datacenter Vision, the call for papers for the Arc track of TechEd 2009 NA (you still have time to submit but it goes quickly!), the recently launched v3 of the Threat Modeling tool, the…

5

OneNote and SharePoint – the basics

OneNote is a hidden gem in the Office suite. I use OneNote for all my notes during meetings, workshops etc. As described on Office Online “Microsoft Office OneNote 2007 is a digital notebook that provides a flexible way to gather notes and information, powerful search capabilities so users can find what they are looking for quickly,…

6

Unit testing MOSS part 1 (of 2)

Some of our team members, including me and Frank Jusnes, were recently responsible for providing recommendations on how to unit test in SharePoint projects, and this is an overview of our findings and experiences. This is the first of two posts on the subject giving an overview. In the second post we are aiming for more examples…

5

Creating List definitions with content types

When creating a couple of List Definitions which should be tied up to specific content types I came across a few issues on how to do this. My scenario: I needed to create a External References Links list definition (not the same as the wss links list, but similar). I created a content type with…

2

Announcing SharePoint Site Configurator Feature on CodePlex

It is an pleasure to announce the second of our two new SharePoint projects on Codeplex.com: Project Description SharePoint Site Configurator Feature is a small framework for taking care of all configurations, settings and featurestapling you need for transforming a standard blank site definition into your own full blown site, without the hassle of creating…

2

Announcing SharePoint PowerShell Deploy on CodePlex

It is an pleasure to announce the first of our two new SharePoint projects on Codeplex.com: Project Description SharePoint PowerShell Deploy is a set of PowerShell files to help you build, deploy, upgrade and destroy a SharePoint farm. It can be used on development machines as well as test and production scenarios. Background information and…

2

TypeMock for SharePoint!

My colleague Tommy wrote a post about unit testing SharePoint applications a few weeks ago. I must admit that this is something that I have considered hard to apply to my SharePoint projects, and have therefore avoided it (with a very bad conscience). Luckily others have had been more proactive, like the guys at TypeMock. Their product…

1

SharePoint and PowerShell – practical tips

Creating scripts to set off a load of stsadm commands have been a common task in SharePoint for a long time. In development and testing environments the need to install, create farm, web applications, site collection and sub sites, in a repeatable manner is must have, not a nice have. The scripts are used for…

12