NLog.Extensions.AzureEventGrid
4.7.0
See the version list below for details.
dotnet add package NLog.Extensions.AzureEventGrid --version 4.7.0
NuGet\Install-Package NLog.Extensions.AzureEventGrid -Version 4.7.0
<PackageReference Include="NLog.Extensions.AzureEventGrid" Version="4.7.0" />
<PackageVersion Include="NLog.Extensions.AzureEventGrid" Version="4.7.0" />
<PackageReference Include="NLog.Extensions.AzureEventGrid" />
paket add NLog.Extensions.AzureEventGrid --version 4.7.0
#r "nuget: NLog.Extensions.AzureEventGrid, 4.7.0"
#:package NLog.Extensions.AzureEventGrid@4.7.0
#addin nuget:?package=NLog.Extensions.AzureEventGrid&version=4.7.0
#tool nuget:?package=NLog.Extensions.AzureEventGrid&version=4.7.0
Azure Event Grid
| Package Name | NuGet | Description |
|---|---|---|
| NLog.Extensions.AzureEventGrid | Azure Event Grid |
Queue Configuration
Syntax
<extensions>
<add assembly="NLog.Extensions.AzureEventGrid" />
</extensions>
<targets>
<target xsi:type="AzureEventGrid"
name="String"
layout="Layout"
topic="Layout"
cloudEventSource="Layout"
gridEventSubject="Layout"
eventType="Layout"
contentType="Layout"
dataSchema="Layout"
accessKey="Layout">
<metadata name="mymeta" layout="mymetavalue" />
</target>
</targets>
General Options
name - Name of the target.
layout - Event data-payload. Layout Required.
topic - Topic EndPoint Uri. Layout
cloudEventSource - Only for CloudEvent-format (Recommended event format) and specify context where event occurred. Layout
gridEventSubject - Only for GridEvent-format and specify resource path relative to the topic path. Layout
eventType - Type of the event. Ex. "Contoso.Items.ItemReceived". Layout
contentType - Content type of the data-payload. Layout
dataFormat - Format of the data-payload (Binary / Json). Default Binary. String
dataSchema - Schema version of the data-payload. Layout
Authentication Options
managedIdentityClientId - Sets ManagedIdentityClientId on DefaultAzureCredentialOptions. Requires serviceUri.
managedIdentityResourceId - resourceId for ManagedIdentityResourceId on DefaultAzureCredentialOptions, do not use together with ManagedIdentityClientId. Requires serviceUri.
tenantIdentity - tenantId for DefaultAzureCredentialOptions. Requires serviceUri.
sharedAccessSignature - Access signature for AzureSasCredential authentication. Requires serviceUri.
accessKey - Key for AzureKeyCredential authentication. Requires serviceUri.
clientAuthId - clientId for ClientSecretCredential authentication. Requires tenantIdentity and clientAuthSecret.
clientAuthSecret - clientSecret for ClientSecretCredential authentication. Requires tenantIdentity and clientAuthId.
Proxy Options
noProxy - Bypasses any system proxy and proxy in ProxyAddress when set to true.
proxyAddress - Address of the proxy server to use (e.g. http://proxyserver:8080).
proxyLogin - Login to use for the proxy server. Requires proxyPassword.
proxyPassword - Password to use for the proxy server. Requires proxyLogin.
useDefaultCredentialsForProxy - Uses the default credentials (System.Net.CredentialCache.DefaultCredentials) for the proxy server. Take precedence over proxyLogin and proxyPassword when set to true.
Retry Policy
taskTimeoutSeconds - How many seconds a Task is allowed to run before it is cancelled (Default 150 secs)
retryDelayMilliseconds - How many milliseconds to wait before next retry (Default 500ms, and will be doubled on each retry).
retryCount - How many attempts to retry the same Task, before it is aborted (Default 0)
Azure Identity Environment
When DefaultAzureCredential is used for Azure Identity, then it will recognize these environment variables:
AZURE_CLIENT_ID- For ManagedIdentityClientId / WorkloadIdentityClientIdAZURE_TENANT_ID- For TenantId
| 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 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. 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.0
- Azure.Identity (>= 1.16.0)
- Azure.Messaging.EventGrid (>= 5.0.0)
- NLog (>= 5.2.5)
-
net8.0
- Azure.Identity (>= 1.16.0)
- Azure.Messaging.EventGrid (>= 5.0.0)
- NLog (>= 5.2.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Added support for Proxy-options: ProxyAddress, ProxyLogin, ProxyPassword, NoProxy, UseDefaultCredentialsForProxy
- Added support for Authentication-options: ClientAuthId + ClientAuthSecret
- Updated Azure.Identity to ver 1.16.0 (Bug fixes)
- Enabled XML documentation file generation
- Added README.md to nuget-package
Docs: https://github.com/JDetmar/NLog.Extensions.AzureStorage/blob/master/src/NLog.Extensions.AzureEventGrid/README.md