I work on asp.net core 7 razor page model . I need to use config file appsettings.json to get value of <barcode> tag
inside barcode i will get tag <nrprinter> and inside tag <nrprinter> I will get text inside <para> tag
so file DefaultValues.xml content as below :
and expected result i need to get is :
so please how to define key and value on appsettings.json and how to get value of text inside barcode-nprinter-para by csharp ?