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