public class SiteMap : IHttpHandler {

    public void ProcessRequest (HttpContext context) {
        context.Response.ContentType = "text/xml";
        context.Response.Write(GenerateXmlSitemap());
    }

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


On Wed, Jun 29, 2011 at 2:49 PM, Greg Keogh <[email protected]> wrote:

> >Use a .ashx? ****
>
> Ah ha! That’s the trick. I just have to remember how to write one now –
> Greg****
>



-- 

*Michael Ridland | ThinkSmart Digital*
Managing Director
P. 0404 865 350
E. [email protected]
W. www.thinksmartdigital.com.au
T. www.twitter.com/rid00z
L. au.linkedin.com/in/michaelridland


 <http://au.linkedin.com/in/michaelridland>

Reply via email to