I have a common assembly where I put a lot of my helper functions etc. I want to create a common EmbeddedResourceController
(kind of like WebResource.axd was for WebForms) which all my HTML helpers can use to embed and display their scripts and styles. The problem is, I need to be able to create an include path from my HTML helper code in a project agnostic way (ie without knowing any of the routing/controller rules in that project).
Ideally, I want to create an include like <script type="text/javascript" src="/EmbeddedResource/myJsScript.js"></script>
from the helper code and have it work in every project that uses my common dll.