Vogen 4.0.5

Suggested Alternatives

Vogen 4.0.6

Additional Details

Sorry, published as developer-only dependency. Please use 4.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package Vogen --version 4.0.5
                    
NuGet\Install-Package Vogen -Version 4.0.5
                    
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="Vogen" Version="4.0.5">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vogen" Version="4.0.5" />
                    
Directory.Packages.props
<PackageReference Include="Vogen">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Vogen --version 4.0.5
                    
#r "nuget: Vogen, 4.0.5"
                    
#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 Vogen@4.0.5
                    
#: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=Vogen&version=4.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Vogen&version=4.0.5
                    
Install as a Cake Tool

This package contains a Souce Generator which generates Value Objects that wrap simple primitives such as int, string, double etc.

     A ValueObject is a strongly typed (strongly, not stringly) domain object that is immutable.

     Instead of `int customerId = 42;` we have `var customerId = CustomerId.From(42);`

     To use, just create something like this:

     [ValueObject(typeof(int))]
     public partial struct CustomerId
     {
     }

     var customerId = CustomerId.From(42);

     Validation is in just one place. You can't introduce bad objects into your domain, therefore you can assume that in your domain every ValueObject is valid.

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 is compatible.  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.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Vogen:

Package Downloads
Codehard.FileService.Contracts

An abstract contract for file service client and server.

PiBox.Hosting.Abstractions

PiBox is a `service hosting framework` that allows `.net devs` to `decorate their services with behaviours or functionality (think of plugins) while only using minimal configuration`.

Dosaic.Hosting.Abstractions

A plugin-first dotnet framework for rapidly building anything hosted in the web.

Vogen.Serialization

Provides serialization support between Vogen and Newtonsoft.Json

HarvestForecast.Client

HarvestForecast.Client is an unofficial client library for the HarvestForecast API. Just add an access token and get started straight away!

GitHub repositories (8)

Showing the top 8 popular GitHub repositories that depend on Vogen:

Repository Stars
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
JasperFx/marten
.NET Transactional Document DB and Event Store on PostgreSQL
SSWConsulting/SSW.VerticalSliceArchitecture
An enterprise ready solution template for Vertical Slice Architecture. This template is just one way to apply the Vertical Slice Architecture.
SSWConsulting/SSW.CleanArchitecture
SSW Clean Architecture Template
SteveDunn/PacManBlazor
PACMAN in Blazor WebAssembly
AArnott/Nerdbank.MessagePack
A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.org[C#]
Hona/VerticalSliceArchitecture
Spend less time over-engineering, and more time coding. The template has a focus on convenience, and developer confidence. Vertical Slice Architecture 🎈
Version Downloads Last Updated
8.0.2 45 9/17/2025
8.0.1 36,490 8/12/2025
8.0.0-beta.2 370 6/25/2025
8.0.0-beta.1 1,878 6/6/2025
7.0.5-beta.1 127 6/5/2025
7.0.4 160,934 6/5/2025
7.0.4-beta.1 159 5/22/2025
7.0.3 188,731 3/25/2025
7.0.2 33,763 3/17/2025
7.0.1 96,037 2/25/2025
7.0.0 40,548 2/13/2025
7.0.0-beta.1 393 1/9/2025
6.0.0 226,012 12/28/2024
6.0.0-beta.4 102 12/27/2024
6.0.0-beta.3 1,140 12/26/2024
6.0.0-beta.2 164 12/3/2024
6.0.0-beta.1 90 12/2/2024
5.0.6 70,393 11/30/2024
5.0.6-beta.3 174 11/23/2024
5.0.6-beta.2 87 11/22/2024
5.0.6-beta.1 94 11/19/2024
5.0.5 50,866 11/14/2024
5.0.5-rc.2 135 11/2/2024
5.0.5-rc.1 91 11/1/2024
5.0.5-beta.3 97 10/31/2024
5.0.5-beta.2 100 10/27/2024
5.0.4-beta.1 113 10/21/2024
5.0.3 104,226 9/26/2024
5.0.2 2,003 9/25/2024
5.0.1 1,339 9/23/2024
5.0.0-beta.1 391 9/9/2024
4.0.19 25,102 8/21/2024
4.0.18 1,139 8/17/2024
4.0.17 19,273 8/6/2024
4.0.16 2,276 7/30/2024
4.0.15 76,691 7/20/2024
4.0.14 10,140 7/16/2024
4.0.13 2,935 7/13/2024
4.0.12 19,349 6/21/2024
4.0.11 781 6/20/2024
4.0.10 903 6/19/2024
4.0.9 1,493 6/18/2024
4.0.8 32,863 5/30/2024
4.0.7 756 5/29/2024
4.0.6 8,055 5/27/2024
4.0.5 576 5/26/2024 4.0.5 is deprecated because it has critical bugs.
4.0.4 8,634 5/11/2024
4.0.3 3,114 5/8/2024
4.0.2 7,801 4/30/2024
4.0.1 552 4/29/2024
4.0.0 13,126 4/19/2024
3.0.25-beta.1 1,688 2/20/2024
3.0.24 357,941 1/9/2024
3.0.23 496,360 11/3/2023
3.0.23-beta.2 102 11/1/2023
3.0.23-beta.1 101 11/1/2023
3.0.22 13,231 10/23/2023
3.0.21 194,031 8/31/2023
3.0.20 227,355 7/17/2023
3.0.19 36,721 6/5/2023
3.0.18 10,719 5/30/2023
3.0.17 365 5/29/2023
3.0.16 12,549 5/9/2023
3.0.15 36,739 4/14/2023
3.0.14 2,026 4/13/2023
3.0.13 2,980 3/29/2023
3.0.12 68,770 1/30/2023
3.0.11 4,158 1/24/2023
3.0.10 592 1/14/2023
3.0.9 4,445 12/29/2022
3.0.8 439 12/27/2022
3.0.7 2,365 12/16/2022
3.0.6 539 12/10/2022
3.0.5 747 11/26/2022
3.0.4 12,255 11/7/2022
3.0.3 570 10/30/2022
3.0.2-alpha.2 197 10/12/2022
3.0.2-alpha 199 10/11/2022
3.0.1 699 10/8/2022
2.0.5 1,019 9/29/2022
2.0.4 518 9/28/2022
2.0.3 4,600 7/27/2022
2.0.2 545 7/27/2022
1.0.25 1,233 7/25/2022
1.0.24 573 7/24/2022
1.0.23 595 7/21/2022
1.0.22 1,624 6/18/2022
1.0.21 2,072 5/13/2022
1.0.20 650 5/3/2022
1.0.19 626 4/25/2022
1.0.18 13,490 2/21/2022
1.0.17 579 2/6/2022
1.0.16-alpha.1 244 1/29/2022
1.0.15 1,415 1/2/2022
1.0.12 423 12/28/2021
1.0.11 398 12/28/2021
1.0.9 2,243 12/11/2021
1.0.8 434 12/6/2021
1.0.7 422 12/5/2021
1.0.6 972 12/3/2021
1.0.5 424 12/2/2021
1.0.4 394 12/2/2021
1.0.3 425 12/1/2021
1.0.2 412 12/1/2021
1.0.1 2,109 12/1/2021
1.0.1-alpha.0.2 249 12/1/2021
0.0.0-alpha.0 251 1/2/2022