CraftersCloud.Core.SmartEnums
1.0.34
dotnet add package CraftersCloud.Core.SmartEnums --version 1.0.34
NuGet\Install-Package CraftersCloud.Core.SmartEnums -Version 1.0.34
<PackageReference Include="CraftersCloud.Core.SmartEnums" Version="1.0.34" />
paket add CraftersCloud.Core.SmartEnums --version 1.0.34
#r "nuget: CraftersCloud.Core.SmartEnums, 1.0.34"
// Install CraftersCloud.Core.SmartEnums as a Cake Addin #addin nuget:?package=CraftersCloud.Core.SmartEnums&version=1.0.34 // Install CraftersCloud.Core.SmartEnums as a Cake Tool #tool nuget:?package=CraftersCloud.Core.SmartEnums&version=1.0.34
CraftersCloud Core
CraftersCloud Core is a set of .NET libraries that provides infrastructure and utilities for building applications with Minimal Api, Entity Framework and MediatR.
It includes features such as domain event handling, transaction management, smart enums, swagger, repository implementations, health-checks, authentication/authorization, unit testing and more.
Features
- AspNetCore
- Minimal Api
- Authorization
- Error handling
- Validation
- Core
- Domain events
- Entities, Repositories, Unit of work
- Paging
- Command/Queries
- Results
- Various utilities and extensions
- Core.Mediatr
- Mediatr integration (e.g. Validation, Logging)
- EntityFramework
- Seeding
- Extensions for the IQueryable interface
- EntityFramework.Infrastructure
- MediatR pipeline for the transaction management
- Unit of work implementation
- Entity framework repository implementation
- MediatR pipeline for the publishing of the domain events
- EventBus
- TBD
- HealthChecks
- Authorization
- Health-check registration extensions
- Infrastructure
- Default TimeProvider implementation
- IntegrationEvents
- Support for integration events
- SmartEnums
- Provides support for Smart enums (based on Ardalis.SmartEnum library)
- SmartEnums.EntityFramework
- Provides support for persisting smart enums with Entity Framework
- SmartEnums.Swagger
- Provides support for generating Swagger documentation for smart enums
- SmartEnums.SystemTextJson
- Provides support for (de)serialization of SmartEnums
- SmartEnums.VerifyTests
- Provides support for serialization of SmartEnums in Verify tests
- Swagger
- Swagger generation utilities
- TestUtilities
- Various test utilities
Getting Started
Prerequisites
- .NET 9.0 SDK
- Visual Studio or JetBrains Rider
Installation
To install the library, add any of the following packages starting with "CraftersCloud.Core" to your project:
dotnet add package CraftersCloud.Core
or
dotnet add package CraftersCloud.AspNetCore
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. |
-
net9.0
- Ardalis.SmartEnum (>= 8.2.0)
- CraftersCloud.Core (>= 1.0.34)
- JetBrains.Annotations (>= 2024.3.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on CraftersCloud.Core.SmartEnums:
Package | Downloads |
---|---|
CraftersCloud.Core.SmartEnums.SystemTextJson
Core SmartEnums for SystemTextJson |
|
CraftersCloud.Core.SmartEnums.Swagger
Core SmartEnums for Swagger |
|
CraftersCloud.Core.SmartEnums.EntityFramework
Core SmartEnums for EntityFramework |
|
CraftersCloud.Core.SmartEnums.VerifyTests
Core SmartEnums for VerifyTests |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.34 | 0 | 1/14/2025 |
1.0.33 | 0 | 1/14/2025 |
1.0.32 | 45 | 1/13/2025 |
1.0.30 | 38 | 1/13/2025 |
1.0.28 | 101 | 1/3/2025 |
1.0.27 | 150 | 1/3/2025 |
1.0.26-alpha.0.1 | 65 | 1/3/2025 |
1.0.25 | 102 | 1/3/2025 |
1.0.25-alpha.0.1 | 63 | 1/3/2025 |
1.0.23 | 104 | 1/3/2025 |
1.0.23-alpha.0.1 | 66 | 1/3/2025 |
1.0.22 | 109 | 1/3/2025 |
1.0.22-alpha.0.1 | 68 | 1/3/2025 |
1.0.21 | 107 | 1/3/2025 |
1.0.21-alpha.0.9 | 69 | 1/3/2025 |
1.0.21-alpha.0.8 | 45 | 1/2/2025 |
1.0.21-alpha.0.7 | 52 | 12/16/2024 |
1.0.21-alpha.0.6 | 51 | 11/22/2024 |
1.0.21-alpha.0.4 | 45 | 11/22/2024 |
1.0.20 | 105 | 11/22/2024 |
1.0.20-alpha.0.4 | 49 | 11/22/2024 |
1.0.20-alpha.0.1 | 46 | 11/22/2024 |
1.0.19 | 106 | 11/17/2024 |
1.0.18 | 113 | 11/15/2024 |
1.0.18-alpha.0.1 | 44 | 11/15/2024 |
1.0.16 | 118 | 11/8/2024 |
1.0.16-alpha.0.1 | 47 | 11/8/2024 |
1.0.15 | 124 | 11/8/2024 |
1.0.15-alpha.0.1 | 49 | 11/8/2024 |
1.0.14 | 117 | 11/8/2024 |
1.0.14-alpha.0.3 | 45 | 11/8/2024 |
1.0.14-alpha.0.2 | 47 | 11/8/2024 |
1.0.13 | 272 | 11/4/2024 |
1.0.13-alpha.0.1 | 50 | 11/4/2024 |
1.0.12 | 158 | 10/22/2024 |
1.0.12-alpha.0.1 | 41 | 10/22/2024 |
1.0.11 | 172 | 10/18/2024 |
1.0.11-alpha.0.1 | 92 | 10/18/2024 |
1.0.10 | 115 | 10/17/2024 |
1.0.9-alpha.0.3 | 44 | 10/17/2024 |
1.0.9-alpha.0.2 | 49 | 10/17/2024 |
1.0.9-alpha.0.1 | 43 | 10/17/2024 |
1.0.8 | 103 | 10/17/2024 |
1.0.7 | 109 | 10/17/2024 |
1.0.7-alpha.0.3 | 48 | 10/17/2024 |
1.0.7-alpha.0.1 | 56 | 10/4/2024 |
1.0.6 | 126 | 9/20/2024 |
1.0.6-alpha.0.1 | 53 | 9/20/2024 |
1.0.5 | 170 | 9/20/2024 |
1.0.5-alpha.0.1 | 54 | 9/20/2024 |
1.0.4 | 122 | 9/20/2024 |
1.0.4-alpha.0.3 | 50 | 9/20/2024 |
1.0.4-alpha.0.2 | 53 | 9/20/2024 |
1.0.4-alpha.0.1 | 47 | 9/20/2024 |
1.0.3 | 128 | 9/20/2024 |
1.0.3-alpha.0.1 | 53 | 9/20/2024 |
1.0.2 | 147 | 9/20/2024 |
1.0.2-alpha.0.2 | 61 | 9/20/2024 |