Is there any Configuration file in WPF like web.config for web project or app.config in windows Project

Plz Help,

Thankz in advance


Re: Windows Presentation Foundation (WPF) Configuration File

Rob Relyea

Similar to WindowsForms projects, WPF projects will support an app.config file, but the templates don't create one by default.

Ways to get one in your project:

1) Double click on Properties in a project or right click on a project and choose properties, choose Settings tab.


2) Add new item, Application Configuration File

Others may be able to provide more tips for I don't have a ton of experience with .config files...

Thanks, Rob

Rob Relyea | Program Manager, WPF & Xaml Language Team | /blog | /wpf | /xaml

Re: Windows Presentation Foundation (WPF) Configuration File


And you can also use the Settings object via the Project properties and this object if it's more "user settings" rather than just application configuration: