1 year ago
#380439
AndyW
.NET 6 Winforms application how to add sections to app.config
I have a .NET 6 Winform application (C#) with an app.config
and an appsettings
section for which I am using AppSettingsReader
to read the values.
I would like to add the equivalent of System.ServieModel
, however, as soon as I do, the AppSettingsReader
crashes with an unknown section.
Does anyone have an example of adding system.service model (WCF bindings) to a .NET 6 application (not a web app)?
c#
winforms
wcf
.net-6.0
0 Answers
Your Answer