Hi Guys
I'm not sure if I have my question named correctly but here's the issue:
I have an MVC.NET app that is deployed at multiple virtual directories. The reason for this is because we have different versions under various stages of QA.
The problem with this is that in one site the .js references are for
/VirtualDir/scripts/file.js
and on another site it's
/OtherVirtualDir/scripts/file.js
Another aspect of this issue is that I have HtmlHelpers that create links. The problem with this is that I don't have a UrlHelper in the HtmlHelper methods. Is it 'ok' to pass the UrlHelper from the view into the HtmlHelper? Can I get this to generate the tags?
Has anyone else had to deal with these kinds of issues? Any suggestions?
Thanks
Dave