Using C# 6.0 or C# 7.0 with MVC 5

The version of C# that your solution or project employs is fairly abstracted. It's not very obvious what features are or are not supported unless you try something and see »

Bind Is Evil

There's a handful of things that boil my blood, as a developer. One of those is the seemingly innocuous BindAttribute. Unfortunately, Microsoft seems to have a knack for placing landmines »

A View by Any Other Name...

Some of the most common confusions I hear about from MVC developers concern views, specifically layouts vs. partial views vs. views. The simple fact is that the terms "layout" and »

DbEntityValidationException: Which Properties Are Failing Validation?

Just a little quick tip to make your life easier. You'll get a DbEntityValidationException when Entity Framework attempts to save an entity to the database and fails because one or »

Stop using [Bind]

There's a lot to like about ASP.NET MVC, but some parts are just atrocious. The Bind attribute is one of those atrocious parts. For the seemingly few who are »

Automatically get ASP.NET Identity user with an assist from Ninject

How many times have you found yourself doing this: [Authorize] public async Task<ActionResult> Foo() { var user = await UserManager.FindByIdAsync(User.Identity.GetUserId()); if (user == null) { AuthenticationManager.SignOut( »