ASP_MVC webClient tillagd
This commit is contained in:
18
MVCUI/App_Start/RouteConfig.vb
Normal file
18
MVCUI/App_Start/RouteConfig.vb
Normal file
@ -0,0 +1,18 @@
|
||||
Imports System
|
||||
Imports System.Collections.Generic
|
||||
Imports System.Linq
|
||||
Imports System.Web
|
||||
Imports System.Web.Mvc
|
||||
Imports System.Web.Routing
|
||||
|
||||
Public Module RouteConfig
|
||||
Public Sub RegisterRoutes(ByVal routes As RouteCollection)
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}")
|
||||
|
||||
routes.MapRoute(
|
||||
name:="Default",
|
||||
url:="{controller}/{action}/{id}",
|
||||
defaults:=New With {.controller = "Home", .action = "Index", .id = UrlParameter.Optional}
|
||||
)
|
||||
End Sub
|
||||
End Module
|
||||
Reference in New Issue
Block a user