Как можно сделать динамические панировки с помощью ASP.net MVC?
Если вам интересно, какие сухари:
Что такое панировочные сухари? Хорошо, если вы когда-либо просматривали интернет-магазин или читали сообщения в форуме, вы, скорее всего, столкнулись с сухарями. Они обеспечивают простой способ увидеть, где вы находитесь на сайте. Сайты, такие как Craigslist, используют панировочные сухари для описания местоположения пользователя. Над списками на каждой странице есть что-то похожее на это:
s.f. bayarea craigslist > город Сан-Франциско > велосипеды
ИЗМЕНИТЬ
Я понимаю, что возможно с SiteMapProvider. Я также знаю о провайдерах в сети, которые позволят вам сопоставлять sitenodes с контроллерами и действиями.
Но как насчет того, когда вы хотите, чтобы текст breadcrumb соответствовал некоторому динамическому значению, например:
Главная > Продукты > Автомобили > Toyotap >
Главная > Продукты > Автомобили > Chevy
Главная > Продукты > Оборудование для проведения работ > Электрический стул
Главная > Продукты > Оборудование для выполнения работ > Галлоны
... где категории продуктов и продукты являются записями из базы данных. Некоторые ссылки должны быть определены статически (Домой наверняка).
Я пытаюсь понять, как это сделать, но я уверен, что кто-то уже сделал это с ASP.net MVC.