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

Umbraco passwords and ASP.NET Machine Keys

This blog post is the result of a thread on Twitter which starts here: https://twitter.com/crumpled_jeavon/status/880522105795870720 and works its way into confusion. Suffice to say I can’t answer…

Read this article

OWIN Cookie Authentication with variable cookie paths

By default OWIN Cookie Authentication let’s you specify a single configurable cookie path that does not change for the lifetime of the application, for exampleapp.UseCookieAuthentication(new…

Read this article

Umbraco CLI running on ASP.NET Core

Over the past couple of years I’ve slowly been working on getting Umbraco to run on ASP.NET Core. Unlike many other ASP.NET frameworks and products that have rewritten their apps in ASP.NET Core, I’ve…

Read this article

FCN (File Change Notification) Viewer for ASP.NET

div.nuget-badge p code {background: none;background-color: #202020 !important;border: 4px solid silver !important;border-bottom-left-radius: 5px 5px !important;border-bottom-right-radius: 5px 5px…

Read this article

Smidge 2.0 alpha is out

Over the past few months I’ve been working on some enhancements to Smidge and have found a bit of time to get an alpha released. There’s loads of great new features in Smidge 2.0! New Features…

Read this article

Using AspNet5 OptionsModel

If you’ve used AspNet5 then you’ve probably been using some MVC in which case you’ve probably seen something like this in your Startup class:// Add MVC services to the services containerservices.AddMv…

Read this article

ASP.NET Core application shutdown events

During the process of porting an existing library to ASP.NET Core I had to find the equivalent functionality of IRegisteredObject which I’ve discovered is…

Read this article

Introducing ‘Smidge’ – an ASP.NET 5 runtime JS/CSS pre-processor

During the past month I decided to dive deep into learning ASP.NET 5, and what better way to learn than to start a new OSS project :) I chose to make a new new simple and extensible Javascript/CSS runtime pre-processor for ASP.NET 5. It does file minification, combination and compression, has a nice file caching layer and it’s all done in async operations. I ported over a few ideas and code snippets from CDF (client dependency framework) but with a more modern approach. I’ve called it ‘Smidge’ = something really small.…

Read this article

ASP.Net Identity for Umbraco Members

I’ve just released the beta version of UmbracoIdentity which allows for ASP.Net Identity to be used with Umbraco for front-end members. I’ve tried to write enough documentation for you to get started,…

Read this article