Posted on: 3/7/2015 10:55:09 PM | Views : 577

Imagine you're building the new version of an online shop with this domain:  shop.xyz.com
The current production (aka public) version has hundreds of products on it.
Internally at your office, you and your colleagues have modified your Hosts files so that shop.xyz.com points to an internal server.  So the work you're doing is modifying the development version and you're seeing the data from the development version of the database.
Now, before publishing the new site and the new version of the DB live, your boss asks you to do a comparison of the product descriptions (5 to 10 words each) for each of the hundreds of products.  While you could write some screenscrape algorithm to get the descriptions from the production version, unfortunately your Hosts file is restricting you to looking at the Development version.
Question: Is there some way within ASP.NET to override the values in the Hosts files? Robe ...

Go to the complete details ...