public static AssetsProvider Bind(string pathAssets) { lock (LockInstance) _assetsProvider = new AssetsProvider(pathAssets); return(_assetsProvider); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); AssetsProvider.Bind(Server.MapPath("~/webpack-assets.json")); }