Need a BodyAsString extension method
See original GitHub issueIt would be nice to have a BodyAsString()
method off of HttpRequest.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Extension Methods - C# Programming Guide
Extension methods in C# enable you to add methods to existing types without creating a new derived type, recompiling, or otherwise modifying ...
Read more >What does the extension method do in c# and why do you ...
Extension Methods allow an existing type to be extended with new methods without changing the definition of the original.
Read more >When to write extension methods for your own classes?
An extension method allows you to have this method globally accessible within your project (and possible consumers of your project), ...
Read more >Java's Missing Feature: Extension Method
An extension method means to add methods to an existing type without creating a new derived type, recompiling, or modifying the existing type....
Read more >Reading the raw request body as a string in ASP.NET Core
ASP.NET MVC model binding is great, but occasionally you just need to access the body of a request as a raw string within...
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 FreeTop 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
Top GitHub Comments
Yup it would come off HttpRequest and probably end up in this folder https://github.com/jchannon/Botwin/tree/master/src/Request as a StreamExtensions.cs
@leomicheloni - @BugAgain has sent a PR so I think they have it covered. Feel free to spot anything that needs changing/adding and raise an issue and if relevant you can setup a PR. Keep an eye out on the labels on the issues too. Thanks