#XElement

read appSettings in configuration file by XElement with xmlns

 https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/how-to-write-queries-on-xml-in-namespacespublicstaticintGetProgramId(string...