Situation
We use migrations to update the database schema and configuration files for all deployments of our web application. Now we have a problem with porting web.config.
current implementation
The migration process performs the following actions:
- Open a database connection
- Read the configuration from web.config to the configuration object
- Get all migrations
- Migration iteration
- Refresh the database schema (connection to the database is passed as a parameter)
- Update configuration object (the configuration object is passed as a parameter)
- Save configuration object
- Close database connection
, , , -, - . . , - .
, web.config . .
, *.config - xml. xml.
, . raw xml.
?