Niobium.Platform 4.2.66

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

Niobium.Platform

Niobium.Platform provides foundational infrastructure, utilities, and extension points for building scalable, maintainable .NET business applications. It includes abstractions and helpers for dependency injection, configuration, caching, error handling, analytics, and HTTP operations, making it easier for consumer projects to integrate with modern cloud and serverless platforms.

What is this project about?

  • Offers extension methods for IServiceCollection to register platform services and middleware.
  • Provides abstractions for caching, configuration, and error retrieval.
  • Includes helpers for HTTP request/response handling, analytics (App Insights), and validation.
  • Used as a core dependency by Niobium.* and consumer projects (e.g., Niobium.Invoicing.*) to standardize platform integration and reduce boilerplate.

Getting Started

1. Install the NuGet Package

Add the package to your .NET project:

dotnet add package Niobium.Platform

2. Register Platform Services

In your application's startup or DI configuration, use the provided extension methods:

using Niobium.Platform;

var builder = WebApplication.CreateBuilder(args);

// Register platform services
builder.Services.AddCodPlatform();

var app = builder.Build();
// ...

3. Use Platform Abstractions

  • Caching:
    var cache = serviceProvider.GetRequiredService<ICacheStore>();
    await cache.SetAsync("key", value);
    
  • Configuration:
    var config = serviceProvider.GetRequiredService<IConfigurationProvider>();
    var setting = config["MySetting"];
    
  • Error Handling:
    var errorRetriever = serviceProvider.GetRequiredService<IErrorRetriever>();
    var error = errorRetriever.GetError(404);
    
  • Analytics:
    var analytics = serviceProvider.GetRequiredService<IAppInsights>();
    await analytics.TrackEventAsync("InvoiceCreated");
    

4. Middleware and HTTP Helpers

  • Use provided middleware for error handling and context access:
    app.UseMiddleware<ErrorHandlingMiddleware>();
    app.UseMiddleware<FunctionContextAccessorMiddleware>();
    
  • Use HTTP helpers for proxying, signature issuance, and response formatting.

How Niobium.Platform is Consumed

Projects like Niobium.Invoicing.Core reference Niobium.Platform to:

  • Register and use shared infrastructure (caching, config, analytics).
  • Standardize error handling and validation.
  • Simplify HTTP and function middleware integration.

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with clear commit messages
  4. Submit a pull request

Please ensure your code follows the existing style and includes appropriate tests and documentation.

License

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

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (16)

Showing the top 5 NuGet packages that depend on Niobium.Platform:

Package Downloads
Niobium.Platform.Identity

Identity and access management for secure .NET business apps.

Niobium.Platform.Finance

Financial operations and payment processing for .NET apps.

Niobium.Platform.Captcha.ReCaptcha

Google reCAPTCHA integration for .NET platform apps.

Niobium.Platform.Notification

Unified notification abstraction for email, SMS, and push in .NET.

Niobium.Platform.Notification.Email

Email notification clients and helpers for .NET apps.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.2.66 237 9/4/2026
4.0.61 124 9/1/2026
4.0.60 278 8/30/2026
4.0.58 96 8/30/2026
4.0.57 129 8/29/2026
4.0.56 210 8/29/2026
4.0.55 134 8/28/2026
4.0.53 289 8/27/2026
4.0.50 160 8/14/2026
4.0.49 126 8/14/2026
4.0.48 256 8/9/2026
4.0.47 115 8/8/2026
4.0.46 110 8/8/2026
4.0.45 156 7/19/2026
4.0.44 122 7/19/2026
4.0.43 218 7/18/2026
4.0.42 444 7/18/2026
4.0.41 120 7/18/2026
4.0.37 291 7/17/2026
4.0.35 298 7/17/2026
Loading failed