Search code examples
winformsprovider-model

Has anyone been able to use the .NET provider model with a winforms app?


I've seen oodles of examples for ASP.NET, but none for winforms. In other words, using the app.config instead of web.config. It would be a shame if it did not work.


Solution

  • It works exactly the same. The base provider model is part of System.Configuration, which abstracts (provider!) whether the application is configured via app.config or web.config.