AAM.Inventory.Core.Application 1.0.1

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

AAM.Inventory.Core.Application

NuGet License

The application layer for the Inventory Suite - business logic, use cases, DTOs, and validators built on top of the domain layer.

Features

  • Business Logic: Application services for core operations
  • DTOs: Data transfer objects for API communication
  • FluentValidation: Comprehensive input validation
  • JWT Support: Token generation and validation
  • Clean Architecture: Depends only on Domain layer

Installation

dotnet add package AAM.Inventory.Core.Application

Or via Package Manager:

Install-Package AAM.Inventory.Core.Application

Core Components

Services

  • ProductService: Product management operations
  • CategoryService: Category management
  • StockService: Stock movement and tracking
  • UserService: User management
  • AuthService: Authentication and authorization

DTOs

  • CreateProductDto, UpdateProductDto: Product data transfer
  • CreateUserDto, UpdateUserDto: User data transfer
  • StockMovementRequestDto: Stock operation requests
  • LoginDto, AuthResponseDto: Authentication data

Validators

  • FluentValidation validators for all DTOs
  • Comprehensive validation rules
  • Custom validation messages

Usage Example

using AAM.Inventory.Core.Application.Services;
using AAM.Inventory.Core.Application.DTOs;
using AAM.Inventory.Core.Domain.Repositories;

// Inject the service (requires repository implementation)
var productService = new ProductService(productRepository, logger);

// Create a product
var createDto = new CreateProductDto
{
    Name = "New Product",
    SKU = "SKU-002",
    Description = "Product description",
    Price = 149.99m,
    CategoryId = 1
};

var product = await productService.CreateAsync(createDto);

Dependencies

  • AAM.Inventory.Core.Domain (required)
  • FluentValidation (11.9.0+)
  • Microsoft.Extensions.Configuration (8.0.0+)
  • Microsoft.IdentityModel.Tokens (8.14.0+)
  • System.IdentityModel.Tokens.Jwt (8.14.0+)

Target Framework

  • .NET 8.0

Documentation

For complete documentation, visit the Inventory Suite repository.

License

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

Contributing

Contributions are welcome! Please see the Contributing Guide for details.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 322 11/13/2025
1.0.0 309 11/13/2025