ASP.NET web.config: configSource vs. file attributes

Within an web.config-file in an ASP.NET-application some sections of config, like appSettings and connectionStrings, supports the attributes file and configSource. What is the difference between using the file-attribute and the configSource-attribute? When should you use which attribute and can you use both? <?xml version=”1.0″?> <configuration> <appSettings file=”AppSettings.config”> </appSettings> <connectionStrings configSource=”ConnectionStrings.config”> </connectionStrings> <!– … –> </configuration> … Read more