PSDK Web App - Custom App

Hi,
I’m developing a custom web app (Asp.Net Core WebAPI) to connect Config Server. When creating protocol, i’m getting error like "The type initializer for ‘Genesyslab.Platform.Configuration.Protocols.ConfServerProtocol’ threw an exception..’

any idea?

Thanks,
Kumar

Would be nice to see what you are trying to do exactly

I remember that when working with psdk+dotnet core, you need to install a couple of Nuget packages. Did you install any?

Edit:
I reviewed some codes, and those are the packages that I had to install for psdk to work along with .net core:

System.Configuration.ConfigurationManager
System.Diagnostics.PerformanceCounter

I apologize for the delay response.

I’ve developed PSDK code in .Net framework 4.8 but web API in Asp.Net Core, i understand PSDK code also developed in .Net Core to work in Asp.Net Core

So i’m modifying web api code in Asp.Net so i’m good with this issue.

Thanks for the response.

Kumar