I have a db connection string 'ApplicationServices' defined in the connectionString section in the web.config and 3 Entity Framework files that have the provider connection string attribute with the same connection string as the string in "ApplicationServices".
Is there a way to reference the connectionString in "ApplicationServices" for the connection string attribute of the EF connection string provider in the web.config file, instead of providing the connection string again? This will reduce the number of errors and facilitate the deployment of the application.
source
share