I have a new MVC3 project with one PublicController.cs controller, which contains 4 identical methods for checking how routing works. The only difference between them is their name, and each of them indicates a different view ...
public class PublicController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult App()
{
return View();
}
public ActionResult Press()
{
return View();
}
public ActionResult Contact()
{
return View();
}
}
I can get to all of them when I run on the development server by visiting these URLs ...
http:
or its equivalent
http:
and then
http:
http:
http:
However, after deployment to a remote ASP.NET 4.0 server, only two work:
http:
http:
... everyone else gives me a 404 resource that cannot be found.
- - netcetera, ( MVC , MVC2, ). " ", , . .
, ?
,