Dynamic Application Configuration

Applications might require dynamic runtime configuration to allow contact with a service provider, such as an e-mail or database server, determination of available system and network resources, or changes to the user environment to meet with deployment requirements or user preference. The .NET Framework includes support for dynamic properties that can be configured at runtime without requiring a recompilation of the base application.

Using Dynamic Properties

Dynamic properties are managed at runtime by the System. Configuration.AppSettingsReader class. The Visual Studio .NET IDE enables you to define dynamic properties for your application.

You can use dynamic properties only within applications that create an ...

Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.