I need to implement a hash value, i.e. Url should look like this:
/ home / index / # create
To do this, added the route:
routes.MapRoute( "Default", // Route name "{controller}/{action}/#{detail}", // URL with parameters new { controller = "Login", action = "LogIn", detail =""} // Parameter defaults );
When accessing /home/index/#create it redirects me to the default route.
How can I do that?
asp.net-mvc routes
facebook Apr 6 2018-11-11T00: 00Z
source share