Adding Trace to Azure Web Sites and Web Jobs

Using standard .NET trace in Azure Web Sites and Web Jobs is an extremely simple affair, with trace output being directed to either table, blob or file storage without the need for any configuration file or code changes. This is great and a very welcome simplification compared to what you had with web and worker…


Managing Entity Relationships with MVC Scaffolding

Using MVC Scaffolding is a great way to rapidly develop a website that provides basic CRUD functionality over your database schema. When I chose to use scaffolding on a recent project it was not entirely clear to me how it supported entity relationships and how those relationships translated to the user interface. In this post,…


Azure: Calling the Azure Management Rest API

The Azure Management REST API exposes a series of endpoints that allow you to perform various operations against your Azure subscription. This is documented at http://msdn.microsoft.com/en-us/library/windowsazure/ee460799.aspx. You can do many things with the REST API – the majority of Azure management operations can be initiated via this (Note: the Azure PowerShell commandlets wrap calls to…


Workflow Foundation (WF 4.5) – Designer Improvements

.NET 4.5 has introduced some great new features to improve the usability of the Workflow designer. If you’re rehosting the designer outside of Visual Studio then you can take advantage of most of these features very easily which is what I have done with Workflow Studio. If you’ve read my previous post you’ll know that…


Workflow Foundation (WF4) – Rehosting The Workflow Designer

​Rehosting the WF designer in an application outside of Visual Studio is nothing new and since WF4, nothing particularly difficult. In fact the WF product team has gone out of its way to make rehosting the designer as easy an experience as possible and they’ve done a great job. The WCF and WF Samples for…


Workflow Foundation (WF4) – Custom Activity to Invoke XAML Based Child Workflows (Part 2)

This article is part of a series: Part 1 Part 2 Inside ExecuteXamlWorkflow In my last post I introduced the ExecuteXamlWorkflow custom activity, an activity that you can use in your own workflows to execute a XAML file based child workflow. You can download the solution here. Implementing the ExecuteXamlWorkflow custom activity turned out to…


Workflow Foundation – Resizing the RuleSetDialog

If you’ve ever spent any time developing business rules in Windows Workflow Foundation using the RuleSetDialog then you’ll have very quickly become infuriated with its inability to resize. The "letterbox" view of if/then/else expressions that allows for a maximum of three lines of text becomes extremely hard to work with if your rules are anything…