I have a MVC3 application with some XML files on the App_Data folder. To prevent these files been overwritten with the new builds, the team responsible for the publication to the web suggest to add some code in the Global.asax file to check, when the application starts, if the files on App_Data already exists, and then update the files from other folder (XML_Templates) ONLY if they NOT exist on the App_Data folder.
Any suggestion how can I code this logic in the Global.asax file?
Thanks in advance.
I have a MVC3 application with some XML files on the App_Data folder. To
Share
1 Answer