
Async/await in Umbraco custom controllers
Custom controllers in Umbraco natively support async/await operations but it's not clear how to implement an asynchronous controller correctly.
Umbraco
Async
With over 20 years of experience in corporate and agency .Net web development, Digbyswift can meet and support your requirements. We specialise in Azure, Umbraco CMS solutions.

Tag list:
MailchimpJSONSerializationIntegrationsConfigurationUmbracoAsyncTortoiseSVNSource ControlVisual StudioWorkflow FoundationNode.jsGruntJavascriptSQLLoggingElmahLog4netException handlingWebDeployIISDeploymentsAirbrakeUnit testsSam KitsonWix
Custom controllers in Umbraco natively support async/await operations but it's not clear how to implement an asynchronous controller correctly.

Following on from our original post about a bug in async/await actions in custom controllers in Umbraco 6 & 7, we did some investigations and found the cause. So we thought we'd outline our solution for all those who can't upgrade. It's also an interesting trip into code that you wouldn't normally touch.