MartinDrozdik.DDD 0.2.0

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

DDD library

README IN PROGRESS

MartinDrozdik.DDD

Build, test and publish nuget package NuGet NuGet Downloads

Result vs Exception

This library does provide support for both Result and Exception handling strategies in Domain-Driven Design (DDD). You can choose the approach that best fits your projects' needs.

Normally, you would use Result types to represent the outcome of business operations that can fail, allowing you to handle errors in a functional way without throwing exceptions. This is particularly useful in scenarios where you want to avoid the overhead of exceptions and prefer to work with explicit success/failure states.

However, applications like APIs usually propagate the error all the way to the top level anyway, where exceptions can be caught and translated into appropriate HTTP responses. In such cases, using exceptions might be more straightforward without tons of boilerplate.

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 MartinDrozdik.DDD:

Package Downloads
MartinDrozdik.DDD.Web

A library to support web domain-driven design development with solutions to common problems.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0 282 5/16/2026
0.6.0 161 5/2/2026
0.5.3 174 4/19/2026
0.5.1 161 4/9/2026
0.5.0 164 4/6/2026
0.4.4 137 4/6/2026
0.4.3 94 4/6/2026
0.4.2 141 4/6/2026
0.4.1 146 4/6/2026
0.4.0 110 4/5/2026
0.3.3 179 3/21/2026
0.3.2 216 2/13/2026
0.3.1 138 2/9/2026
0.3.0 122 2/8/2026
0.2.0 123 1/18/2026
0.1.0 117 1/17/2026