softinven.application.services 1.0.0

dotnet add package softinven.application.services --version 1.0.0                
NuGet\Install-Package softinven.application.services -Version 1.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="softinven.application.services" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add softinven.application.services --version 1.0.0                
#r "nuget: softinven.application.services, 1.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.
// Install softinven.application.services as a Cake Addin
#addin nuget:?package=softinven.application.services&version=1.0.0

// Install softinven.application.services as a Cake Tool
#tool nuget:?package=softinven.application.services&version=1.0.0                
# Application Layer - Inventory Management System

## Overview

The Application layer is a core component of the Inventory Management System, responsible for implementing the business logic and use cases. It acts as a bridge between the Domain layer and the Infrastructure and WebUI layers, ensuring that the business rules are applied correctly and consistently.

## Structure

The Application layer is structured into several key components:

- **Commands:** These handle the creation, updating, and deletion of entities.
- **Queries:** These handle the retrieval of data from the system.
- **DTOs (Data Transfer Objects):** These are used to transfer data between the Application layer and other layers.
- **Services:** These encapsulate business logic and interact with the Domain layer.
- **Interfaces:** These define contracts that the Infrastructure layer implements.

## Project Structure

Application/ ├── Commands/ │ ├── CreateItemCommand.cs │ ├── UpdateItemCommand.cs │ └── DeleteItemCommand.cs ├── Queries/ │ ├── GetItemByIdQuery.cs │ ├── GetAllItemsQuery.cs │ └── SearchItemsQuery.cs ├── DTOs/ │ ├── ItemDto.cs │ └── InventorySummaryDto.cs ├── Services/ │ ├── InventoryService.cs │ └── ReportService.cs ├── Interfaces/ │ ├── IInventoryService.cs │ ├── IReportService.cs │ └── IItemRepository.cs ├── ApplicationDbContext.cs └── DependencyInjection.cs


## Dependencies

The Application layer depends on the following NuGet packages:

- `AutoMapper`
- `FluentValidation`
- `MediatR`
- `Microsoft.Extensions.DependencyInjection`

To install these packages, run:

```bash
dotnet add package AutoMapper
dotnet add package FluentValidation
dotnet add package MediatR
dotnet add package Microsoft.Extensions.DependencyInjection

Commands

Commands are used to perform actions that modify the state of the system. Each command is handled by a corresponding handler.

Queries

Queries are used to retrieve data without modifying the state of the system. Each query is handled by a corresponding handler.

DTOs (Data Transfer Objects)

DTOs are used to transfer data between the Application layer and other layers, ensuring a clean separation of concerns.

Services

Services encapsulate business logic and interact with the Domain layer to perform operations and calculations.

Interfaces

Interfaces define the contracts that the Infrastructure layer implements, promoting loose coupling and dependency inversion.

Getting Started

To get started with the Application layer:

  1. Clone the repository:
    git clone https://github.com/TheSoftNode/Soft-Inven.git
    
  2. Navigate to the Application layer directory:
    cd Application
    
  3. Restore the dependencies:
    dotnet restore
    
  4. Build the project:
    dotnet build
    

Contribution

We welcome contributions to the Application layer. Please fork the repository and submit pull requests.

License

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


Note: Replace https://github.com/TheSoftNode/Soft-Inven.git with your actual repository URL.


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. 
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 softinven.application.services:

Package Downloads
softinven.Infrastructure.services

This Infrastructure handles the commands and queries handlers aspect of the inventory management system

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 147 7/11/2024