ASP.NET

ASP.NET Core

Generic behaviour in ASP.NET Core with Action Filters

Everyone hates copy/pasting code, and Action Filters in ASP.NET Core MVC offer a great way to avoid filling your controllers with boilerplate

Read More
ASP.NET

Supporting SignalR Client Handlers after Connection Start

In general, when you create a new SignalR connection you are obliged to have already defined any of your handlers on the hub object...

Read More
ASP.NET

Custom Operation Names with Swashbuckle 5.0

One of the many ways to customise Swagger output with Swashbuckle.

Read More
ProxyApi

Hiding ProxyApi Routes from Web API Help Pages

Keep your Web API help pages tidy when using ProxyApi

Read More
Unit Testing

Selenium: Early Thoughts on Test Automation

My thoughts on a first dive into using Selenium for test automation.

Read More
ASP.NET

Excluding Current RouteData from UrlHelper

By default, the MVC `UrlHelper` will include all of the route values for the current route in it's calculations. What if you don't want it to?

Read More
Knockout

Handling "this" in ko.command

The vagaries of "this" in Knockout commands.

Read More
ProxyApi

ProxyApi & Anti-Forgery Tokens

Prevent CSRF with an anti-forgery token in ProxyApi.

Read More
ASP.NET

Exception Handling for Web API Controller Constructors

How to handle those scenarios that exception filters will miss.

Read More
ASP.NET

Translating Date Formats in JavaScript

Urgh, dates.  It's always bloody dates.

Read More