Are you saying that a user comes to your site and types and clicks 500,000 characters which you then need to send to the server. Best practice would be to change your design.
Are you saying that the value of an order could be 500k dollars and you are interested in a secure approach?
More details are needed but my first guess is that the design is need of fixing.
None
0 Points
181 Posts
HTTPClient and large Orders
Mar 24, 2021 06:58 PM|Sam Solomon|LINK
I want to know the best practice of using HTTPClient class to support 500K orders. A sample code will be highly appreciated.
All-Star
53711 Points
24031 Posts
Re: HTTPClient and large Orders
Mar 24, 2021 07:22 PM|mgebhard|LINK
Is 500K the content length of the request? What is the content type?
I recommend reading the reference docs and see if they answer your questions.
https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-5.0
https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-5.0
Participant
1660 Points
952 Posts
Re: HTTPClient and large Orders
Mar 24, 2021 10:11 PM|PaulTheSmith|LINK
Are you saying that a user comes to your site and types and clicks 500,000 characters which you then need to send to the server. Best practice would be to change your design.
Are you saying that the value of an order could be 500k dollars and you are interested in a secure approach?
More details are needed but my first guess is that the design is need of fixing.