This project is read-only.

Testable Windows Azure

This project aims to make the Windows Azure SDK more testable by enhancing The Windows Azure Project Template with Managed Extensibility Framework (MEF).

The goal is to 1) Enable testability of Windows Azure using MEF, 2) Use the same technology to enable persistence ignorance and again using the same technology 3) make Windows Azure extensible.

The following blog post goes through everything in detail: Windows Azure + Managed Extensibility Framework (MEF) = true


In order to run this code you also need to download Managed Extensibility Framework (MEF) Preview 5 from the MEF site. Since MEF is under MSPL license and this project is under a different license you have to compose these things your self locally on your machine. Furthermore it makes no sense to upload code in duplicate.

The Project Release

The release is not very big. It contains one main contract IRoleManager, one supporting class EventLogName and a contract implementation RoleManagerService. Also it contains two base classes to use in the Windows Azure Web and Worker Roles; one that derives from System.Web.UI.Page and one that defives from Microsoft.ServiceHosting.ServiceRuntime.RoleEntryPoint. Naturally there is a suite of tests to support the implementation. All of this is downloadable in the source code section or as a separate release.

Here is the IRoleManager contract and it's supporting class EventLogName

Cannot resolve release macro, invalid id. (however there is a newer release that also includes this)

Last edited Sep 6, 2009 at 7:20 PM by NoopMan, version 6


No comments yet.