About 166,000 results
Open links in new tab
  1. Make HTTP requests with the HttpClient - .NET | Microsoft Learn

    Learn how to make HTTP requests and handle responses with the HttpClient in .NET.

  2. C# HttpClient - creating HTTP requests with HttpClient in C

    Jul 5, 2023 · C# HttpClient tutorial shows how to create HTTP requests with HttpClient in C#. In the examples, we create simple GET, HEAD, and POST requests.

  3. HttpClient Class (System.Net.Http) | Microsoft Learn

    // HttpClient is intended to be instantiated once per application, rather than per-use. See Remarks. static readonly HttpClient client = new HttpClient(); static async Task Main() { // Call …

  4. Effortlessly Upload Files and Data in .NET applications using HttpClient

    Oct 1, 2024 · HttpClient is a powerful class in the .NET framework enabling developers to easily perform HTTP operations such as sending and receiving data, managing headers, and …

  5. System.Net.Http.HttpClient class - .NET | Microsoft Learn

    Jan 17, 2025 · HttpClient pools HTTP connections where possible and uses them for more than one request. This can have a significant performance benefit, especially for HTTPS requests, …

  6. HttpClient guidelines for .NET - .NET | Microsoft Learn

    Oct 22, 2025 · Learn about using HttpClient instances to send HTTP requests and how you can manage clients using IHttpClientFactory in your .NET apps.

  7. HttpClient Constructor (System.Net.Http) | Microsoft Learn

    HttpClient is intended to be instantiated once and reused throughout the life of an application. Instantiating an HttpClient class for every request will exhaust the number of sockets available …

  8. HttpClient (Java SE 11 & JDK 11 ) - Oracle

    Once built, an HttpClient is immutable, and can be used to send multiple requests. An HttpClient provides configuration information, and resource sharing, for all requests sent through it.

  9. C# HttpClient: The Complete Guide [2023] - Josip Misko

    In this guide, you will learn everything you need to know about using HttpClient. From the basics of making requests to advanced topics such as handling timeouts, authentication, and …

  10. Mastering HttpClient In NET: Best Practices For Secure And …

    HttpClient is a cornerstone of modern .NET applications, enabling HTTP communication with RESTful APIs, microservices, and cloud resources. However, misuse can lead to performance …