About 62,100 results
Open links in new tab
  1. Logging in .NET and ASP.NET Core | Microsoft Learn

    ASP.NET Core doesn't include a logging provider for writing logs to files. To write logs to files from an ASP.NET Core app, consider using a third-party logging provider.

  2. Logging in C# - .NET | Microsoft Learn

    Jul 17, 2024 · Learn about app logging provided by the Microsoft.Extensions.Logging NuGet package in C#.

  3. Log creation and redirection with the ASP.NET Core Module

    Jul 31, 2024 · For routine logging in an ASP.NET Core app, use a logging library that limits log file size and rotates logs. For more information, see third-party logging providers.

  4. HTTP logging in .NET and ASP.NET Core | Microsoft Learn

    Apr 25, 2025 · Understand and implement middleware in an ASP.NET Core app. Use included middleware like HTTP logging and authentication. Create custom middleware to handle …

  5. Logging with the Azure SDK for .NET - .NET | Microsoft Learn

    Apr 5, 2025 · You can control logging using any of the configuration options discussed in Logging in .NET Core and ASP.NET Core. Using the Azure Service Bus library as an example, …

  6. Logging and tracing - .NET | Microsoft Learn

    Sep 4, 2024 · ILogger provides the logging story for the OpenTelemetry implementation for .NET, which enables egress of logs from your application to a variety of APM systems for further …

  7. High-performance logging - .NET | Microsoft Learn

    Apr 11, 2024 · Learn how to use LoggerMessage to create cacheable delegates that require fewer object allocations for high-performance logging scenarios.

  8. Logging providers - .NET | Microsoft Learn

    Oct 22, 2025 · ApplicationInsightsLoggerProvider for .NET Core ILogger logs - Start here if you want to implement the logging provider without the rest of Application Insights telemetry.

  9. Simple logging - EF Core | Microsoft Learn

    Jan 12, 2023 · Entity Framework Core (EF Core) simple logging can be used to easily obtain logs while developing and debugging applications. This form of logging requires minimal …

  10. Compile-time logging source generation - .NET | Microsoft Learn

    Oct 22, 2025 · Learn how to use the LoggerMessageAttribute and compile-time source generation for logging in .NET.