// private static WebTransformConfiguration transformConfig;
 public RequestSerializer()
 {
     if ( ser == null )
     {
         ser = new XmlTypeSerializer();
         ser.XmlAttributeOverrideMappingEvent += new XmlAttributeOverrideMappingHandler(ser_XmlAttributeOverrideMappingEvent);
         ser.AddSerializerCache(typeof(WebRequest), "WebRequest");
     }
 }
 /// <summary>
 /// Creates a new DesignerPageSettingsHandler.
 /// </summary>
 public DesignerPagesSettingsHandler()
 {
     if ( ser == null )
     {
         ser = new XmlTypeSerializer();
         ser.XmlAttributeOverrideMappingEvent += new XmlAttributeOverrideMappingHandler(ser_XmlAttributeOverrideMappingEvent);
         ser.AddSerializerCache(typeof(DesignerPagesConfiguration), "DesignerPagesConfiguration");
     }
 }
 /// <summary>
 /// Creates a new DesignerPageSettingsHandler.
 /// </summary>
 public WebTransformConfigurationHandler()
 {
     if ( ser == null )
     {
         ser = new XmlTypeSerializer();
         ser.XmlAttributeOverrideMappingEvent += new XmlAttributeOverrideMappingHandler(ser_XmlAttributeOverrideMappingEvent);
         ser.AddSerializerCache(typeof(WebTransformConfiguration), "WebTransformConfiguration");
     }
 }
        /// <summary>
        /// Updates the serializer.
        /// </summary>
        public static void UpdateSerializer()
        {
            if ( serializer.HasCache("ScriptingApplication") )
            {
                serializer.RemoveSerializerCache("ScriptingApplication");
                serializer = new XmlTypeSerializer();

                // update
                // Initiate serializer.
                ScriptingApplicationSerializer init = new ScriptingApplicationSerializer();
            }
        }