{"id":22034275,"url":"https://github.com/soenneker/soenneker.blazor.applicationinsights","last_synced_at":"2026-06-06T04:00:46.388Z","repository":{"id":65177662,"uuid":"585753527","full_name":"soenneker/soenneker.blazor.applicationinsights","owner":"soenneker","description":"A Blazor interop library that sets up client-side Application Insights","archived":false,"fork":false,"pushed_at":"2026-05-30T06:26:37.000Z","size":2019,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-30T08:12:15.946Z","etag":null,"topics":["application-insights","blazor","csharp","dotnet","interop"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soenneker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"soenneker","thanks_dev":"soenneker"}},"created_at":"2023-01-06T01:31:43.000Z","updated_at":"2026-05-30T06:26:41.000Z","dependencies_parsed_at":"2026-04-14T21:01:04.647Z","dependency_job_id":null,"html_url":"https://github.com/soenneker/soenneker.blazor.applicationinsights","commit_stats":null,"previous_names":[],"tags_count":215,"template":false,"template_full_name":null,"purl":"pkg:github/soenneker/soenneker.blazor.applicationinsights","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.applicationinsights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.applicationinsights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.applicationinsights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.applicationinsights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soenneker","download_url":"https://codeload.github.com/soenneker/soenneker.blazor.applicationinsights/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.blazor.applicationinsights/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33968711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application-insights","blazor","csharp","dotnet","interop"],"created_at":"2024-11-30T09:07:37.553Z","updated_at":"2026-06-06T04:00:46.364Z","avatar_url":"https://github.com/soenneker.png","language":"C#","funding_links":["https://github.com/sponsors/soenneker","https://thanks.dev/soenneker"],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/nuget/v/Soenneker.Blazor.ApplicationInsights.svg?style=for-the-badge)](https://www.nuget.org/packages/Soenneker.Blazor.ApplicationInsights/)\n[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.blazor.applicationinsights/publish-package.yml?style=for-the-badge)](https://github.com/soenneker/soenneker.blazor.applicationinsights/actions/workflows/publish-package.yml)\n[![](https://img.shields.io/nuget/dt/Soenneker.Blazor.ApplicationInsights.svg?style=for-the-badge)](https://www.nuget.org/packages/Soenneker.Blazor.ApplicationInsights/)\n[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.blazor.applicationinsights/codeql.yml?label=CodeQL\u0026style=for-the-badge)](https://github.com/soenneker/soenneker.blazor.applicationinsights/actions/workflows/codeql.yml)\n\n# ![](https://user-images.githubusercontent.com/4441470/224455560-91ed3ee7-f510-4041-a8d2-3fc093025112.png) Soenneker.Blazor.ApplicationInsights\n### A Blazor interop library that sets up client-side Azure [Application Insights](https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview?tabs=net).\n\n## Installation\n\n```\ndotnet add package Soenneker.Blazor.ApplicationInsights\n```\n\n## Usage\n\n1. Register the interop within DI (`Program.cs`)\n\n```csharp\npublic static async Task Main(string[] args)\n{\n    ...\n    builder.Services.AddApplicationInsightsInteropAsScoped();\n}\n```\n\n2. Inject `IApplicationInsightsInterop` within your `App.Razor` file\n\n```csharp\n@using Soenneker.Blazor.ApplicationInsights.Abstract\n@inject IApplicationInsightsInterop AppInsightsInterop\n```\n\n3. Call the interop from `OnAfterRenderAsync` in `App.razor`.\n\n```csharp\nprotected override async Task OnAfterRenderAsync(bool firstRender)\n{\n    if (!firstRender)\n        return;\n\n    await AppInsightsInterop.Init(\"your-connection-string-here\");\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoenneker%2Fsoenneker.blazor.applicationinsights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoenneker%2Fsoenneker.blazor.applicationinsights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoenneker%2Fsoenneker.blazor.applicationinsights/lists"}