13

Closed

MVC IVirtualPathUtility to rewrite CDN hosted paths with UrlHelper.Content

description

Feature request

Allow all Url.Content and similar path resolution to be pluggable to rewrite paths to content on a CDN.
Closed Oct 24, 2013 at 11:41 PM by yishaigalatzer
We looked at this item, and unfortunately this it is too narrow focused to fit into the framework.

There are hardly any calls to this helper, that cannot be overridden directly by the user. Frameworks/sites such as Orchard already provide hookups.

We do want to address the CDN support, but we want to do it at a wider scale than what this suggests and we will look into that for vNext.

This request as it is unfortunately will add a rather narrow extensibility point that will muddy up future API changes, and hence we decided not to take it.

comments

zote wrote Mar 29, 2012 at 2:36 AM

Nice feature! Actually, I have my on method (Url.Content2) that does that for me, but a native implementation would be great!

HongmeiG wrote Sep 10, 2012 at 6:07 PM

This sounds like an interesting feature. Do you have a proposed design or a pull request that we can take a look at?

yishaigalatzer wrote Sep 5, 2013 at 9:36 PM

Moving to 5.1 for consideration by the team