Looking for an example Discovery response to a ALEXA SMARTHOME skill in .NET

0

I've been able to get this to work in Nodejs, but I'm missing something about how I need to respond to the Alexa.Discovery request using .net.

the JSON I send back is identical .. but I believe I need to be doing something to wrap the response differently perhaps ? .. I did notice that the response from .net is string formatted (has " for the json quotes) where the nodejs does not ..

Steve
gefragt vor 2 Monaten138 Aufrufe
1 Antwort
0

Ok what was not obvious to me was that the FunctionHandler needed to return an object and not a json string. I was serializing the response .. then I guess the LambdaSerializer was re-serializing or something causing it not to work.

Steve
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen