You should include System.Web.Mvc namespace which contains classes/interfaces that support the ASP.NET Model View Controller (MVC) framework for creating Web applications.

This namespace includes classes that represent controllers, controller factories, action results, views, partial view, model binders, and etc.

http://msdn.microsoft.com/en-us/library/system.web.mvc.aspx






Answers and Comments