Skip to content
/ dddify Public

A lightweight framework that practices Domain-Driven Design approach for building modern applications on ASP.NET Core.

License

Notifications You must be signed in to change notification settings

esofar/dddify

Repository files navigation

Dddify

NuGet

A lightweight framework that practices Domain-Driven Design approach for building modern applications on ASP.NET Core.

Install

You should install Dddify with NuGet:

Install-Package Dddify

Or via the .NET Core command line interface:

dotnet add package Dddify

Either commands, from Package Manager Console or .NET Core CLI, will download and install Dddify and all required dependencies. Currently only supports the target framework .NET 7.

Usage

Add the following code to the Program.cs file.

builder.Services.AddDddify(cfg =>
{
    // Sets the DateTimeKind for date and time values.
    cfg.WithDateTimeKind(DateTimeKind.Utc);

    // Sets the type of sequential GUID to be used.
    cfg.WithSequentialGuidType(SequentialGuidType.SequentialAsString);

    // Adds the JSON localization extension
    cfg.UseJsonLocalization();

    // Adds the API result wrapper extension.
    cfg.UseApiResultWrapper();
});

About

A lightweight framework that practices Domain-Driven Design approach for building modern applications on ASP.NET Core.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages