Q:

Best way to get copy of remote XML?

I need access to a couple of XML files on a remote server. Because of the crossdoamin policies, i cannot do it with jQuery alone, but need a small c# .aspx page, which will act as a gateway for my jQuery to fetch the remote xml from a local file. But how would i best go about this page - what is the simplest structure of such a file?

A:

You could use a "Generic Handler" (ASHX file). 
I'll use these kind of files often when sending files to the browser, without the need for an UI (i.e. no visible page content).
In my understanding I see ASHX handlers as "pages without an UI" that have low overhead compared to a normal Page.

