MELT.AspNetCore
2.0.0
dotnet add package MELT.AspNetCore --version 2.0.0
NuGet\Install-Package MELT.AspNetCore -Version 2.0.0
<PackageReference Include="MELT.AspNetCore" Version="2.0.0" />
<PackageVersion Include="MELT.AspNetCore" Version="2.0.0" />
<PackageReference Include="MELT.AspNetCore" />
paket add MELT.AspNetCore --version 2.0.0
#r "nuget: MELT.AspNetCore, 2.0.0"
#:package MELT.AspNetCore@2.0.0
#addin nuget:?package=MELT.AspNetCore&version=2.0.0
#tool nuget:?package=MELT.AspNetCore&version=2.0.0
MELT
Testing library for Microsoft.Extensions.Logging.
Install
Install version 2.0.0 of the MELT package shown on this NuGet page.
For package selection and setup instructions, see the
MELT documentation.
MELT v2 requires Microsoft.Extensions.Logging 10.0.0 or later (MELT.Serilog
requires Serilog 4.2.0 and Serilog.Extensions.Logging 10.0.0 or later).
Create a test logger factory, pass a logger to the system under test, then
assert against the captured entries through loggerFactory.Sink.LogEntries.
Packages and compatibility
The core packages (MELT, MELT.Serilog, MELT.Xunit, and
MELT.Xunit.v3) target netstandard2.0. MELT v2 actively supports .NET 10 and
.NET 11. The ASP.NET Core helper packages target net10.0 and are validated on
both .NET 10 and .NET 11.
Applications using Microsoft.Extensions versions earlier than 10.0 (including .NET 8/9 or classic .NET Framework applications pinned to older Extensions packages), Serilog 3.x, the legacy ASP.NET Core helper stack, or APIs removed in v2 should use the MELT 1.x legacy release line (latest: 1.1.0).
Documentation
Read the documentation for MELT 2.0.0.
For the latest documentation, visit alefranz.github.io/MELT.
| 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
- MELT (>= 2.0.0)
- Microsoft.AspNetCore.Mvc.Testing (>= 10.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MELT.AspNetCore:
| Package | Downloads |
|---|---|
|
MELT.Serilog.AspNetCore
Helper for the MELT testing library to verify that the correct logs are generated by ASP.NET Core applications, when writing integration tests with Microsoft.AspNetCore.Mvc.Testing. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 70 | 11/21/2026 |
| 1.1.0 | 77,352 | 9/21/2025 |
| 1.1.0-preview.1 | 244 | 9/19/2025 |
| 1.0.0 | 48,219 | 5/27/2025 |
| 1.0.0-rc.2 | 231 | 5/18/2025 |
| 1.0.0-rc.1 | 206 | 5/18/2025 |
| 0.9.0 | 187,508 | 8/6/2023 |
| 0.8.0 | 119,267 | 4/26/2021 |
| 0.7.0 | 13,738 | 2/21/2021 |
| 0.6.0 | 22,819 | 11/7/2020 |
| 0.6.0-preview.1 | 490 | 10/16/2020 |
| 0.5.3 | 2,064 | 8/31/2020 |
| 0.5.2 | 1,343 | 8/30/2020 |
| 0.5.1 | 1,322 | 8/30/2020 |
| 0.5.0 | 1,413 | 8/30/2020 |
| 0.3.0 | 13,587 | 11/24/2019 |