Microsoft.Azure.WebJobs.Logging.ApplicationInsights 3.0.41

Prefix Reserved
dotnet add package Microsoft.Azure.WebJobs.Logging.ApplicationInsights --version 3.0.41                
NuGet\Install-Package Microsoft.Azure.WebJobs.Logging.ApplicationInsights -Version 3.0.41                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Azure.WebJobs.Logging.ApplicationInsights" Version="3.0.41" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Azure.WebJobs.Logging.ApplicationInsights --version 3.0.41                
#r "nuget: Microsoft.Azure.WebJobs.Logging.ApplicationInsights, 3.0.41"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Azure.WebJobs.Logging.ApplicationInsights as a Cake Addin
#addin nuget:?package=Microsoft.Azure.WebJobs.Logging.ApplicationInsights&version=3.0.41

// Install Microsoft.Azure.WebJobs.Logging.ApplicationInsights as a Cake Tool
#tool nuget:?package=Microsoft.Azure.WebJobs.Logging.ApplicationInsights&version=3.0.41                

Microsoft.Azure.WebJobs.Logging.ApplicationInsights

This package adds Application Insights based logging capabilities to the WebJobs SDK. For more information, please visit https://go.microsoft.com/fwlink/?linkid=2279708.

Commonly used types

  • ApplicationInsightsLoggingBuilderExtensions
  • ApplicationInsightsLoggerProvider
  • ApplicationInsightsLoggerOptions

Example usage

The below example demonstrates configuration of ApplicationInsights logging on host startup via the AddApplicationInsightsWebJobs builder method.

using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

class Program
{
    public static async Task Main(string[] args)
    {
        var builder = Host.CreateDefaultBuilder(args)
            .ConfigureWebJobs(b =>
            {
                b.AddAzureStorageCoreServices();
                b.AddAzureStorageQueues();
            })
            .ConfigureLogging((context, b) =>
            {
                // If this key exists in any config, use it to enable App Insights
                string appInsightsKey = context.Configuration["APPINSIGHTS_INSTRUMENTATIONKEY"];
                if (!string.IsNullOrEmpty(appInsightsKey))
                {
                    b.AddApplicationInsightsWebJobs(o => o.InstrumentationKey = appInsightsKey);
                }
            });

        using var host = builder.Build();
        await host.RunAsync();
    }
}
Product 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Microsoft.Azure.WebJobs.Logging.ApplicationInsights:

Package Downloads
Microsoft.Azure.WebJobs.Extensions.ApplicationInsights

This package contains the extension for Application Insights.

Arcus.WebApi.Logging.AzureFunctions

Provides capabilities for easily integrating logging when building Azure Functions.

AzureFunctions.Better.ApplicationInsights

Improve Application Insights (App Insights) integration for Azure Function v3 and v4. Automatically discard cruft telemetry emitted by Functions runtime. Add your own telemetry processors.

RevolutionPlatform.RPLHelpers

Common helper library for Revolution Platform. Includes query generation and vertex parsing for Gremlin.Net.

Microsoft.Azure.WebJobs.Script

This package contains the runtime assemblies for Microsoft.Azure.WebJobs.Script. For more information, please visit http://github.com/Azure/azure-webjobs-sdk-script

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.41 200,823 7/12/2024
3.0.35 1,927,105 4/4/2023
3.0.34 252,440 2/22/2023
3.0.33 1,567,070 5/9/2022
3.0.30 1,328,727 9/17/2021
3.0.27 1,030,616 3/22/2021
3.0.25 525,604 1/13/2021
3.0.23 452,910 10/2/2020
3.0.18 454,891 8/12/2020
3.0.14 1,501,702 10/16/2019
3.0.13 68,565 9/20/2019
3.0.12 48,125 8/30/2019
3.0.8 342,546 5/3/2019
3.0.6 246,436 3/29/2019
3.0.5 51,794 3/7/2019
3.0.4 186,188 1/25/2019
3.0.3 56,272 12/5/2018
3.0.2 41,547 11/9/2018
3.0.1 35,870 10/17/2018
3.0.0 92,569 9/19/2018
3.0.0-rc1 1,394 9/14/2018
3.0.0-beta8 2,178 8/30/2018
3.0.0-beta5 27,036 3/26/2018
3.0.0-beta4 24,644 11/28/2017
3.0.0-beta3 7,266 9/15/2017
3.0.0-beta2 4,206 8/29/2017
3.0.0-beta1-10941 1,044 7/21/2017
3.0.0-beta1-10871 4,703 7/19/2017
2.3.0 364,894 11/29/2018
2.2.0 431,957 3/28/2018
2.1.0 73,899 2/2/2018
2.1.0-beta4 21,401 9/21/2017
2.1.0-beta1 19,347 5/4/2017