Esempio n. 1
0
        public void ProcessRequest(HttpContext context)
        {
            //Retrieve the collection object from the cache and write it as a DZC.
            string     cacheKey   = context.Request.Url.Segments[context.Request.Url.Segments.Length - 1];
            Collection collection = (Collection)context.Cache[cacheKey];

            context.Response.ContentType = "text/xml";
            DzcSerializer.Serialize(context.Response.Output, collection);
        }
Esempio n. 2
0
 public void ToDzc(TextWriter textWriter)
 {
     DzcSerializer.Serialize(textWriter, this);
 }