Mini Kabibi Habibi

Current Path : C:/Users/Public/Documents/DXperience 13.1 Demos/Silverlight/Bin/ClientBin/
Upload File :
Current File : C:/Users/Public/Documents/DXperience 13.1 Demos/Silverlight/Bin/ClientBin/RssHandler.ashx.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net;

namespace DevExpress.MailClient.DataService.ClientBin {
    /// <summary>
    /// Summary description for RssHandler
    /// </summary>
    public class RssHandler : IHttpHandler {
        public void ProcessRequest(HttpContext context) {
            context.Response.ContentType = "text/xml";
            using(WebClient client = new WebClient()) {
                context.Response.Write(client.DownloadString(context.Request.QueryString["rssuri"]));
            }
        }

        public bool IsReusable {
            get { return false; }
        }
    }
}