" /> PSDK Web App - Custom App - Genesys CTI User Forum

Author Topic: PSDK Web App - Custom App  (Read 1360 times)

Offline genesys_kumar

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
PSDK Web App - Custom App
« on: October 26, 2021, 12:33:25 PM »
Advertisement
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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7640
  • Karma: 56330
Re: PSDK Web App - Custom App
« Reply #1 on: October 26, 2021, 02:54:03 PM »
Would be nice to see what you are trying to do exactly

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: PSDK Web App - Custom App
« Reply #2 on: October 27, 2021, 05:08:38 PM »
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
« Last Edit: October 28, 2021, 04:08:46 AM by hsujdik »

Offline genesys_kumar

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: PSDK Web App - Custom App
« Reply #3 on: November 04, 2021, 02:11:46 PM »
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