As you know, web.config file stores
the configuration information for a particular web application. But sometimes, we need to change these settings at deployment time. This is achieved
using web.config Transformation.
Following link may help you a lot...
Thanks,
Sonia