I need two .aspx pages in C# that will return pre generated xml files.
one page will return always the same file; the other will return a file based on a parameter passed (parameter name: ID) in case a non existent file is requested a default file will be returned.
## Deliverables
I need a .Net solution in C# with two pages that will return pre generated xml files (this is a temporary solution)
This solution will be hosted in it's own domain.
The first page: "[login to view URL]" will return always the contents of the same file; it can be set as a constant, the file name is: "[login to view URL]" in case the file does not exist a standard 404 error must be returned.
The second page: "[login to view URL]" will return the contents of an xml file based on the parameter passed, for example the url: [login to view URL] should return the file "[login to view URL]" in case the parameter is not set or the file does not exist an standard 404 error page should be returned.
the files will be in a folder named "xmlfiles" in the same folder as the aspx pages.
the solution should work with .Net 3.0SP1