How to deploy XML file with my web application?

I've written an ASP.net web application. In the interest of following the advice in "The Pragmatic Programmer" to put application logic in configuration, I wrote a large XML file that describes various business rules.When I test the application on my local development workstation, I copy the file to \[code\]c:\xxxxx\myfile.xml\[/code\] and then write the code to read the file from this location.What is the correct way to deploy this xml file as part of my web application so that it gets read from the directory in which the web application is deployed?Update: The XML file in question is for server-side configuration and should never be available for download to the end-user.
 
Back
Top