NetChris.Logging.AspNetCore 0.10.440123869-pre

Prefix Reserved
This is a prerelease version of NetChris.Logging.AspNetCore.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NetChris.Logging.AspNetCore --version 0.10.440123869-pre
                    
NuGet\Install-Package NetChris.Logging.AspNetCore -Version 0.10.440123869-pre
                    
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="NetChris.Logging.AspNetCore" Version="0.10.440123869-pre" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetChris.Logging.AspNetCore" Version="0.10.440123869-pre" />
                    
Directory.Packages.props
<PackageReference Include="NetChris.Logging.AspNetCore" />
                    
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 NetChris.Logging.AspNetCore --version 0.10.440123869-pre
                    
#r "nuget: NetChris.Logging.AspNetCore, 0.10.440123869-pre"
                    
#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 NetChris.Logging.AspNetCore@0.10.440123869-pre
                    
#: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=NetChris.Logging.AspNetCore&version=0.10.440123869-pre&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=NetChris.Logging.AspNetCore&version=0.10.440123869-pre&prerelease
                    
Install as a Cake Tool

NetChris.Logging.AspNetCore

Usage

  • In your Program.cs file, call IHostBuilder.ConfigureAspNetCoreNetChrisJsonConsoleLogging():
public class Program
{
  public static void Main(string[] args)
  {
    CreateHostBuilder(args).Build().Run();
  }

  public static IHostBuilder CreateHostBuilder(string[] args)
  {
    return Host.CreateDefaultBuilder(args)
      .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); })
      .UseNetChrisLogging();
  }
}
  • In your Startup class:
public void Configure(IApplicationBuilder app)
{
  app.UseMiddleware<RequestLogScopeMiddleware>();
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
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
1.0.444323398 521 1/9/2022 1.0.444323398 is deprecated because it is no longer maintained.
1.0.444318882-pre 322 1/9/2022 1.0.444318882-pre is deprecated because it is no longer maintained.
1.0.444316742-pre 309 1/9/2022 1.0.444316742-pre is deprecated because it is no longer maintained.
1.0.444290610 420 1/9/2022 1.0.444290610 is deprecated because it is no longer maintained.
1.0.444285672-pre 324 1/9/2022 1.0.444285672-pre is deprecated because it is no longer maintained.
1.0.444282192-pre 323 1/9/2022 1.0.444282192-pre is deprecated because it is no longer maintained.
0.10.440123869-pre 306 1/2/2022 0.10.440123869-pre is deprecated because it is no longer maintained.
0.9.439862951 451 1/1/2022 0.9.439862951 is deprecated because it is no longer maintained.
0.9.439861426-pre 301 1/1/2022 0.9.439861426-pre is deprecated because it is no longer maintained.
0.8.77 566 7/12/2021 0.8.77 is deprecated because it is no longer maintained.
0.7.69 524 7/11/2021 0.7.69 is deprecated because it is no longer maintained.
0.6.55 606 11/11/2020 0.6.55 is deprecated because it is no longer maintained.
0.6.52-pr-dotnet5 521 10/11/2020 0.6.52-pr-dotnet5 is deprecated because it is no longer maintained.
0.6.51-pr-dotnet5 556 10/10/2020 0.6.51-pr-dotnet5 is deprecated because it is no longer maintained.
0.6.50-pr-1-coordination-id 547 10/10/2020 0.6.50-pr-1-coordination-id is deprecated because it is no longer maintained.
0.5.48-pr-1-coordination-id 573 10/10/2020 0.5.48-pr-1-coordination-id is deprecated because it is no longer maintained.
0.5.45-pr-update-references 636 10/10/2020 0.5.45-pr-update-references is deprecated because it is no longer maintained.
0.5.43-pr-dotnet5 572 8/16/2020 0.5.43-pr-dotnet5 is deprecated because it is no longer maintained.
0.5.37-pr-3-updates 522 8/16/2020 0.5.37-pr-3-updates is deprecated because it is no longer maintained.
0.5.36-pr-3-updates 575 8/16/2020 0.5.36-pr-3-updates is deprecated because it is no longer maintained.
0.4.28 671 8/15/2020 0.4.28 is deprecated because it is no longer maintained.