Sunday, 29 November 2009 20:51 by
SyntaxC4
Due to the namespace change of the Windows Azure SDK, a number of the Windows Azure Platform Training Kit projects were broken. As a part of the Guelph Coffee and Code Windows Azure Technology Focus Panel, I have refactored this Project in order to launch it into the cloud as one of my Azure Deployments. If you haven’t already, you may want to visit my previous blog post entitled Moving from the ‘ServiceHosting’ to ‘WindowsAzure’ Namespace. In the previous post I reviewed some of the changes in the classes that were contained in the Windows.ServiceHosting.ServiceRuntime namespace.
Another change in the Azure SDK is in the RoleEntryPoint Class. The Start method which originally had a void return type has been changed to OnStart and returns a boolean value. A method called GetHealthStatus() which returned a RoleStatus enum value, was removed.
I am still looking for an alternative to one of the most useful debugging features of Windows Azure to date. RoleManager.WriteToLog() was not replaced in the RoleEnvironment class. This was one of the only gateways into writing out some error information without the use of the Storage Services or a SQL Azure database.
All of the mentioned Changes to the SDK were the issues behind the Windows Azure Guest Book not functioning from the November Platform Training Kit. You can go and make these changes yourself if you would like, or you can download the refactored version.
Happy Coding!