GoogleHttpAdapter - Documentation
See original GitHub issueHi,
The documentation for the Google Adapter for MVC doesn’t appear to be correct:
services.AddSingleton<IGoogleHttpAdapter>((sp) =>
{
var googleHttpAdapter = new GoogleHttpAdapter(validateRequests: true)
{
OnTurnError = async (context, exception) =>
{
await context.SendActivityAsync("Sorry, something went wrong");
},
ShouldEndSessionByDefault = true,
};
return googleHttpAdapter;
});
As it doesn’t have a parameter called ‘validateRequests’. I’ve tried with the HttpContextAccessor but seem to get ‘Object Reference not set to an instance of an Object’ errors. I have a feeling I have set this part up incorrectly.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Cloud Text-to-Speech API
Synthesizes natural-sounding speech by applying powerful neural network models.
Read more >Discover the Magic of ChatGPT: Python Documentation Made ...
Hello everyone, and welcome to this short tutorial on how to use ChatGPT to document your Python code. ChatGPT is an AI-powered language ......
Read more >Documentation
Transfer tasks between the following systems: Trello, Atlassian JIRA, JIRA Cloud, GitHub, Microsoft Project, Basecamp Classic, Basecamp 2, MantisBT, ...
Read more >Untitled
Other new components include WebSnap for Web ... Botbuilder-community-dotnet: GoogleHttpAdapter - Documentation mountain view middle school cumberland ...
Read more >arc53/DocsGPT: GPT-powered chat for documentation, ...
DocsGPT is a cutting-edge open-source solution that streamlines the process of finding information in project documentation. With its integration of the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have now made the preview of the updated / refactored Google Adapter available via MyGet with all new documentation - you can find the updated docs, which detail how to get access to the preview package here -> https://github.com/BotBuilderCommunity/botbuilder-community-dotnet/blob/feature/google-adapter-refactor/libraries/Bot.Builder.Community.Adapters.Google/README.md
Please let me know if you have any feedback on the docs.
Closing this issue as the new docs are now in place - they will go out as the preview moves to GA.