public static string Asset(this ActionContext actionContext, string resourceName, UriKind outputType = UriKind.Relative)
        {
            WebControlsUrlExtensions.PopulateWebControlsOptionsOnce(actionContext.HttpContext);

            var urlHelper  = WebControlsUrlExtensions.UrlHelperFactory.GetUrlHelper(actionContext);
            var assetsRoot = actionContext.HttpContext.Request.GetApplicationUri(UriKind.Relative, WebControlsUrlExtensions.WebControlsOptions.AssetsRootPath, resourceName);

            return(assetsRoot.ToString());
        }
        public static string Asset(this IUrlHelper url, string resourceName, UriKind outputType = UriKind.Relative)
        {
            WebControlsUrlExtensions.PopulateWebControlsOptionsOnce(url.ActionContext.HttpContext);

            return(url.ActionContext.Asset(resourceName, outputType));
        }