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...
PowerShell Profile with Permanent Aliases 2014-09-17 07:52 UTC PowerShell If you're a PowerShell-user who manually runs scripts or binds an alias every time you open PowerShell, then there is a file you really should know about. It's...
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...
Serialize HtmlString & MvcHtmlString in JSON.NET 2014-03-02 17:44 UTC .NET ASP.NET C# Formatting JSON Serialization The HtmlString-class (and MvcHtmlString) that is and has been used in the ASP.NET-platform, including WebPages, since the introduction of ASP.NET MVC is...
Rewrite Old URLs with Regex into RouteValueDictionary 2014-02-28 07:53 UTC .NET ASP.NET C# Regex Routing Have you ever needed to rewrite/redirect old URLs that have very similar pattern as your new, modern URLs, but want to do it with simple, maintainable code? In...