Community Day 2010: The morning after

Here are the slides and the code examples of my presentation yesterday, I tried to keep it as simple as possible just to prove you the power of the Pex and Moles framework and how it can help us unit test our SharePoint development.

Code examples:
http://www.tomvangaever.be/blog/comday2010/demo.zip

Slides:
http://www.tomvangaever.be/blog/comday2 … lides.pptx

Pictures (More to come):





Reminder to myself, next time close your twitter client while presenting :)

Community Day 2010 was a success, see you next year?

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Open XML Package Editor Power Tool for Visual Studio 2010

Open XML is a wondefull technology to manipulate and create Office files, yesterday the VSTO team released the Open XML Package Editor Power Tool for VS 2010.. Thanks!

From the VSTO Team blog:

We are happy to announce that today we are releasing the Open XML Package Editor Power Tool for Visual Studio 2010 on Visual Studio Gallery. This Power Tool is a Visual Studio add-in that provides an easy way to parse and edit Open Packaging Conventions files, including Word, Excel and PowerPoint documents. This Power Tool enables you to do the following tasks:

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

VSeWSS Import Tool for Visual Studio 2010

Visual Studio 2010 now supports VSeWSS projects from Visual Studio 2008, This tool is provided as sample source code for a Visual Studio 2010 extension. After it is compiled the extension can be added into Visual Studio 2010 and it adds a new project template to the SharePoint 2010 folder. When you create a project from this new template you are prompted to import a project that was created by Visual Studio 2008 extensions for SharePoint (VSeWSS). The project can then be edited, upgraded and compiled with Visual Studio 2010 and tested and deployed to SharePoint 2010.

Paul andrew

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Script Junkie

Script Junkie aims to help web developers gain the knowledge to apply these technologies and techniques in building cross-browser web applications. By providing solutions-based articles, videos and code samples, developers will be able to have a concise resource to go to for the latest in web application development techniques.

http://msdn.microsoft.com/en-us/scriptj … fault.aspx

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

SharePoint 2010 Unit testing with pex and moles @ Community Day (Mechelen)

SharePoint Services are known to be challenging to unit test, as it is not possible to execute the SharePoint Service without being connected to a live SharePoint site. For that reason, most of the tests written for SharePoint are actually integration tests as they need a live system to run. In order to properly unit test Sharepoint Services, we should be able to stub the dependencies out with a mocking framework, but even though the SharePoint objects in 2010 are no longer sealed, the constructors are still not public, which makes most mocking frameworks unusable. Pex contains a stubbing framework, called Moles that allows you to isolate, not only types in the SharePoint assemblies, but any assembly you want and detour any .NET method to your own delegates. Pex truly allows you to unit test Sharepoint Services.

See you there!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

SharePoint 2010 Navigation Settings : CTRL + UP or DOWN

Today I learned a small but rather nice gem in SharePoint 2010 while changing the navigation settings of a site.

While opening the navigation settings page (site actions > site settings > Navigation), select the item you would like to move up or down. In the past I used the up and down button in the header, but apparently we can hold both CTRL and the UP arrow key to move the item up and the same behaviour occurs when you want to move the item down.

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)