Need to remove an auto-routed controller in Umbraco?

Umbraco will auto-route some controllers automatically. These controllers are any MVC SurfaceControllers or WebApi UmbracoApiController types discovered during startup. There might be some cases where…

Read this article

Using IExceptionLogger with per-controller IControllerConfiguration in WebApi

There’s plenty of examples online about implementing a custom IExceptionLogger globally in WebApi and I’m sure they all work as expected but what if you don’t want to register it globally? In that…

Read this article

ASP.Net 5 Re-learning a few things (part 2)

This is part 2 of a series of posts about some fundamental changes in ASP.Net 5 that we’ll all need to re-learn (or un-learn!) Part 1: http://shazwazza.com/post/aspnet-5-re-learning-a-few-things-part-…

Read this article

Isolated WebApi attribute routing

Attribute routing in ASP.Net WebApi is great and makes routing your controllers quite a bit more elegant than writing routes manually. However one problem I have with it is that it is either “on” or “off” at…

Read this article

Multiple WebApi controllers with the same name but different namespaces

Warren recently reported this issue on Umbraco which prohibits WebApi from routing to two different paths that specify the same controller name but different namespaces. This type of thing is fully su…

Read this article

WebApi per controller configuration

This is more of a blog post about what not to do :) At first glance, it would seem relatively painless to change your WebApi controller’s configuration, I’d assume most people would do what I initiall…

Read this article

Uploading files and JSON data in the same request with Angular JS

I decided to write a quick blog post about this because much of the documentation and examples about this seems to be a bit scattered. What this achieves is the ability to upload any number of files w…

Read this article