SAMMAI.Transverse 0.18.0-beta

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

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 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
0.18.0-beta 93 6/25/2026
0.17.0-beta 113 2/20/2026
0.16.0-beta 111 11/28/2025
0.15.2-beta 299 11/21/2025
0.15.1-beta 227 11/8/2025
0.15.0-beta 254 10/17/2025
0.14.5-beta 126 9/26/2025
0.14.4-beta 327 9/19/2025
0.14.3-beta 131 9/12/2025
0.14.2-beta 138 9/5/2025
0.14.1-beta 109 8/22/2025
0.14.0-beta 145 8/15/2025
0.13.2-beta 91 8/1/2025
0.13.1-beta 382 7/25/2025
0.13.0-beta 131 7/18/2025
0.12.1-beta 116 7/11/2025
0.12.0-beta 126 7/4/2025
0.11.0-beta 126 6/21/2025
0.10.0-beta 123 6/6/2025
0.9.6-beta 158 5/30/2025
Loading failed

feat: add dto models related to the get resources report endpoint