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
preguntada hace 2 meses138 visualizaciones
1 Respuesta
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
respondido hace 2 meses
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas