SimplyWorks.CqApi
8.2.6
dotnet add package SimplyWorks.CqApi --version 8.2.6
NuGet\Install-Package SimplyWorks.CqApi -Version 8.2.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimplyWorks.CqApi" Version="8.2.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimplyWorks.CqApi" Version="8.2.6" />
<PackageReference Include="SimplyWorks.CqApi" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SimplyWorks.CqApi --version 8.2.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SimplyWorks.CqApi, 8.2.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SimplyWorks.CqApi@8.2.6
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SimplyWorks.CqApi&version=8.2.6
#tool nuget:?package=SimplyWorks.CqApi&version=8.2.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SW.CqApi - Convention-Based REST API Framework
SW.CqApi eliminates boilerplate code by automatically routing HTTP requests to handler classes based on folder structure and namespaces. Build REST APIs with zero controllers using CQRS patterns and convention-over-configuration.
Quick Start
dotnet add package SimplyWorks.CqApi
// Startup.cs
services.AddCqApi(config =>
{
config.ApplicationName = "My API";
config.UrlPrefix = "api";
});
// Resources/Users/Create.cs → POST /api/users
public class Create : ICommandHandler<CreateUserRequest, int>
{
public async Task<int> Handle(CreateUserRequest request)
{
// Your business logic here
return userId;
}
}
Key Features
- 🚀 Zero Boilerplate: No controllers needed - routes generated from folder structure
- 📋 CQRS Support: Built-in command/query interfaces
- 🔐 Authentication: JWT and role-based security
- 📖 Auto Documentation: OpenAPI/Swagger generation
- ✅ Validation: FluentValidation integration
Full Documentation
For complete documentation, examples, and advanced features, visit:
📚 GitHub Repository & Documentation
Support
- 🐛 Issues
- 💬 Discussions
Made with ❤️ by Simplify9
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- FluentValidation (>= 12.1.1)
- Microsoft.OpenApi.Readers (>= 1.6.28)
- Newtonsoft.Json.Schema (>= 4.0.1)
- Scrutor (>= 7.0.0)
- SimplyWorks.HttpExtensions (>= 8.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.2.6 | 535 | 1/12/2026 |
| 8.2.5 | 124 | 1/12/2026 |
| 8.2.4 | 701 | 12/1/2025 |
| 8.2.3 | 436 | 9/16/2025 |
| 8.2.2 | 355 | 9/16/2025 |
| 8.2.1 | 317 | 9/15/2025 |
| 8.2.0 | 321 | 9/15/2025 |
| 8.1.1 | 227 | 9/14/2025 |
| 8.1.0 | 203 | 9/14/2025 |
| 8.0.7 | 384 | 8/18/2025 |
| 8.0.5 | 395 | 8/11/2025 |
| 8.0.0 | 1,639 | 1/20/2025 |
| 6.1.7 | 2,575 | 11/29/2023 |
| 6.1.5 | 440 | 9/10/2023 |
| 6.1.3 | 278 | 8/23/2023 |
| 6.1.0 | 293 | 7/25/2023 |
| 6.0.5 | 7,137 | 2/14/2023 |
| 6.0.3 | 373 | 2/14/2023 |
| 6.0.1 | 375 | 2/13/2023 |
| 5.0.5 | 7,446 | 6/5/2022 |
Loading failed
See https://github.com/simplify9/SW-CqApi/releases for release notes.