Beispiel #1
0
        protected void Application_Start()
        {
            Gc.init();
            AreaRegistration.RegisterAllAreas();

            // var config = GlobalConfiguration.Configuration;
            // config.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore;

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
        }
 public void init()
 {
     Gc.init(EnumAppType.AppExe);
     db = new BetterlifeNetEntities();
 }