Answer to Question #14927 in C# for Mincy Murali
But to get to the bottom line of your question: Put your media files inside a totally separate directory, then save its location in each app's (WebForms + MVC) Web.config file, and access it by reading the appropriate configuration key. For example:
Your domain could be called static.mysite.com.
It will also help you keep your site (and backoffice) clean from "user generated content", so every time you deploy, you can freely override the whole app and not afraid that you accidentally delete custom user content (the only thing you'll need to worry of is not overriding web.config in the production server).
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!