using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SampleWeb { /// <summary> /// Summary description for XmlHandler /// </summary> public class XmlHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/xml"; context.Response.Write("<?xml version=\"1.0\"?>"); context.Response.Write("<exam id=\"math-3\">"); context.Response.Write("<title> Matematik 3. Sınavı </title>"); context.Response.Write("</exam>"); } public bool IsReusable { get { return false; } } } }Dosyayı İndir