<%@ WebHandler Language="C#" Class="XamlGen" %>
using System;
using System.Web;
public class XamlGen : IHttpHandler
{
public void ProcessRequest (HttpContext context)
{
context.Response.ContentType = "text/xaml";
context.Response.Write(" "xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>" +
"XAML content " +
"[generated at " + DateTime.Now + "] " +
" ");
}
public bool IsReusable
{
get {return true;}
}
}