Sels.ObjectValidationFramework 6.0.0-beta-000318

This is a prerelease version of Sels.ObjectValidationFramework.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Sels.ObjectValidationFramework --version 6.0.0-beta-000318
                    
NuGet\Install-Package Sels.ObjectValidationFramework -Version 6.0.0-beta-000318
                    
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="Sels.ObjectValidationFramework" Version="6.0.0-beta-000318" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sels.ObjectValidationFramework" Version="6.0.0-beta-000318" />
                    
Directory.Packages.props
<PackageReference Include="Sels.ObjectValidationFramework" />
                    
Project file
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 Sels.ObjectValidationFramework --version 6.0.0-beta-000318
                    
#r "nuget: Sels.ObjectValidationFramework, 6.0.0-beta-000318"
                    
#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 Sels.ObjectValidationFramework@6.0.0-beta-000318
                    
#: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=Sels.ObjectValidationFramework&version=6.0.0-beta-000318&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Sels.ObjectValidationFramework&version=6.0.0-beta-000318&prerelease
                    
Install as a Cake Tool

Framework for creating typed validation profiles using a fluent syntax.
Features:
- Typed validation profiles like AutoMapper
- Fluent syntax for creating validation rules
- Profiles can return a custom error message type
- Automatically traverses the hierarchy of an object to validate everything when validation exist for the type (Custom typed properties and collections are detected)
- Support for typed context objects that can be passed onto the validation profiles to provide the rules with more information (For example the lifecycle of the object, the old state in case of updates, ...)
- Custom info objects for validation delegates that contain extra information about the value currently being validated (Like it's source, if the value is part of a collection, the parent hierarchy, ...)
- Async support
- Extension methods for common validation rules
- Default error messages for extension methods when using String as error message type
- Dependency injection through IValidator interface
- Extension methods for validating IOptions instances

Start by inheriting from Sels.ObjectValidationFramework.Profile.ValidationProfile<TError>

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Sels.ObjectValidationFramework:

Package Downloads
Sels.Core.Mediator

Library containing code for sending messages to other subscribing objects within the same process. Used by projects maintained here: https://github.com/Jenssels1998

Sels.SQL.QueryBuilder

Framework for creating sql queries using fluent builders. Uses a (somewhat) easy to extend expression system that gets compiled into SQL using compilers. Can be used for simple queries or more advanced queries (Joins, conditions (WHERE), sub queries, order by, group by, functions (MIN, AVG, ...), Union, case when then else, ...) Supports the following sql statements: - Insert - Update - Delete - Select - Common table expressions (CTE) - If, else if, else - Declare variable - Set variable Use IServiceCollection.AddSqlQueryProvider() or IServiceCollection.AddCachedSqlQueryProvider to inject ISqlQueryProvider or ICachedSqlQueryProvider to start building sql queries. Official compilers: - Sels.SQL.QueryBuilder.MySQL

Sels.SQL.QueryBuilder.MySQL

MySQL compiler for Sels.SQL.QueryBuilder. Supports MySQL and MariaDB. Custom expressions: - SELECT FOR UPDATE - INSERT ON DUPLICATE KEY - SELECT LIMIT - RECURSIVE Cte - MariaDB RETURNING - NOW, UTC_TIMESTAMP, DATE_ADD, CONCACT functions Start creating queries using one of the following static helper methods: - Sels.SQL.QueryBuilder.MySQL.MySql.Insert(); - Sels.SQL.QueryBuilder.MySQL.MySql.Update(); - Sels.SQL.QueryBuilder.MySQL.MySql.Delete(); - Sels.SQL.QueryBuilder.MySQL.MySql.Select(); - Sels.SQL.QueryBuilder.MySQL.MySql.With(); - Sels.SQL.QueryBuilder.MySQL.MySql.If(); - Sels.SQL.QueryBuilder.MySQL.MySql.Set(); Use IServiceCollection.AddMySqlQueryProvider() or IServiceCollection.AddCachedMySqlQueryProvider to inject ISqlQueryProvider or ICachedSqlQueryProvider to start building MySQL queries.

Sels.DistributedLocking.Memory

Locking provider using an in-memory store for inner process distributed locks. Provider can be added to the service container using the IServiceCollection.AddMemoryLockingProvider() extension method. Inject Sels.DistributedLocking.Provider.ILockingProvider to start placing distributed locks.

Sels.Core.Async

Library with components/services that make use of the TPL / Thread Pool. Used by projects maintained here: https://github.com/Jenssels1998

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.0-beta-000345 238 11/25/2024
6.0.0-beta-000343 239 11/6/2024
6.0.0-beta-000337 277 8/18/2024
6.0.0-beta-000331 264 6/25/2024
6.0.0-beta-000330 249 6/25/2024
6.0.0-beta-000325 310 4/26/2024
6.0.0-beta-000322 293 4/3/2024
6.0.0-beta-000321 284 4/1/2024
6.0.0-beta-000319 310 1/29/2024
6.0.0-beta-000318 263 1/28/2024
6.0.0-beta-000314 272 1/26/2024
6.0.0-beta-000313 286 1/20/2024
6.0.0-beta-000312 324 1/7/2024
6.0.0-beta-000311 337 1/3/2024
6.0.0-beta-000310 305 1/2/2024
6.0.0-beta-000309 331 12/28/2023
6.0.0-beta-000308 292 12/22/2023
6.0.0-beta-000307 321 12/8/2023
6.0.0-beta-000306 301 12/8/2023
6.0.0-beta-000301 319 10/22/2023
6.0.0-beta-000300 272 10/15/2023
6.0.0-beta-000299 269 10/15/2023
6.0.0-beta-000298 254 10/12/2023
6.0.0-beta-000297 303 9/18/2023
6.0.0-beta-000296 324 9/7/2023
6.0.0-beta-000295 300 9/6/2023
6.0.0-beta-000294 323 9/6/2023
6.0.0-beta-000293 351 9/6/2023
6.0.0-beta-000292 231 9/4/2023
6.0.0-beta-000291 207 9/4/2023
6.0.0-beta-000290 244 8/17/2023
6.0.0-beta-000287 236 8/15/2023
6.0.0-beta-000286 211 7/16/2023
6.0.0-beta-000281 230 5/14/2023
6.0.0-beta-000280 251 5/13/2023
6.0.0-beta-000279 241 5/13/2023
6.0.0-beta-000278 232 5/13/2023
6.0.0-beta-000277 243 5/13/2023
6.0.0-beta-000276 254 5/7/2023
6.0.0-beta-000275 252 4/28/2023
6.0.0-beta-000274 238 4/16/2023
6.0.0-beta-000273 238 4/16/2023
6.0.0-beta-000271 252 3/31/2023
6.0.0-beta-000270 260 3/25/2023
5.0.2 2,709 10/1/2022
5.0.2-beta-000265 311 9/24/2022
5.0.2-beta-000264 314 9/24/2022
5.0.2-beta-000263 315 9/23/2022
5.0.2-beta-000262 312 9/23/2022
5.0.2-beta-000261 298 9/23/2022
5.0.2-beta-000260 323 9/23/2022
5.0.2-beta-000259 305 9/23/2022
5.0.2-beta-000258 332 9/18/2022
5.0.1-beta-20220918-155627 354 9/18/2022
5.0.1-beta-20220918-155616 339 9/18/2022
5.0.1-beta-20220918-154726 327 9/18/2022
5.0.1-beta-000257 338 9/18/2022
5.0.0-beta-99 290 9/2/2022
5.0.0-beta-98 302 8/19/2022
5.0.0-beta-97 285 8/18/2022
5.0.0-beta-96 319 8/10/2022
5.0.0-beta-95 297 7/16/2022
5.0.0-beta-94 305 7/11/2022
5.0.0-beta-93 289 6/16/2022
5.0.0-beta-253 352 9/18/2022
5.0.0-beta-252 284 9/11/2022
5.0.0-beta-233 258 9/2/2022
5.0.0-beta-225 281 9/2/2022
5.0.0-beta-224 286 9/2/2022
5.0.0-beta-220 294 9/2/2022
5.0.0-beta-219 300 9/2/2022
5.0.0-beta-216 295 9/2/2022
5.0.0-beta-212 319 9/2/2022
5.0.0-beta-211 265 9/2/2022
5.0.0-beta-206 298 9/2/2022
5.0.0-beta-205 264 9/2/2022
5.0.0-beta-20220918-150347 341 9/18/2022
5.0.0-beta-20220918-150333 345 9/18/2022
5.0.0-beta-20220918-145408 356 9/18/2022
5.0.0-beta-196 282 9/2/2022
5.0.0-beta-194 298 9/2/2022
5.0.0-beta-193 282 9/2/2022
5.0.0-beta-192 293 9/2/2022
5.0.0-beta-190 279 9/2/2022
5.0.0-beta-188 285 9/2/2022
5.0.0-beta-179 315 9/2/2022
5.0.0-beta-178 265 9/2/2022
5.0.0-beta-167 284 9/2/2022
5.0.0-beta-165 285 9/2/2022
5.0.0-beta-161 292 9/2/2022
5.0.0-beta-160 294 9/2/2022
5.0.0-beta-157 279 9/2/2022
5.0.0-beta-155 297 9/2/2022
5.0.0-beta-146 267 9/2/2022
5.0.0-beta-145 272 9/2/2022
5.0.0-beta-140 269 9/2/2022
5.0.0-beta-138 287 9/2/2022
5.0.0-beta-132 304 9/2/2022
5.0.0-beta-130 286 9/2/2022
5.0.0-beta-126 303 9/2/2022
5.0.0-beta-125 302 9/2/2022
5.0.0-beta-120 288 9/2/2022
5.0.0-beta-118 277 9/2/2022
5.0.0-beta-115 288 9/2/2022
5.0.0-beta-114 300 9/2/2022
5.0.0-beta-113 301 9/2/2022
5.0.0-beta-112 273 9/2/2022
5.0.0-beta-109 275 9/2/2022
5.0.0-beta-107 279 9/2/2022
4.0.0 670 2/12/2022
4.0.0-beta-92 314 6/4/2022
4.0.0-beta-91 308 5/29/2022
4.0.0-beta-90 330 5/29/2022
4.0.0-beta-89 292 5/28/2022
4.0.0-beta-86 338 4/26/2022
4.0.0-beta-85 325 4/23/2022
4.0.0-beta-84 310 3/16/2022
4.0.0-beta-78 331 2/18/2022
4.0.0-beta-77 324 2/18/2022
4.0.0-beta-76 308 2/18/2022
4.0.0-beta-75 323 2/18/2022
4.0.0-beta-74 313 2/18/2022
4.0.0-beta-73 345 2/12/2022
3.0.0 539 12/5/2021
3.0.0-beta-72 564 12/11/2021
3.0.0-beta-71 352 12/9/2021
3.0.0-beta-70 556 12/9/2021
3.0.0-beta-69 524 12/9/2021
3.0.0-beta-67 556 12/9/2021
3.0.0-beta-66 537 12/9/2021
3.0.0-beta-65 520 12/9/2021
3.0.0-beta-64 519 12/9/2021
3.0.0-beta-63 500 12/9/2021
3.0.0-beta-62 494 12/9/2021
3.0.0-beta-61 498 12/9/2021
3.0.0-beta-59 360 12/8/2021
3.0.0-beta-58 358 12/8/2021
3.0.0-beta-53 355 12/6/2021
3.0.0-beta-52 349 12/6/2021
3.0.0-beta-42 343 12/6/2021
3.0.0-beta-41 349 12/6/2021
3.0.0-beta-40 353 12/6/2021
3.0.0-beta-39 371 12/5/2021
2.0.0 1,412 11/20/2021
2.0.0-beta-38 1,244 11/20/2021
2.0.0-beta-37 1,259 11/20/2021
1.0.0 645 10/23/2021
1.0.0-beta-1 514 10/23/2021