ASP.NET, ES2015, React, SystemJS and JSPM

I’ve started investigating a relative newcomer to the JavaScript library, but one that is making a lot of noise. That library is React. But when I combined this with ASP.NET, I found the build processes confusing. There just isn’t a good recipe out there that allows you to write React/JSX components in ECMAScript 6 and…

Node, MVC Controllers and ECMAScript 2015

Long time readers of my blog will remember that I previously covered Node and MVC applications in a short tutorial series. At that point, I wrote the controllers and loader in ECMAScript 5.1. The code to load the controllers was this: The typical controller looked like this: That’s a lot of boilerplate code and it’s…

Visual Studio Code and Trimming Whitespace

Have you noticed that eslint doesn’t like trailing whitespace. It has a rule for it: the no-trailing-spaces rule. Normally, this wouldn’t be a problem. I’m normally using Visual Studio 2015. Visual Studio takes care of it. Firstly, when you are typing JavaScript, the editor properly indents and doesn’t give you blank lines with spaces on…

ASP.NET MVC6 Identity Part 4 – AJAX Authentication

In the last few articles, I’ve covered the following: Creating an ASP.NET Identity Database Data Annotations and Custom Validators for Models A WebAPI Authenticator An ECMAScript 6 Modal Dialog Four articles and I still haven’t logged in to my application. Today that is going to change because I’m writing the front-end AJAX code to do…