Chicago, IL, December 1, 2025 — CurlDotNet, a native .NET implementation of curl, is now available, helping developers run curl commands directly in C# without the error-prone translation to HttpClient. Designed for .NET Framework 4.7.2+, .NET Core 2.0+, and modern .NET 10, Curl DotNet eliminates one of the most common frustrations for .NET developers: converting API documentation, blog posts, or support examples into working code.
Paste curl Commands Directly in C# Across Platforms
Curl DotNet allows developers to execute real curl commands natively, without shelling out to native binaries or dealing with cross-platform quirks. It behaves consistently across:
- Windows
- Linux
- macOS
- Containers and serverless environments
Developers can paste a validated curl command and run it immediately, making it ideal for cloud services, legacy enterprise apps, or microservices platforms.
Three Flexible APIs for Any Workflow
CurlDotNet provides three complementary ways to integrate curl into .NET applications:
- String API – Quickly run raw curl commands for onboarding, health checks, or testing API snippets.
- Fluent CurlRequestBuilder – Type-safe, IntelliSense-friendly builders with methods like WithHeader, WithJson, WithRetry, and FollowRedirects.
- Reusable LibCurl-style Client – Centralizes policies for timeouts, proxies, authentication, and headers, perfect for shared services and production pipelines.
This layered approach lets teams start with simple commands and progressively refactor into maintainable, reusable clients.
Full curl Compatibility & Production-Ready Features
CurlDotNet mirrors hundreds of curl options, supporting:
- HTTP verbs and custom headers
- JSON, form, and file uploads
- Redirects, cookies, and authentication schemes
- SSL/TLS tuning and proxy configuration
- Cross-protocol support: HTTP/1.1, HTTP/2, HTTP/3, FTP/FTPS, and file:// URLs
A robust exception hierarchy provides precise errors for DNS failures, timeouts, TLS issues, and more, often preserving the original curl command for rapid debugging. Observability hooks integrate with OpenTelemetry, Serilog, and Microsoft.Extensions.Logging, enabling structured logging, performance metrics, and CI/CD integration for GitHub Actions, Azure Pipelines, and other runners.
Comprehensive Documentation and Easy Migration
Curl DotNet offers a full docs hub including:
- Beginner tutorials for new .NET developers
- Cookbook recipes for common API tasks
- Detailed API guides comparing the three programming models
- Troubleshooting checklists
Migration guides highlighting HttpClient vs. CurlDotNet side-by-side examples
Teams can adopt CurlDotNet incrementally: install the NuGet package, paste a curl command, enforce success, and refactor to builders or shared clients when ready.
Availability
CurlDotNet is available today on NuGet. Full documentation, examples, and migration guides are available at https://github.com/jacob/curl-dot-net#readme.
About UserLand.NET:
UserLand.NET brings classic Unix tooling to the .NET ecosystem, delivering cross-platform, production-ready managed libraries that improve developer productivity, operational consistency, and cloud-native workflows.
Media Contact:
Organization: CurlDotNet
Website: https://github.com/jacob/curl-dot-net
