<p>I know you could make a helper pretty easily given the data. So, if possible, please only submit answers that also include getting the data.</p>

[{'answer_id': 67644, 'author': 'Matt Hinze', 'author_id': 2676, 'author_profile': 'https://Stackoverflow.com/users/2676', 'pm_score': 5, 'selected': True, 'text': '<p>We are using an action filter for this. </p>\n\n<p>...</p>\n\n<pre><code>    public override void OnActionExecuting(ActionExecutingContext filterContext)\n    {\n        var controller = (Controller) filterContext.Controller;\n        Breadcrumb[] breadcrumbs = _breadcrumbManager.PushBreadcrumb(_breadcrumbLinkText);\n        controller.ViewData.Add(breadcrumbs);\n    }\n</code></pre>\n\n<p>before you mention it, I too have a distaste for service location in the filter attributes - but we are left with few options.  IBreadcrumbManager looks like this:</p>\n\n<pre><code>public interface IBreadcrumbManager\n{\n    Breadcrumb[] PushBreadcrumb(string linkText);\n}\n</code></pre>\n\n<p>The implementation puts Breadcrumb objects into the Session. The Url is <code>HttpContext.Current.Request.RawUrl</code></p>\n'}, {'answer_id': 110283, 'author': 'Matt Hinze', 'author_id': 2676, 'author_profile': 'https://Stackoverflow.com/users/2676', 'pm_score': 2, 'selected': False, 'text': '<p>@Chris: something like this:</p>\n\n<pre><code>        &lt;% \n        foreach (var item in ViewData.Get&lt;Breadcrumb[]&gt;())\n            {\n        %&gt;\n                &lt;a href="&lt;%= Server.HtmlEncode(item.Url) %&gt;"&gt;&lt;%= item.LinkText %&gt;&lt;/a&gt; &amp;raquo;\n        &lt;% \n            } \n        %&gt;\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/66009', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1946/']