Having issues getting myself started on MVC3
Trying to define a simple route here in Global.asax
routes.MapRoute( _
"MeGet", _
"me", _
New With {.controller = "MeController", .action = "Show"}, _
New With {.httpMethod = New HttpMethodConstraint("GET")}
)
routes.MapRoute( _
"MePut", _
"me", _
New With {.controller = "MeController", .action = "Update"}, _
New With {.httpMethod = New HttpMethodConstraint("PUT")}
)
And My controller is as follows.
Public Class MeController
Inherits System.Web.Mvc.Controller
'
' GET: /me
Public Function Show() As ActionResult
Dim stuff = {"Hello", "World"}
Return Json(stuff, JsonRequestBehavior.AllowGet)
End Function
'
' PUT: /me
Public Function Update() As ActionResult
Return View()
End Function
End Class
And all I get is…
The resource cannot be found.
no stack trace.
Following Suggestions
Changed Controller to _me and tried the Route Debugger
Now it says there is NO MATCH! but below it says it matches the current request…

must become:
in ASP.NET MVC convention dictates that controller class names are suffixed with
Controller. I don’t know why did you put an _ before your controller name, it is against conventions but if you ever decide to keep it you will have to reflect this in your route definitions as well.Also in your routes replace:
with:
so that your route definition looks like this: