You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking at defaulting the page title of a view to the one used in the Mvc.sitemap file. I'm using Autofac in the project, so installed the Autofac extension for the SiteMapProvider and set everything up and the breadcrumbs are still appearing, so far, so good.
However, when I inject ISiteMap or ISiteMapNode into a controller constructor, Autofac complains it cannot find them.
Any suggestions welcomed, and would I better injecting ISiteMap, ISiteMapNode or something else?
Thanks in advance
The text was updated successfully, but these errors were encountered:
I'm looking at defaulting the page title of a view to the one used in the Mvc.sitemap file. I'm using Autofac in the project, so installed the Autofac extension for the SiteMapProvider and set everything up and the breadcrumbs are still appearing, so far, so good.
However, when I inject ISiteMap or ISiteMapNode into a controller constructor, Autofac complains it cannot find them.
Any suggestions welcomed, and would I better injecting ISiteMap, ISiteMapNode or something else?
Thanks in advance
The text was updated successfully, but these errors were encountered: