LogFlake.Client.AspNetCore
1.8.0
See the version list below for details.
dotnet add package LogFlake.Client.AspNetCore --version 1.8.0
NuGet\Install-Package LogFlake.Client.AspNetCore -Version 1.8.0
<PackageReference Include="LogFlake.Client.AspNetCore" Version="1.8.0" />
<PackageVersion Include="LogFlake.Client.AspNetCore" Version="1.8.0" />
<PackageReference Include="LogFlake.Client.AspNetCore" />
paket add LogFlake.Client.AspNetCore --version 1.8.0
#r "nuget: LogFlake.Client.AspNetCore, 1.8.0"
#:package LogFlake.Client.AspNetCore@1.8.0
#addin nuget:?package=LogFlake.Client.AspNetCore&version=1.8.0
#tool nuget:?package=LogFlake.Client.AspNetCore&version=1.8.0
LogFlake Client ASP.NET Core 
This repository contains the sources for the client-side components of the LogFlake product suite for applications logs and performance collection for ASP.NET applications.
🏠 LogFlake Website | 🔥 CloudPhoenix Website
Downloads
| NuGet Package Name | Version | Downloads |
|---|---|---|
| LogFlake.Client.AspNetCore |
Dependencies
This package depends on LogFlake.Client.NetCore.
Please refer to the documentation of that package for usage instructions.
Usage
- [Optional] If you want to customize some automatic logs from the middleware, add the following section to your
secrets.jsonfile:
"LogFlakeMiddlewareSettings": {
"LogRequest": true,
"LogResponse": true,
"LogNotFoundErrors": true,
"ClientIdSelector": ""
},
All of them are optional, if a boolean property it's missing, the default value is false;
ClientIdSelector should be the key of the OAuth Claim that contains what you consider a client identifier, its value will be added to the log entry as clientId.
- Create a class (name it something like
ConfigureLogFlakeMiddlewareOptions) that implementsIConfigureOptions<LogFlakeMiddlewareOptions>and configure each property; - Register your class as a Singleton:
services.AddSingleton<IConfigureOptions<LogFlakeMiddlewareOptions>, ConfigureLogFlakeMiddlewareOptions>();
- After calling
services.AddLogFlake(configuration);, add the following line of code:
services.ConfigureLogFlakeMiddlewareOptions(configuration);
Note: You can choose between a
Guid, a TraceIdentifier or a Custom correlation id.
Note: In order to use a Custom correlation id you must implement and register
ICorrelationServiceinterface (suggestion: as a AddScoped). 5. Register the middleware on yourWebApplication
app.UseLogFlakeMiddleware();
| Product | Versions 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.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- LogFlake.Client.NetCore (>= 1.8.0)
- Microsoft.AspNetCore.Diagnostics (>= 2.2.0)
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Http.Extensions (>= 2.2.0)
- Microsoft.AspNetCore.Http.Features (>= 5.0.17)
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.9.1 | 418 | 11/21/2025 |
| 1.9.0 | 448 | 7/30/2025 |
| 1.8.4 | 3,627 | 3/11/2025 |
| 1.8.3 | 1,440 | 11/5/2024 |
| 1.8.2 | 154 | 10/31/2024 |
| 1.8.1 | 714 | 10/4/2024 |
| 1.8.0 | 197 | 10/4/2024 |
| 1.7.0 | 235 | 10/2/2024 |
| 1.6.1 | 189 | 9/30/2024 |
| 1.6.0 | 253 | 7/17/2024 |
| 1.5.5 | 459 | 6/19/2024 |
| 1.5.4 | 183 | 6/18/2024 |
| 1.5.3 | 180 | 6/13/2024 |
| 1.5.2 | 199 | 6/12/2024 |
| 1.5.1 | 183 | 6/7/2024 |
| 1.5.0 | 189 | 6/5/2024 |