Search results for query: *

  1. lknite

    Resolved System.Configuration.ConfigurationManager on linux not seeing ./App.config or ./app.config in local directory

    Thank you skydiver. For others to find later, looks like ConfigurationManager used in this way is deprecated, I switched to this technique: Configuration.GetSection("appSettings")["marketWSS"], and used the appsettings.json instead. Which involved the use of Dependency Injection (DI) in my...
  2. lknite

    Resolved System.Configuration.ConfigurationManager on linux not seeing ./App.config or ./app.config in local directory

    Everything works on windows but when running inside a linux container the config is seemingly not being read, ConfigurationManager is returning empty values. Is the path different on linux? c#, .net 5.0, up-to-date visual studio 2019, publishing with options Release / net5.0 / Self-contained /...
  3. lknite

    Answered App.config compiled but return null value.

    Were you able to get this working? Everything works for me when I compile and run on my Windows system, but when I compile and run inside a linux container the App.config is seemingly not being read. I tried also renaming to 'app.config' in case it might have been a case sensitive issue...
Back
Top Bottom