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