bypass IIS xml file settings at file/folder level

Posted by Matt Thrower on Stack Overflow See other posts from Stack Overflow or by Matt Thrower
Published on 2010-04-12T10:27:21Z Indexed on 2010/04/12 10:33 UTC
Read the original article Hit count: 362

Filed under:

Hi,

Our site is currently set to pass all files with the xml file extension through the asp.net worker process because all the xml files on the site at the moment are generated dynamically on being hit, by writing the output directly into the response stream.

However we now have a requirement to add a file which is much larger and takes several minutes to generate in this way. I wrote a console app to generate the file and set it to run nightly, but because of the global IIS setting directing xml files to run through asp_wp, it's not being served properly.

I can't seem to find a way to make an exemption for the treatment of a single file in the IIS settings. Is there any other way we can do it?

Cheers, Matt

© Stack Overflow or respective owner

Related posts about iis