The default code that VS generates for HomeController is:
<HandleError()>
Public Class HomeController Inherits System.Web.Mvc.Controller
Function Index() As ActionResult
ViewData("Message") = "Welcome to ASP.NET MVC!"
Return View()
End Function
Function About() As ActionResult
Return View()
End Function
End Class
Let's say that I want to create a different URL for the about page without changing the method name. I've tried:
'
' GET: /Home/Aboutblah
But that doesn't work. When I go to http://localhost:1957/Aboutblah, I get a 404 from the ASP .NET server.
Consequently, I was wondering if the "GET " blob of text actually does anything and if it is possible to fiddle with URLs without diving into the ASAX file.