Uniform.Web
1.0.41-preview
This is a prerelease version of Uniform.Web.
dotnet add package Uniform.Web --version 1.0.41-preview
NuGet\Install-Package Uniform.Web -Version 1.0.41-preview
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="Uniform.Web" Version="1.0.41-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Uniform.Web" Version="1.0.41-preview" />
<PackageReference Include="Uniform.Web" />
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 Uniform.Web --version 1.0.41-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Uniform.Web, 1.0.41-preview"
#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 Uniform.Web@1.0.41-preview
#: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=Uniform.Web&version=1.0.41-preview&prerelease
#tool nuget:?package=Uniform.Web&version=1.0.41-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Uniform.Web
ASP.NET Core integration for the Uniform microservice framework. Registers Uniform's core services and messaging contracts into an ASP.NET Core DI container, so you can use IPublisher, ISettings, IEnvironment, and IMetadataService directly from controllers and middleware.
Installation
dotnet add package Uniform.Web
dotnet add package Uniform.Messaging.RabbitMq
Setup
Register UniformWebModule in your ASP.NET Core Startup or Program.cs:
var builder = WebApplication.CreateBuilder(args);
var uniformModule = new UniformWebModule();
uniformModule.RegisterServices(builder.Services);
new RabbitMqModule().RegisterServices(builder.Services);
new SeqLoggingModule().RegisterServices(builder.Services);
var app = builder.Build();
app.MapControllers();
app.Run();
What it registers
- All services from
Uniform.Foundations(settings, environment, middleware pipeline, outbox) - All services from
Uniform.Messaging(publisher, metadata service) IHttpContextAccessorIWebContextAccessor— provides the current HTTP context to Uniform internals for metadata enrichment
Using IPublisher from a controller
[ApiController]
[Route("api/orders")]
public class OrdersController(IPublisher publisher) : ControllerBase
{
[HttpPost]
public async Task<IActionResult> Create(CreateOrderRequest request)
{
await publisher.Publish(new OrderCreated(request.OrderId));
return Ok();
}
}
Links
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Uniform.Foundations (>= 1.0.41-preview)
- Uniform.Messaging (>= 1.0.41-preview)
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.41-preview | 46 | 9/11/2026 |
| 1.0.40-preview | 62 | 7/21/2026 |
| 1.0.39-preview | 67 | 6/28/2026 |
| 1.0.38-preview | 82 | 6/26/2026 |
| 1.0.37-preview | 69 | 6/6/2026 |
| 1.0.36-preview | 63 | 5/25/2026 |
| 1.0.35-preview | 61 | 5/18/2026 |
| 1.0.34-preview | 71 | 5/10/2026 |
| 1.0.33-preview | 64 | 5/9/2026 |
| 1.0.32-preview | 70 | 5/8/2026 |
| 1.0.31-preview | 63 | 5/8/2026 |
| 1.0.30-preview | 209 | 5/8/2026 |