SAMMAI.Transverse
0.18.0-beta
dotnet add package SAMMAI.Transverse --version 0.18.0-beta
NuGet\Install-Package SAMMAI.Transverse -Version 0.18.0-beta
<PackageReference Include="SAMMAI.Transverse" Version="0.18.0-beta" />
<PackageVersion Include="SAMMAI.Transverse" Version="0.18.0-beta" />
<PackageReference Include="SAMMAI.Transverse" />
paket add SAMMAI.Transverse --version 0.18.0-beta
#r "nuget: SAMMAI.Transverse, 0.18.0-beta"
#:package SAMMAI.Transverse@0.18.0-beta
#addin nuget:?package=SAMMAI.Transverse&version=0.18.0-beta&prerelease
#tool nuget:?package=SAMMAI.Transverse&version=0.18.0-beta&prerelease
SAMMAI.Transverse
Overview
SAMMAI.Transverse is a foundational .NET 8 class library designed as a cross-cutting concerns package for the SAMMAI ecosystem. This NuGet package provides essential utilities, clients, and helpers that can be consumed by various .NET 8 WebAPI projects within the SAMMAI platform.
Features
- Global Configuration: Centralized configuration management
- HTTP Clients: Pre-configured HTTP services for various SAMMAI services
- Helpers: Utility classes for common operations
- Constants & Enums: Shared constants and enumerations
- DTOs & Models: Common data transfer objects and models
- Authentication: Authentication and authorization utilities
- Logging: Structured logging with Serilog integration
- Caching: In-memory caching helpers
- Actions Filters: Predefined action filters for controllers
- Database Access: Simplified database client utilities
- Forms & Reports: Clients for handling forms and reports
- Resource Management: Utilities for managing resources
- User Preferences: Client for user preferences management
- Modular Design: Enable only the components you need
- Extensible: Easily extendable for custom implementations
- Compatibility: Compatible with .NET 8 applications
- Integration Ready: Easily integrates with existing SAMMAI services
Installation
Add the NuGet package to your project:
<PackageReference Include="SAMMAI.Transverse" Version="1.0.0" />
Implementation
In your Program.cs, activate the required services:
// Basic setup
services.AddTransverseServices();
// Additional services (enable as needed)
services.AddTransverseServices(configuration, opt =>
{
opt.ActivateAuthenticationClient = true;
opt.ActivateEventClient = true;
opt.ActivateEmailHelper = true;
opt.ActivateCacheHelper = true;
opt.ActivateDataBaseClient = true;
opt.ActivateCustomDataClient = true;
opt.ActivateFormsClient = true;
opt.ActivateReportClient = true;
opt.ActivateResourcesClient = true;
opt.ActivatePreferencesClient = true;
});
Adding the Local Package Source
To access this NuGet package, execute the following command to add the local package source:
dotnet nuget add source "<physical-root-path-of-this-folder>\SAMMAI.NuGet" -n "SAMMAI Local Package Source"
Dependencies
- AutoMapper - Object-to-object mapping
- FluentValidation - Validation framework
- Microsoft.AspNetCore.Mvc - ASP.NET Core MVC framework
- Microsoft.Extensions.Http - HTTP client factory
- Microsoft.VisualStudio.Azure.Containers.Tools.Targets - Container tooling support
- Serilog - Structured logging
- Serilog.Extensions.Hosting - Hosting integration for Serilog
- Serilog.Settings.Configuration - Configuration support for Serilog
- Serilog.Sinks.Console - Console logging output
- Serilog.Sinks.File - File logging output
- Serilog.Sinks.Http - HTTP logging output
- Swashbuckle.AspNetCore - API documentation (Swagger)
External Services
ExternalServices - HTTP service clients for various SAMMAI services:
- AuthenticationHttpService
- CustomDataHttpService
- DataBaseHttpService
- FileStorageHttpService
- MessengerHttpService
- ReportServiceHttpService
- SignHttpService
Package Versions
All versions of this package are available on NuGet:
https://www.nuget.org/packages/SAMMAI.Transverse
Usage
The library provides a modular approach where you can enable only the components you need for your specific application.
Support
For issues and questions regarding SAMMAI.Transverse, please refer to the project documentation or contact the SAMMAI development team.
Part of the SAMMAI Ecosystem - Building consistent .NET 8 applications
| 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. 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. |
-
net8.0
- AutoMapper (>= 14.0.0)
- FluentValidation (>= 12.0.0)
- Microsoft.AspNetCore.Mvc (>= 2.3.0)
- Microsoft.Extensions.Http (>= 9.0.10)
- Microsoft.VisualStudio.Azure.Containers.Tools.Targets (>= 1.22.1)
- Serilog (>= 4.3.0)
- Serilog.Extensions.Hosting (>= 9.0.0)
- Serilog.Settings.Configuration (>= 9.0.0)
- Serilog.Sinks.Console (>= 6.0.0)
- Serilog.Sinks.File (>= 7.0.0)
- Serilog.Sinks.Http (>= 9.2.0)
- Swashbuckle.AspNetCore (>= 9.0.6)
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 |
|---|---|---|
| 0.18.0-beta | 89 | 6/25/2026 |
| 0.17.0-beta | 111 | 2/20/2026 |
| 0.16.0-beta | 110 | 11/28/2025 |
| 0.15.2-beta | 298 | 11/21/2025 |
| 0.15.1-beta | 226 | 11/8/2025 |
| 0.15.0-beta | 253 | 10/17/2025 |
| 0.14.5-beta | 125 | 9/26/2025 |
| 0.14.4-beta | 326 | 9/19/2025 |
| 0.14.3-beta | 129 | 9/12/2025 |
| 0.14.2-beta | 137 | 9/5/2025 |
| 0.14.1-beta | 108 | 8/22/2025 |
| 0.14.0-beta | 144 | 8/15/2025 |
| 0.13.2-beta | 90 | 8/1/2025 |
| 0.13.1-beta | 381 | 7/25/2025 |
| 0.13.0-beta | 130 | 7/18/2025 |
| 0.12.1-beta | 115 | 7/11/2025 |
| 0.12.0-beta | 125 | 7/4/2025 |
| 0.11.0-beta | 125 | 6/21/2025 |
| 0.10.0-beta | 122 | 6/6/2025 |
| 0.9.6-beta | 157 | 5/30/2025 |
feat: add dto models related to the get resources report endpoint