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