AugusteVN.Modules.Sponsorships.Features 1.0.7

dotnet add package AugusteVN.Modules.Sponsorships.Features --version 1.0.7
                    
NuGet\Install-Package AugusteVN.Modules.Sponsorships.Features -Version 1.0.7
                    
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="AugusteVN.Modules.Sponsorships.Features" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AugusteVN.Modules.Sponsorships.Features" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="AugusteVN.Modules.Sponsorships.Features" />
                    
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 AugusteVN.Modules.Sponsorships.Features --version 1.0.7
                    
#r "nuget: AugusteVN.Modules.Sponsorships.Features, 1.0.7"
                    
#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 AugusteVN.Modules.Sponsorships.Features@1.0.7
                    
#: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=AugusteVN.Modules.Sponsorships.Features&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=AugusteVN.Modules.Sponsorships.Features&version=1.0.7
                    
Install as a Cake Tool

AugusteVN.Modules.Sponsorships.Features

CQRS command and query handlers for all sponsor segment operations.

Part of the AugusteVN Modules collection.

Extension Method

AddSponsorshipsFeatures(this IServiceCollection, IConfiguration)

Registers the Sponsorships feature layer:

  • FluentValidation validators — Scans the executing assembly for all IValidator implementations and registers them in the DI container
  • CQRS handlers — Uses RegisterHandlersFromAssembly to discover and register all ICommandHandler<T> and IQueryHandler<T> implementations from the assembly containing Extensions

Handlers

Commands

CreateSponsorSegmentCommand

Creates a new sponsor segment record. Validated by CreateSponsorSegmentCommandValidator.

UpdateSponsorSegmentCommand

Updates an existing sponsor segment. Validated by command-level validation.

Queries

GetSponsorSegmentsQuery

Retrieves a paginated list of sponsor segments.

GetSponsorSegmentByIdQuery

Retrieves a single sponsor segment by its unique Guid identifier. Validated by GetSponsorSegmentByIdQueryValidator.

GetSponsorSegmentForContentQuery

Retrieves the sponsor segment associated with a specific blog post slug. Validated by GetSponsorSegmentForContentQueryValidator.

CQRS Pattern

All handlers use the ICommandBus / IQueryBus abstraction from AugusteVN.CQRS.Extensions. Handlers return Result<T> from AugusteVN.ResultPattern.Contracts — failures carry an Error.Description that maps directly to RFC 7807 Problem Details at the API layer.

Registration

// Program.cs
builder.Services.AddSponsorshipsFeatures(builder.Configuration);

Installation

dotnet add package AugusteVN.Modules.Sponsorships.Features

Full Documentation

See the Sponsorships Module README for complete documentation.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AugusteVN.Modules.Sponsorships.Features:

Package Downloads
AugusteVN.Modules.Sponsorships.Api

Minimal API endpoints for sponsor segments

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.7 91 8/9/2026
1.0.6 85 8/9/2026
1.0.2 98 8/8/2026
1.0.1 87 8/8/2026
1.0.0 94 8/8/2026