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
已提問 2 個月前檢視次數 138 次
1 個回答
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
已回答 2 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南