Registering Autofac & AutoMapper Circularly 2017-11-20 08:08 UTC .NET Autofac AutoMapper C# Dependency Injection Have you ever wanted to register Autofac and AutoMapper circularly? By this I mean to do the inception of these two things, at the same time, in the same...
C# Clamp: Limit IComparable Between Two Values 2017-11-15 08:41 UTC .NET C# If you've ever needed to limit a value between two known limits of values, then you have been looking for Clamping. Sometimes when you do calculations on...
Display Local DateTime with Moment.js in ASP.NET 2016-03-08 07:21 UTC .NET C# Formatting JavaScript Displaying a DateTime in local format in C# is relatively easy, but it will only use the server's settings to tell what "local" is. For example, you might want...
NullableGuidConstraint for ASP.NET MVC & WebApi 2015-03-25 07:22 UTC .NET ASP.NET C# Routing Have you ever written a very usable Route-constraint in ASP.NET MVC or in WebAPI than you wanted to share between them both? For example a constraint that...
Render .ascx-Files in ASP.NET MVC Using Only RazorViewEngine 2014-03-11 07:48 UTC .NET ASP.NET C# Razor WebForms If you're stuck in an environment where you're migrating from ASP.NET MVC to ASP.NET WebForms it's good to know that you can actually render your existing...