I'm trying to configure IIS to parse a .xml file just like it would parse a .aspx file. The reason is I have some c# code in a <script> block that does scans some folders and then spits out dynamic xml.
Now normally I'd just do this in a .aspx file, and set the consuming code to grab the .aspx URL for the xml data. But, the consuming code is a legacy .swf file that is hardcoded to consume a .xml file of the same name, and we don't have access to the source .fla file.
I thought that this would be easy... but it's proving to be more difficult than I thought. I've gone into the application configuration in IIS and added the application extension for .xml to be the same as .aspx (Properties -> Home Directory tab -> Configuration), but it seems there's something I'm missing, as now trying to load the .xml file just does nothing, the browser comes back immediately with page can't be found.
Does anyone know how to get IIS and the .Net framework to parse my .xml file?