Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Module RouteConfig
- Public Sub RegisterRoutes(ByVal routes As RouteCollection)
- routes.RouteExistingFiles = True
- routes.IgnoreRoute("{resource}.axd/{*pathInfo}")
- routes.MapRoute(
- name:="Home",
- url:="{*Path}",
- defaults:=New With {.controller = "Home", .action = "Index"}
- )
- End Sub
- End Module
Add Comment
Please, Sign In to add comment