Valobtify.AspNetCore.WebApi 3.0.0-rc.1

This is a prerelease version of Valobtify.AspNetCore.WebApi.
dotnet add package Valobtify.AspNetCore.WebApi --version 3.0.0-rc.1                
NuGet\Install-Package Valobtify.AspNetCore.WebApi -Version 3.0.0-rc.1                
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="Valobtify.AspNetCore.WebApi" Version="3.0.0-rc.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Valobtify.AspNetCore.WebApi --version 3.0.0-rc.1                
#r "nuget: Valobtify.AspNetCore.WebApi, 3.0.0-rc.1"                
#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.
// Install Valobtify.AspNetCore.WebApi as a Cake Addin
#addin nuget:?package=Valobtify.AspNetCore.WebApi&version=3.0.0-rc.1&prerelease

// Install Valobtify.AspNetCore.WebApi as a Cake Tool
#tool nuget:?package=Valobtify.AspNetCore.WebApi&version=3.0.0-rc.1&prerelease                

NuGet Package

Table of Contents


Overview

Valobtify.AspNetCore.WebApi is an extension of the Valobtify library that simplifies the integration of value objects into ASP.NET Core Web APIs. It provides built-in support for model mapping , making it easier to work with value objects in your API projects.


Installation

To install the Valobtify.AspNetCore.WebApi package, run the following command in your terminal:

dotnet add package Valobtify.AspNetCore.WebApi

Ensure you have the required .NET SDK installed.


Model Mapping

To enable model mapping in your ASP.NET Core Web API, add the following configuration to your Program.cs file:

builder.Services.AddValobtifyConverters(Assembly.GetExecutingAssembly());

This ensures that Valobtify correctly maps your value objects within your application.


Swagger Support

To integrate Valobtify with Swagger and automatically generate schema filters for value objects, you can use Valobtify.Swagger

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
3.0.0-rc.1 53 12/10/2024
2.1.2 97 12/5/2024
2.1.1 93 11/27/2024
2.0.3 93 11/26/2024
2.0.2 100 10/28/2024
2.0.1 121 10/15/2024