Example #1
0
        public object Create(object parent, object configContext, XmlNode section)
        {
            WebConfiguration config = new WebConfiguration();

            config.SessionConfig = DeserializeSessionConfig(section);
            return(config);
        }
Example #2
0
 static WebConfiguration()
 {
     Current = ConfigurationManager.GetSection("codeArt.web") as WebConfiguration;
     if (Current == null)
     {
         Current = new WebConfiguration();
     }
 }