Equivalent to GetWebResourceUrl for ASP.NET MVC?

In the old days of ASP.NET, you could use Page.ClientScript.GetWebResourceUrl to get the URL that the embedded resource would retrieve through the WebResource.axd HttpHandler.

MVC does not seem to have ClientScript (or Page, for that matter). I cannot find anything comparable to this. I waved MSDN and I even looked for it on bing and did not find much.

Although I could, of course, write this functionality and possibly have / Scripts / controller - I wanted to see if there is a direct equivalent or preferred pattern for implementing this function. Thanks

+8
asp.net-mvc
source share
1 answer

Check out ASP.NET MVC - Web Resource Extraction , hope this helps.

+8
source share

All Articles