![]() |
VOOZH | about |
dotnet add package Microsoft.Extensions.Logging.AzureAppServices --version 10.0.9
NuGet\Install-Package Microsoft.Extensions.Logging.AzureAppServices -Version 10.0.9
<PackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" Version="10.0.9" />
<PackageVersion Include="Microsoft.Extensions.Logging.AzureAppServices" Version="10.0.9" />Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" />Project file
paket add Microsoft.Extensions.Logging.AzureAppServices --version 10.0.9
#r "nuget: Microsoft.Extensions.Logging.AzureAppServices, 10.0.9"
#:package Microsoft.Extensions.Logging.AzureAppServices@10.0.9
#addin nuget:?package=Microsoft.Extensions.Logging.AzureAppServices&version=10.0.9Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Logging.AzureAppServices&version=10.0.9Install as a Cake Tool
Microsoft.Extensions.Logging.AzureAppServices provides a logger implementation that logs to text files in an Azure App Service app's file system and to blob storage in an Azure Storage account.
Microsoft.Extensions.LoggingTo use Microsoft.Extensions.Logging.AzureAppServices, follow these steps:
dotnet add package Microsoft.Extensions.Logging.AzureAppServices
To configure provider settings, use AzureFileLoggerOptions and AzureBlobLoggerOptions, as shown in the following example:
using Microsoft.Extensions.Logging.AzureAppServices;
var builder = WebApplication.CreateBuilder();
builder.Logging.AddAzureWebAppDiagnostics();
builder.Services.Configure<AzureFileLoggerOptions>(options =>
{
options.FileName = "azure-diagnostics-";
options.FileSizeLimit = 50 * 1024;
options.RetainedFileCountLimit = 5;
});
builder.Services.Configure<AzureBlobLoggerOptions>(options =>
{
options.BlobName = "log.txt";
});
FileLoggerProvider: A BatchingLoggerProvider which writes out to a fileBlobLoggerProvider: The ILoggerProvider implementation that stores messages by appending them to Azure Blob in batchesAzureFileLoggerOptions: Options for configuring Azure diagnostics file loggingAzureBlobLoggerOptions: Options for configuring Azure diagnostics blob loggingFor additional documentation and examples, refer to the official documentation on logging with ASP.NEt Core and Azure App Service.
Microsoft.Extensions.Logging.AzureAppServices is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Logging.AzureAppServices:
| Package | Downloads |
|---|---|
|
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/dotnet/tree/f7b4c5716faaee8fb8a289aed29118cad955c45f |
|
|
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. |
|
|
Serilog.Sinks.AzureApp
A Serilog sink that supports Azure App Services 'Diagnostics logs' and 'Log stream' features. |
|
|
Relay.Web
A web framework built for .NET Core |
|
|
Amelia
Package Description |
Showing the top 15 popular GitHub repositories that depend on Microsoft.Extensions.Logging.AzureAppServices:
| Repository | Stars |
|---|---|
|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
|
|
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
|
|
|
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 10 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 21, React 19, Vue 3.5, BFF with YARP, NextJs 16, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ...
|
|
|
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
|
|
|
EdiWang/Moonglade
Blog system of https://edi.wang, runs on Microsoft Azure
|
|
|
ProfessionalCSharp/ProfessionalCSharp7
Code samples for the book Professional C# 7 and .NET Core 2.0 (with updates for 2.1), Wrox Press
|
|
|
microsoft/BotFramework-BlogSamples
Welcome to the Bot Framework samples repository. Here you will find sample bots that take advantage of Bot Framework capabilities.
|
|
|
ProfessionalCSharp/ProfessionalCSharp2021
Source code for Professional C# and .NET 2021 Edition (with updates for C# 11 and .NET 7)
|
|
|
BotBuilderCommunity/botbuilder-community-dotnet
Part of the Bot Builder Community Project. Repository for extensions for the Bot Builder .NET SDK, including middleware, dialogs, recognizers and more.
|
|
|
ProfessionalCSharp/MoreSamples
Additional code samples the book series Professional C#, Wrox Press
|
|
| dotnet/AspNetCore.Docs.Samples | |
|
VirtoCommerce/vc-storefront
Virto Commerce Storefront - ASP.NET Core 8.0
|
|
|
microsoft/app-innovation-workshop
Hands-on workshop designed to help you learn Azure, Mobile & AI
|
|
|
DevBetterCom/DevBetterWeb
A simple web application for devBetter
|
|
|
tompaana/intermediator-bot-sample
A sample bot, built with the Microsoft Bot Framework (v4), that routes messages between two users on different channels.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.5.26302.115 | 650 | 6/9/2026 |
| 11.0.0-preview.4.26230.115 | 1,152 | 5/12/2026 |
| 11.0.0-preview.3.26207.106 | 1,320 | 4/14/2026 |
| 11.0.0-preview.2.26159.112 | 1,140 | 3/10/2026 |
| 11.0.0-preview.1.26104.118 | 1,002 | 2/10/2026 |
| 10.0.9 | 19,277 | 6/9/2026 |
| 10.0.8 | 116,111 | 5/12/2026 |
| 10.0.7 | 177,630 | 4/21/2026 |
| 10.0.6 | 43,642 | 4/14/2026 |
| 10.0.5 | 248,391 | 3/12/2026 |
| 10.0.4 | 34,658 | 3/10/2026 |
| 9.0.17 | 1,114 | 6/9/2026 |
| 9.0.16 | 14,016 | 5/12/2026 |
| 9.0.15 | 12,952 | 4/14/2026 |
| 9.0.14 | 17,016 | 3/10/2026 |
| 9.0.13 | 19,384 | 2/10/2026 |
| 8.0.28 | 2,090 | 6/9/2026 |
| 8.0.27 | 11,532 | 5/12/2026 |
| 8.0.26 | 13,598 | 4/14/2026 |
| 8.0.25 | 20,808 | 3/10/2026 |