Niobium.Platform
4.2.66
dotnet add package Niobium.Platform --version 4.2.66
NuGet\Install-Package Niobium.Platform -Version 4.2.66
<PackageReference Include="Niobium.Platform" Version="4.2.66" />
<PackageVersion Include="Niobium.Platform" Version="4.2.66" />
<PackageReference Include="Niobium.Platform" />
paket add Niobium.Platform --version 4.2.66
#r "nuget: Niobium.Platform, 4.2.66"
#:package Niobium.Platform@4.2.66
#addin nuget:?package=Niobium.Platform&version=4.2.66
#tool nuget:?package=Niobium.Platform&version=4.2.66
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
IServiceCollectionto 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:
- Fork the repository
- Create a feature branch
- Make your changes with clear commit messages
- 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 | Versions 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. |
-
net10.0
- Azure.Identity (>= 1.21.0)
- Azure.Monitor.OpenTelemetry.AspNetCore (>= 1.6.0)
- Azure.Monitor.OpenTelemetry.Exporter (>= 1.8.3)
- Microsoft.AspNetCore.OpenApi (>= 10.0.11)
- Microsoft.Extensions.Http.Resilience (>= 10.9.0)
- Microsoft.Extensions.ServiceDiscovery (>= 10.9.0)
- Microsoft.OpenApi (>= 2.12.2)
- Niobium.Abstractions (>= 4.2.66)
- Niobium.Helper (>= 4.2.66)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.18.0)
- OpenTelemetry.Extensions.Hosting (>= 1.18.0)
- OpenTelemetry.Instrumentation.AspNetCore (>= 1.18.0)
- OpenTelemetry.Instrumentation.Http (>= 1.18.0)
- OpenTelemetry.Instrumentation.Runtime (>= 1.18.0)
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 |