Controllers and Routing

In this chapter, you'll learn:
About ASP.NET MVC controllers, controller actions, and action results.

  1. ASP.NET MVC Controller Overview (C#)

    By Stephen Walther|February 16, 2008

    In this tutorial, Stephen Walther introduces you to ASP.NET MVC controllers. You learn how to create new controllers and return different types of action results.

  2. Creating Custom Routes (C#)

    By Microsoft ASP.NET Team|February 16, 2009|C#

    Learn how to add custom routes to an ASP.NET MVC application. In this tutorial, you learn how to modify the default route table in the Global.asax file.

  3. Creating a Route Constraint (C#)

    By Stephen Walther|February 16, 2009

    In this tutorial, Stephen Walther demonstrates how you can control how browser requests match routes by creating route constraints with regular expressions.

  4. Creating a Custom Route Constraint (C#)

    By Stephen Walther|February 16, 2009

    Stephen Walther demonstrates how you can create a custom route constraint. We implement a simple custom constraint that prevents a route from being matched when a browser request is made from a rem...

  5. ASP.NET MVC Controller Overview (VB)

    By Stephen Walther|February 16, 2008

    In this tutorial, Stephen Walther introduces you to ASP.NET MVC controllers. You learn how to create new controllers and return different types of action results.

  6. Creating Custom Routes (VB)

    By Microsoft ASP.NET Team|February 16, 2009

    Learn how to add custom routes to an ASP.NET MVC application. In this tutorial, you learn how to modify the default route table in the Global.asax file.

  7. Creating a Route Constraint (VB)

    By Stephen Walther|February 16, 2009

    In this tutorial, Stephen Walther demonstrates how you can control how browser requests match routes by creating route constraints with regular expressions.

  8. Creating a Custom Route Constraint (VB)

    By Stephen Walther|February 16, 2009

    Stephen Walther demonstrates how you can create a custom route constraint. We implement a simple custom constraint that prevents a route from being matched when a browser request is made from a rem...

ASP.NET MVC Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET MVC:

Pro ASP.NET MVC 3 Framework

Pro ASP.NET MVC 3 Framework

by Adam Freeman, Steven Sanderson

Professional ASP.NET MVC 3 (Wrox Programmer to Programmer)

Professional ASP.NET MVC 3 (Wrox Programmer to Programmer)

by Jon Galloway, Phil Haack,Brad Wilson, K. Scott Allen

Test Drive ASP.NET MVC

Test Drive ASP.NET MVC

by Jonathan McCracken