Example #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);

            var formatters = GlobalConfiguration.Configuration.Formatters;
            var jsonFormatter = formatters.JsonFormatter;
            jsonFormatter.SerializerSettings.Converters.Add(new SourceConverter());

            SchedulerWrapper = River.Quartz.SchedulerWrapper.GetSchedulerWrapper();
            SchedulerWrapper.Load();
        }
Example #2
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);

            var formatters    = GlobalConfiguration.Configuration.Formatters;
            var jsonFormatter = formatters.JsonFormatter;

            jsonFormatter.SerializerSettings.Converters.Add(new SourceConverter());

            SchedulerWrapper = River.Quartz.SchedulerWrapper.GetSchedulerWrapper();
            SchedulerWrapper.Load();
        }