Friday, February 1, 2008

Creating a page that returns xml to the user - high performance

If you have to return xml, an image or any other type of not-html data you should build an ashx-handler. The ashx-handler does not have all the regular events that is attached to a normal aspx-page, and as a result the performance will be improved.

ASPCode.net have posted a great article about how to build a ashx-handler, with code examples. Read the article here.

0 comments: