I am trying to implement the url routing in my weforms. I've did it partially. Could you please help me to set the routing to the initial page or the index page. In my route map class I've written as following
routes.MapPageRoute("Index","","~/Index.aspx");
and I set as the Index.aspx as the set as start page and run it. But still the url is Index.aspx.
In MVC for the default page we will write the set of lines as below.
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Student", action = "Index", id = UrlParameter.Optional }
);
In Webforms Is there any technique like this???