Ahoj kluci,
mam takovyhle problem, chci si zacit hrat s novym URL Routingem, ale uz na zacatku jsem narazil na problem.
Prohledal jsem fora, navody, koupil knizku, ale porat ten URL Routing nemuzu rozbehat.
Postup by mel byt nasledovni:
v GLOBAL.ASAX si zaregistruju routy:
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
RegisterRoutes(System.Web.Routing.RouteTable.Routes)
End Sub
Shared Sub RegisterRoutes(ByVal routes As System.Web.Routing.RouteCollection)
routes.MapPageRoute("WebHome", "home", "~/Default.aspx")
End Sub
a po kompilaci a spusteni by me melo fungovat www.adresa.cz/home, ale namisto toho se zjevi chyba 404.
Co delam spatne? Dekuju za nakopnuti :)