Exemple #1
0
        /// <summary>
        /// If using this method it is assumed all configurations are in the web.config, but the services may still be overridden with the dependency resolver
        /// </summary>
        public static void Initialize()
        {
            var configValues = new StandardConfigProvider().Section <MeekConfigurationSection>("meek");
            var config       = new DefaultConfiguration(configValues);

            Configure(config);
        }
Exemple #2
0
 /// <summary>
 /// If using this method it is assumed all configurations are in the web.config, but the services may still be overridden with the dependency resolver
 /// </summary>
 public static void Initialize()
 {
     var configValues = new StandardConfigProvider().Section<MeekConfigurationSection>("meek");
     var config = new DefaultConfiguration(configValues);
     Configure(config);
 }