How to configure UserSecret in a C# WPF app with IHostBuilder
I managed to configure UserSecret
in a console app where I basically replace App
by Program
, but it seems that the following (simplified) code does not seem to work with a WPF app.
I managed to configure UserSecret
in a console app where I basically replace App
by Program
, but it seems that the following (simplified) code does not seem to work with a WPF app.