Closed mwpowellhtx closed 8 years ago
Turns out it was an error in my Web.config
. Some examples of the config would still be helpful, like how to specify providers, defaults, etc, etc.
The default configuration is documented here. However, as you mentioned you are using a DI module, the only applicable setting is
<add key="MvcSiteMapProvider_UseExternalDIContainer" value="true"/>
All other settings are provided by the DI module (unless you want to put them into web.config, but that is up to you).
Are any of these necessary?
<add key="MvcSiteMapProvider_IncludeAssembliesForScan" value="Football.Web.AspNet" />
<add key="MvcSiteMapProvider_UseExternalDIContainer" value="true" />
<add key="MvcSiteMapProvider_ScanAssembliesForSiteMapNodes" value="true" />
For instance, I see these represented in the Autofac Module.
Hello,
I added MvcSiteMapProvider out of the box to support sitemaps in my application.
I already have some Autofac being wired up, including replacing the default root with that of the Autofac container.
Now I am receiving this error after adding the provider.
Basically, I think I am looking for basic starting examples of the
Web.config
.Thank you...