maartenba / MvcSiteMapProvider

An ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework.
Microsoft Public License
538 stars 218 forks source link

Changes from "default" Autofac module #428

Closed mwpowellhtx closed 8 years ago

mwpowellhtx commented 8 years ago

Hello,

When I installed for Autofac, code was dropped into my project in the path $(ProjectDir)DI/Autofac/Modules. In and of itself, fair enough. However, I place these in an $(ProjectDir)Integration folder.

So, the question is, there wouldn't be a problem with me moving this code into my Integration folder?

Thank you...

NightOwl888 commented 8 years ago

There is no problem at all with changing the configuration however it suits you. However, I would recommend not keeping the NuGet package in your project if you do this. See these instructions for getting the files into your project without the dependency on the NuGet package.

mwpowellhtx commented 8 years ago

Thanks for the suggestion to create a sync project. That'll help identity what's what.

mwpowellhtx commented 8 years ago

Another obvious question. Mvc.sitemap or Web.sitemap (i.e. if I had added one anticipating needing/wanting one, then found MvcSiteMapProvider)?

Thank you...

NightOwl888 commented 8 years ago

The default file name is Mvc.sitemap, but you can change its name and/or path by editing the Autofac DI module directly.

mwpowellhtx commented 8 years ago

Yes, thank you. :+1: