Skip to content

Instantly share code, notes, and snippets.

@ssinganamalla
Created May 15, 2013 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssinganamalla/5586228 to your computer and use it in GitHub Desktop.
Save ssinganamalla/5586228 to your computer and use it in GitHub Desktop.
Preparing .NET MVC for Extjs using Controller
public class HomeController : Controller
{
public ActionResult Default()
{
return this.Redirect("/Home/main");
}
public ActionResult Index()
{
return Main();
}
public ActionResult Main()
{
return View();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment