Skip to content

Conversation

@AmirhosseinEnayati
Copy link
Contributor

This PR updates the README.md to provide a clearer, modern, and more complete documentation structure for the HttpClientToCurl library.

🔧 Changes Introduced

Added new Quick Usage section with:

Global Registration example using AddHttpClientToCurlInGeneralMode

Specific Registration example using AddHttpClientToCurl

Added a dedicated Manual Usage (⚙️) section for direct usage without registration.

Reorganized the Usage Example order (Quick first, Manual second) for better readability.

Cleaned up headings, icons, and code formatting to improve consistency and GitHub rendering.

Updated overall Markdown structure for better navigation and visual hierarchy.

📘 Motivation

The previous README included only a basic usage example.
These changes make the documentation more developer-friendly by:

Clearly separating automatic (DI-based) and manual usage.

Showing real integration patterns for ASP.NET Core and IHttpClientFactory.

Improving discoverability for contributors and new users.

✅ Outcome

Developers can now:

Quickly register HttpClientToCurl globally or per-client.

Understand configuration differences at a glance.

Copy/paste complete working code samples from the README without extra setup.

@AmirhosseinEnayati AmirhosseinEnayati changed the title Add 'Global Registration' and 'Specific Registration' updates the README.md (Add 'Global Registration' and 'Specific Registration') Nov 7, 2025
Updated README.md to enhance clarity and detail about the HttpClientToCurl library, including usage examples and installation instructions.
@amingolmahalle amingolmahalle merged commit ed7d211 into amingolmahalle:master Nov 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants