Valobtify.AspNetCore.WebApi
3.0.0-rc.1
dotnet add package Valobtify.AspNetCore.WebApi --version 3.0.0-rc.1
NuGet\Install-Package Valobtify.AspNetCore.WebApi -Version 3.0.0-rc.1
<PackageReference Include="Valobtify.AspNetCore.WebApi" Version="3.0.0-rc.1" />
paket add Valobtify.AspNetCore.WebApi --version 3.0.0-rc.1
#r "nuget: Valobtify.AspNetCore.WebApi, 3.0.0-rc.1"
// 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
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 | 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
- Resulver (>= 1.2.5)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.9.0)
- Valobtify (>= 2.1.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.