I'm new with mixed success for the new format. I am trying to use the 4.0 routing.
Protected Zero Application_Start (Object Sender, EventArgs e) {RegisterRoutes (RouteTable.Routes); } Public static zero registrations {routes.MapPageRoute ("", "Article / {ID} / {title}", "~ / ar.aspx", true, new rootwolation {{"id", " [0-9] * "}, {" title "," "}}); }
The routing works well on the remote machine along with the local machine. However, I'm unable to figure out how to set routing in such a way that the server ignores routing for images, CSS and scripts, so the only way to read it instead of
I can do this if I put tags, but I'm sure it can be done in another way.
I would appreciate any help on this topic.
Fero
You must have an additional final home route that is < Code> article /
Comments
Post a Comment