Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GoogleHttpAdapter - Documentation

See original GitHub issue


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:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

garyprettycommented, Jan 15, 2020

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 ->

Please let me know if you have any feedback on the docs.

garyprettycommented, Jan 22, 2020

Closing this issue as the new docs are now in place - they will go out as the preview moves to GA.

Read more comments on GitHub >

github_iconTop 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 >
Transfer tasks between the following systems: Trello, Atlassian JIRA, JIRA Cloud, GitHub, Microsoft Project, Basecamp Classic, Basecamp 2, MantisBT, ...
Read more >
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found