Posts tagged "MVC"

Published: October 30 2015

ASP.NET MVC - Pagination Example with Logic like Google

An example of how to setup Google style pagination logic in C# and ASP.NET MVC.
Published: October 16 2013
Last updated: March 11 2016

ASP.NET MVC - Required Checkbox with Data Annotations

How to make a required checkbox in ASP.NET MVC using the built in 'Range' data annotation attribute.
Published: September 20 2012

MVC CheckboxList for property of type IList<Enum>

This is an extension method for creating a checkbox list for a list of enum values (IList<Enum>). It's a modified version of the CheckboxListForEnum extension method I found on the Xango project. Their version creates a checkbox list for a property that contains a single enum value.
Published: July 06 2012

MVC3 redirect to mobile site and stop executing

Response.Redirect(url, true) does NOT stop executing. Automatically redirect iPhone to mobile site.
Published: June 24 2012

ASP.NET MVC3 + Altairis Web Security Toolkit

In this post I'll show you how to install and configure the Altairis Web Security Toolkit in an MVC3 application. The Altairis Web Security Toolkit is a simple, easy to use ASP.NET Membership Provider with a clean table structure. It's much nicer to work with than the default ASP.NET Membership Provider.
Published: April 24 2012

MVC3 Partial View Validation

I came across a problem recently with server side validation of partial views in MVC3.
Published: March 15 2012

Dependency Injection in 1 line with MVC3 and Ninject

With the help of the NuGet and the Ninject extensions Ninject.MVC3 and Ninject.Extensions.Conventions, you can get dependency injection up and running with just 1 line of code!
Supported by