lundi 25 avril 2016

how to add ref to bundle from mvc controller using https in ref

when i add https links as an ref in bundle it is not working, this is my controller code

  public async Task<JsonNetResult> GetCustomePageById(string customepagetemplateid)
        TemplateEacpViewModel model = null;
        resource = "/api/custompagetemplates/" + customepagetemplateid;
        var data = await Get<CustomPageTemplateDetailModel>();
        model = JsonConvert.DeserializeObject<TemplateEacpViewModel>(data.Data.JsonData);
           BundleCollection bundles= new BundleCollection ();
           bundles.Add(new ScriptBundle("~/bundles/scripts/customPages").Include(""));

        return new JsonNetResult { Data = model };

Aucun commentaire:

Enregistrer un commentaire