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
- What is .NET and C#? - Understanding the .NET ecosystem
- What is curl? - Learn about the curl command-line tool
- Understanding Async/Await - Asynchronous programming in C#
- 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:
- ✅ The .NET ecosystem and C# basics
- ✅ How curl works and why it’s powerful
- ✅ Asynchronous programming patterns
- ✅ Making HTTP requests with CurlDotNet
- ✅ Handling responses and errors
- ✅ Best practices for API integration
Additional Resources
- Cookbook - Practical recipes for common tasks
- API Reference - Complete API documentation
- Troubleshooting - Solutions to common issues
- GitHub Repository - Source code and examples
Need Help?
- Check our Troubleshooting Guide
- Ask questions in GitHub Discussions
- Report issues on GitHub Issues
Ready to start? Begin with What is .NET and C#? →