Tony.alex

Hi,

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

Plz Help,

Thankz in advance

Tony



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.

or

2) Add new item, Application Configuration File

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

Thanks, Rob

Rob Relyea | Program Manager, WPF & Xaml Language Team

robrelyea.com | /blog | /wpf | /xaml





Re: Windows Presentation Foundation (WPF) Configuration File

WPCoder

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:

http://msdn2.microsoft.com/en-us/library/system.configuration.applicationsettingsbase.aspx