Skip to the content.

CurlDotNet Tutorials

Welcome to the CurlDotNet tutorials! These step-by-step guides will help you learn how to use CurlDotNet effectively.

What is CurlDotNet?

CurlDotNet is the pure .NET implementation of curl that allows C# developers to execute curl commands directly in their applications. No translation required, no shell execution, just paste any curl command and it works!

Installation

Install CurlDotNet from NuGet: CurlDotNet on NuGet

dotnet add package CurlDotNet

Tutorial Series

Getting Started with .NET and CurlDotNet

  1. What is .NET and C#? - Understanding the .NET ecosystem
  2. What is curl? - Learn about the curl command-line tool
  3. Understanding Async/Await - Asynchronous programming in C#
  4. Your First Request - Make your first HTTP request with CurlDotNet

Learning Path

Complete Beginner?

Start with tutorial #1 to understand .NET, then progress through each tutorial in order.

Know .NET but New to curl?

Jump to tutorial #2 to understand curl, then move to tutorial #4 for practical examples.

Experienced Developer?

Go straight to tutorial #4 to see CurlDotNet in action.

Quick Example

Here’s a simple example to get you started:

using CurlDotNet;

// Your first CurlDotNet request
var result = await Curl.ExecuteAsync("curl https://api.github.com");
Console.WriteLine(result.Body);

What You’ll Learn

By completing these tutorials, you’ll understand:

Additional Resources

Need Help?


Ready to start? Begin with What is .NET and C#?