Skip to content
/ fluent Public

A modern collection of libraries for .NET applications. Build better .NET applications with fluent, expressive APIs across HTTP, UI, and more.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

lepoco/fluent

πŸš€ Fluent Framework

A modern collection of libraries for .NET applications.

Build better .NET applications with fluent, expressive APIs across HTTP, UI, and more.

GitHub stars License Contributors

Created with ❀️ in Poland by Leszek Pomianowski and open-source community.


πŸ“¦ Packages

Fluent Framework is a collection of independent packages. Use what you need.

Package Description NuGet
Fluent.Client Fluent HTTP client wrapper for clean, chainable requests NuGet
Fluent.Client.AwesomeAssertions Expressive HTTP response assertions for integration tests NuGet

Note

More packages coming soon. Stay tuned!


⚑ Quick Start

HTTP Client

dotnet add package Fluent.Client
using Fluent.Client;

var client = new HttpClient { BaseAddress = new Uri("https://api.example.com/") };

// Clean, fluent HTTP requests
var response = await client
    .Authorize(token: "jwt-token")
    .Post("/api/users", new { Name = "John" });

Testing Assertions

dotnet add package Fluent.Client.AwesomeAssertions
using Fluent.Client.AwesomeAssertions;

// Expressive test assertions
await client
    .Post("/api/users", new { Name = "John" })
    .Should()
    .Succeed("because valid data was provided");

🎯 Philosophy

Fluent Framework follows these principles:

Principle Description
🧩 Modular Use only what you need. Each package is independent.
πŸ“– Readable APIs designed to read like natural language.
πŸ”§ Extensible Easy to extend and customize for your needs.
βœ… Testable Built with testing in mind from the ground up.
πŸš€ Modern Targets latest .NET with modern C# features.

πŸ› οΈ Building from Source

Prerequisites

  • .NET 10 SDK or later
  • Visual Studio 2022, VS Code, or JetBrains Rider

Build

git clone https://github.com/lepoco/fluent.git
cd fluent
dotnet build

Run Tests

dotnet test

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Ways to Contribute

  • πŸ› Report bugs and issues
  • πŸ’‘ Suggest new features or packages
  • πŸ“ Improve documentation
  • πŸ”§ Submit pull requests

πŸ‘₯ Maintainers


πŸ’¬ Support


πŸ“„ License

This project is licensed under the MIT license. See the LICENSE file for details.

You can use it in private and commercial projects. Keep in mind that you must include a copy of the license in your project.

About

A modern collection of libraries for .NET applications. Build better .NET applications with fluent, expressive APIs across HTTP, UI, and more.

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Languages