LogFlake.Client.AspNetCore
1.6.1
See the version list below for details.
dotnet add package LogFlake.Client.AspNetCore --version 1.6.1
NuGet\Install-Package LogFlake.Client.AspNetCore -Version 1.6.1
<PackageReference Include="LogFlake.Client.AspNetCore" Version="1.6.1" />
<PackageVersion Include="LogFlake.Client.AspNetCore" Version="1.6.1" />
<PackageReference Include="LogFlake.Client.AspNetCore" />
paket add LogFlake.Client.AspNetCore --version 1.6.1
#r "nuget: LogFlake.Client.AspNetCore, 1.6.1"
#addin nuget:?package=LogFlake.Client.AspNetCore&version=1.6.1
#tool nuget:?package=LogFlake.Client.AspNetCore&version=1.6.1
LogFlake Client .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 |
Dependecies
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.json
file:
"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
ICorrelationService
interface (suggestion: as a AddScoped). 5. Register the middleare 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. |
.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.6.1)
- 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.8.4 | 922 | 3/11/2025 |
1.8.3 | 1,290 | 11/5/2024 |
1.8.2 | 99 | 10/31/2024 |
1.8.1 | 657 | 10/4/2024 |
1.8.0 | 112 | 10/4/2024 |
1.7.0 | 152 | 10/2/2024 |
1.6.1 | 116 | 9/30/2024 |
1.6.0 | 190 | 7/17/2024 |
1.5.5 | 381 | 6/19/2024 |
1.5.4 | 130 | 6/18/2024 |
1.5.3 | 128 | 6/13/2024 |
1.5.2 | 120 | 6/12/2024 |
1.5.1 | 114 | 6/7/2024 |
1.5.0 | 121 | 6/5/2024 |