title: Changing Default Route on MVC 4
body: <p>im trying to change the route of my solution to make it start with the controller that is called "formulariocontroller" and the action "formulario", i already looked up some tutorials here and questions and i thought i was doing it right but i cant make it work, its gives me this:</p>
  
  <p><img src="https://i.stack.imgur.com/RqIIx.png" alt="enter image description here"></p>
  
  <p>here is the code of my RouteConfig.cs</p>
  
  <pre><code>  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Mvc;
  using System.Web.Routing;
  
  namespace SolucionFinal
  {
      public class RouteConfig
      {
          public static void RegisterRoutes(RouteCollection routes)
          {
              routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
              routes.MapRoute(
                  "Default", // Route name
          "{controller}/{action}/{id}", // URL with parameters*
          new
          {controller = "FormularioController",action = "Formulario",id = UrlParameter.Optional}
              );
          }
      }
  }
  </code></pre>
  
  <p>and of my controller:</p>
  
  <pre><code> using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Mvc;
  
  namespace MvcApplication1.Controllers
  {
      public class HomeController : Controller
      {
          [HttpGet]
          public ActionResult Formulario()
          {
              ViewBag.Message = "Modifique esta plantilla para poner en marcha su aplicación ASP.NET MVC.";
  
              return View();
  
          }
          [HttpPost]
          public ActionResult Formulario(string text)
          {
  
              Session["Text"] = text;
              return RedirectToAction("Exito", "Home");
          }
  
          public ActionResult Exito()
          {
  
  
              ViewBag.Message = Session["Text"];
  
              return View();
          }
  
  
      }
  }
  </code></pre>
  
  <p>any ideas?</p>