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

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

ASP.Net 5 (aka vNext) is now in Beta and the Visual Studio 2015 preview is now out! So, what is this new ASP.Net? The 2 biggest features is that it’s totally open source and it will support a cross pl…

Read this article

Custom Assembly loading with Asp.Net Core

Building a plugin system in Asp.Net Core is a dream compared to previous Asp.Net versions. In previous versions it was not really feasible to have DLLs located outside of the /bin folder for a web…

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

Model binding with FromServices in ASP.Net 5

Here’s a pretty nifty feature I found in ASP.Net 5 – you can construct your model during model binding with IoC without any additional work. This is available on the dev branch on GitHub and is based…

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

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

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 5 Linux support for runtime JS & CSS preprocessing with Smidge

I’ve been working on a side project called Smidge which is a runtime JS & CSS preprocessor for ASP.Net 5. I started this late last year after the 2014 MS MVP Summit as a good starting point to deep…

Read this article