Arks.Framework.Core.ApplicationServices 2.0.0

dotnet add package Arks.Framework.Core.ApplicationServices --version 2.0.0
                    
NuGet\Install-Package Arks.Framework.Core.ApplicationServices -Version 2.0.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="Arks.Framework.Core.ApplicationServices" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arks.Framework.Core.ApplicationServices" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Arks.Framework.Core.ApplicationServices" />
                    
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 Arks.Framework.Core.ApplicationServices --version 2.0.0
                    
#r "nuget: Arks.Framework.Core.ApplicationServices, 2.0.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 Arks.Framework.Core.ApplicationServices@2.0.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=Arks.Framework.Core.ApplicationServices&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Arks.Framework.Core.ApplicationServices&version=2.0.0
                    
Install as a Cake Tool

Arks.Framework.Core.ApplicationServices

Arks.Framework.Core.ApplicationServices is a library designed to manage application services, following the principles of CQRS (Command Query Responsibility Segregation) and DDD (Domain-Driven Design). This library enables developers to better manage Commands, Events, and Queries.

Features

  • Implementation of Command, Event, and Query Dispatchers.
  • Support for decorators to handle validation, logging, and exception handling.
  • Modular and extensible design.
  • Adheres to DDD architecture and SOLID principles.

Project Structure

Commands

  • CommandDispatcher.cs: Responsible for dispatching commands to the associated CommandHandler.
  • CommandHandler.cs: Handles commands.
  • Decorators: Adds additional functionalities like exception handling and validation.

Events

  • EventDispatcher.cs: Manages and dispatches events.
  • Decorators: Additional functionalities for event management.

Queries

  • QueryDispatcher.cs: Manages query dispatching.
  • QueryHandler.cs: Handles queries.
  • Decorators: Add-ons for logging, validation, and exception handling.

Installation and Usage

  1. Add this library to your project:

    dotnet add package Arks.Framework.Core.ApplicationServices
    
  2. Define your Command, Event, and Query classes.

  3. Implement the respective handlers and register them in Dependency Injection.

  4. Use CommandDispatcher, EventDispatcher, or QueryDispatcher to manage operations.


Contribution

If you want to contribute to this project:

  1. Fork the repository.
  2. Make your changes.
  3. Submit a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Contact

For inquiries or issues, please reach out to your.email@example.com.

Product Compatible and additional computed target framework versions.
.NET 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. 
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 Arks.Framework.Core.ApplicationServices:

Package Downloads
Arks.Framework.Endpoints.Web

A library for building robust and standardized web endpoints in .NET applications. Includes base controllers, middleware, filters, and extensions for simplifying API development.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 182 1/24/2025