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...
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...