ASP.NET Site NavigationMay 29, 2015
You can use ASP.NET site-navigation features to provide a consistent way for users to navigate your site. As your site grows, and as you move pages around in the site, it can become difficult to manage all of the links. ASP.NET site navigation enables you to store links to all of your pages in a central location, and render those links in lists or navigation menus on each page by including a specific Web server control. To create a consistent, easily managed navigation solution for your site, you can use ASP.NET site navigation. Below are some ASP.NET site navigation features like :
- Site maps : You can use a site map to describe the logical structure of your site. You can then manage page navigation by modifying the site map as pages are added or removed, instead of modifying hyperlinks in all of your Web pages.
- ASP.NET controls : You can use ASP.NET controls to display navigation menus on your Web pages. The navigation menus are based on the site map.
- Programmatic control : You can work with ASP.NET site navigation in code to create custom navigation controls or to modify the location of information that is displayed in a navigation menu.
- Access rules : You can configure access rules that display or hide a link in your navigation menu.
- Custom site-map providers: You can create custom site-map providers that allow you to work with your own site-map back end (for example, a database where you store link information) and plug your provider into the ASP.NET site-navigation system.