ASP.NET MVC and .NET Core make it easy to produce a wide variety of form elements. One of these that often gives people trouble, however, is the humble checkbox. In this tutorial, we’ll look at how to use Razor to produce an MVC Checkbox and CheckBoxList.

First, I’ll go over how to produce this effect in VS 2017 and .NET … Read the rest