sebnilsson.com
  • Blog
  • Projects
  • About
Twitter LinkedIn GitHub Stackoverflow CodersRank Sessionize Nuget RSS Email

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

  • Comments

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

  • Comments

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

  • Comments

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

  • Comments

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

  • Comments
Older Posts Newer Posts
Tags
.NET (39) .NET Core (9) .NET Core Global Tools (3) .NET Tools (3) AppHarbor (4) ASP.NET (18) ASP.NET Core (2) Autofac (1) AutoMapper (1) Azure (2) Azure Storage (1) C# (30) Continuous (1) Core (1) CSS (1) Deno (1) Dependency Injection (1) Deployment (1) Dynamic (2) Entity Framework (1) Formatting (4) FTP (1) GitHub (6) Google Maps (2) HTML (1) HTTP (1) IIS (1) IO (1) JavaScript (5) jQuery (2) JSON (1) Kudu (1) LINQ (2) Localization (1) Locking (1) Logging (1) Microservices (1) Microsoft Office (1) Node.js (1) PowerShell (2) Projects (12) Razor (5) Regex (1) Reposts (2) Routing (3) Rust (3) SEO (6) Serialization (1) URI (4) VBA (1) Visual Studio (6) Web.config (1) WebForms (3) YUI (1)
Copyright © 2010 - 2025 Sebastian Nilsson
Posts by Date Posts by Tags