Category Archives: Development

Applying DDD, TDD and Patterns to enable Reuse your SharePoint Code

John W Powell has posted a great article on MSDN where he explains how he used Domain Driven Design (DDD), Test Driven Development (TDD) and design Patterns to create a framework for working with the SharePoint. He goes into detail … Continue reading

Posted in Agile, Development, SharePoint | Tagged , | 1 Comment

Does TDD speed up development?

Scott Bellware posted a great article on what is often one of the main reasons for people dropping or never starting TDD or Unit Testing; often stating ‘It takes longer doing TDD’ and ‘I can code this much quicker without … Continue reading

Posted in Agile, Development | Tagged , | 3 Comments

Unit Test SPSite construction Exceptions with new Isolator method

In our white paper Unit Testing SharePoint Solutions – Getting into the Object Model we needed to use Natural Mocks to allow the testing exceptions that are thrown as part of the the SPSite constructor.  Our test code looked like … Continue reading

Posted in Agile, Development, SharePoint, Testing | Tagged , | 2 Comments

IE8 Beta 2 – NTLM 401.1 (Not good for SharePoint developers)

Found a really annoying bug this week after upgrading one of my Windows 2003 SharePoint development Virtual Machines to IE8 Beta 2. HTTP 401.1 – Unauthorized: Logon Failed As most people do I make use of the HOSTS file to allow the … Continue reading

Posted in Development, SharePoint | Tagged | 4 Comments

SPDisposeCheck – the tool every SharePoint developer needs

At long last Microsoft have announced publically the excellent SPDisposeCheck tool.   This tool will examine your IL level components and report any possible areas where you may have the potential for a leak due to objects not being disposed of … Continue reading

Posted in Development, SharePoint | Tagged , | 1 Comment

VS2010 – New SharePoint Features

Keynote announcement on the new SharePoint features in Visual Studio 2010.  Paul Andrew has posted a summary here.  It’s very evident that Microsoft have been listening to the community and also looking at the open source projects that have started … Continue reading

Posted in Development, SharePoint | 1 Comment

SharePoint Guidance goes Live on MSDN

It was with great pleasure that I was able to contribute to the first SharePoint Patterns and Practices guidance.  I really like the fact that the team have included unit testing.   I recommend reading the related CHM file as this … Continue reading

Posted in Development, SharePoint | Leave a comment

Reflection on The Future of Unit Testing @ PDC2008

Great panel session at PDC on the future of Unit Testing. There were some good discussions by some ‘luminaries’ in the field (Peter Provost, Daniel Cazulino and others) that really talked more about where we are today than about where … Continue reading

Posted in Agile, Development, Testing | Tagged | 1 Comment

Type Mock embraces SharePoint

TypeMock have recently made some updates to their site and have started to pull together information around testing SharePoint. I’m really getting to like the new AAA (Arrange, Act, Assert) approach that they are building into the product from version 5 … Continue reading

Posted in Agile, Development, SharePoint, Testing | Tagged | 1 Comment

Agile Perspectives, Industry and Microsoft @ PDC 2008

Going to PDC?   into Agile development?   going to be there for the Pre-conference sessions on Sunday? You need to attend the session Agile Perspectives, Industry and Microsoft Presenter(s): Mary Poppendieck, Grigori Melnik Agile development is here! During this all-day agile … Continue reading

Posted in Agile, Development | Tagged | 1 Comment