is there a way to achieve calling URL http://mywebsite/myarea/mycontroller/myaction.xml This would basically \"fake\" requesting a file but the result would be
http://mywebsite/myarea/mycontroller/myaction.xml
You need to map requests for your XML files to TransferRequestHandler in web.config. Otherwise IIS will handle the request.
TransferRequestHandler
Jon Galloway explains how to do this here.
In summary, you add this element to location/system.webServer/handlers in your web.config: