How to execute one Controller Action from another in ASP.NET 5

This will generally be a rare thing to do but if you have your reasons to do it, then this is how…In Umbraco there is a valid reason to do this which has to do with how HTTP POSTs are handled for…

Read this article

Allowing dynamic SupportedCultures in RequestLocalizationOptions

The documented usage of RequestLocalizationOptions in ASP.NET 5/Core is to assign a static list of SupportedCultures since ASP.NET is assuming you’ll know up-front what cultures your app is…

Read this article

Controller Scoped Model Binding in ASP.NET Core

Want to avoid [FromBody] attributes everywhere? Don’t want to use [ApiController] strict conventions? Don’t want to apply IInputFormatter’s globally?…

Read this article

How to register MVC controllers shipped with a class library in ASP.NET Core

In many cases you’ll want to ship MVC controllers, possibly views or taghelpers, etc… as part of your class library. To do this correctly you’ll want to add your assembly to ASP.NET’s “Application…

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

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

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

Installing .NET Core 1.01 on Ubuntu 16.10

Warning: Linux noob content below I’ve been testing out some .NET Core cross platform stuff and originally had been using Ubuntu 14.04 with .NET Core 1.0.0 and that all worked fine along with the…

Read this article

All about ASP.Net File Change Notification (FCN)

There’s a chance you might not have heard of FCN (File Change Notification) in ASP.Net and there’s an even bigger chance you didn’t realize how much it might affect you. What is FCN in ASP.Net? As…

Read this article

AppVeyor and ASP.Net Core (Previously ASP.Net 5)

I’ve been working on a project called “Smidge” which is a runtime Js/Css pre-processor for ASP.Net Core and have been meaning to blog about how I integrated this with AppVeyor – to run my tests, build…

Read this article