softinven.Infrastructure.services
1.0.0
dotnet add package softinven.Infrastructure.services --version 1.0.0
NuGet\Install-Package softinven.Infrastructure.services -Version 1.0.0
<PackageReference Include="softinven.Infrastructure.services" Version="1.0.0" />
paket add softinven.Infrastructure.services --version 1.0.0
#r "nuget: softinven.Infrastructure.services, 1.0.0"
// Install softinven.Infrastructure.services as a Cake Addin #addin nuget:?package=softinven.Infrastructure.services&version=1.0.0 // Install softinven.Infrastructure.services as a Cake Tool #tool nuget:?package=softinven.Infrastructure.services&version=1.0.0
# Infrastructure Layer - SoftInven
## Overview
The Infrastructure layer is a critical component of the SoftInven system, responsible for providing implementations for the services and interfaces defined in the Application layer. It handles data access, external service communication, and other infrastructure concerns such as logging and caching.
## Structure
The Infrastructure layer is structured into several key components:
- **Repositories:** Implement data access logic.
- **Services:** Provide implementations for external service interactions.
- **Configurations:** Manage configuration settings and options.
- **Utilities:** Contain utility classes and helper methods.
## Project Structure
Infrastructure/ ├── Repositories/ │ ├── ItemRepository.cs │ ├── OrderRepository.cs │ └── CustomerRepository.cs ├── Services/ │ ├── EmailService.cs │ ├── LoggingService.cs │ └── PaymentService.cs ├── Configurations/ │ ├── AppSettings.cs │ └── ServiceSettings.cs ├── Utilities/ │ ├── FileHelper.cs │ └── CacheHelper.cs ├── DependencyInjection.cs └── InfrastructureDbContext.cs
## Dependencies
The Infrastructure layer depends on the following NuGet packages:
- `Microsoft.EntityFrameworkCore`
- `Microsoft.EntityFrameworkCore.SqlServer`
- `Serilog`
- `SendGrid`
- `StackExchange.Redis`
To install these packages, run:
```bash
dotnet add package Microsoft.EntityFrameworkCore
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
dotnet add package Serilog
dotnet add package SendGrid
dotnet add package StackExchange.Redis
Repositories
Repositories in the Infrastructure layer provide the data access logic, interacting with the database to perform CRUD operations.
Services
Services in the Infrastructure layer provide implementations for external service interactions, such as sending emails, processing payments, and logging.
Configurations
Configuration classes manage application settings and options, ensuring that the Infrastructure layer can be easily configured and maintained.
Utilities
Utility classes contain helper methods and common functionalities used across the Infrastructure layer, such as file handling and caching.
Getting Started
To get started with the Infrastructure layer:
- Clone the repository:
git clone https://TheSoftNode/your-repo/softinven.git
- Navigate to the Infrastructure layer directory:
cd Infrastructure
- Restore the dependencies:
dotnet restore
- Build the project:
dotnet build
Contribution
We welcome contributions to the Infrastructure 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/softinven.git
with your actual repository URL.
Product | Versions 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. |
-
net8.0
- Mapster (>= 7.4.0)
- MediatR (>= 12.3.0)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 8.0.6)
- Microsoft.AspNetCore.Identity.UI (>= 8.0.6)
- Microsoft.EntityFrameworkCore (>= 8.0.6)
- Microsoft.EntityFrameworkCore.Sqlite (>= 8.0.6)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.6)
- NetcodeHub.Packages.Extensions.UnitOfWork (>= 1.0.0)
- softinven.application.services (>= 1.0.0)
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.0 | 107 | 7/11/2024 |