Blog Posts for: Asp.net 5

Unit testing ASP.NET 5 Controllers with Entity Framework 7 In-Memory Database
24 November 2015

I look at how you can use the new In-Memory database support in Entity Framwork 7 to unit test your controllers.

Allowing user to set culture settings in ASP.NET 5: Part 2
10 November 2015

I demonstrate how you can allow users to save even more fine grained culture settings preferences against their profile.

Allowing user to set culture settings in ASP.NET 5: Part 1
03 November 2015

I demonstrate how you can allow users to save their culture settings preferences against their profile.

Moving your Entity Framework 7 models to an external project
27 October 2015

A look at how you can keep your Entity Framework models in a separate project from your main ASP.NET 5 project.

How ASP.NET 5 determines the culture settings for localization
20 October 2015

I describe the steps the ASP.NET 5 Localization middleware takes to determine the correct culture settings for a specific request.

Unit testing controllers in ASP.NET 5 (MVC 6)
13 October 2015

One of the new things I had to figure out in doing unit testing in ASP.NET 5 was how to mock the necessary infrastructure to test my controllers. In this blog post I show a few techniques you can use.

Setting the thread culture in ASP.NET 5
06 October 2015

A quick note on setting the Culture in your ASP.NET 5 application to a specific setting.

Using enums with the ASP.NET 5 (MVC 6) Select TagHelper
29 September 2015

The new select TagHelper allows you to bind to an enumerated type, and I show you how you can display a list of possible values in the Select list.

Using Option Groups with the Select TagHelper in MVC 6
15 September 2015

Demonstrates the support of the new Select TagHelper in MVC for option groups (OptGroup)