Connecting Blazor server app to Application Insights

David Thielen 2,776 Reputation points
2024-07-11T17:21:19.1466667+00:00

Hi all;

Is there any comprehensive documentation on connecting a Blazor server app to Application Insights? I've found the following bits and pieces:

thanks - dave

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,012 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,494 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,951 Reputation points Microsoft Employee
    2024-07-12T14:04:00.0266667+00:00

    Hi @David Thielen,

    With Blazor being written on top of ASP.NET, the same logging methodologies would apply. That might be why you aren't seeing a lot of specific posts on it 🙂.

    You can review Application Insights logging with .NET - Azure Monitor | Microsoft Learn to use the built-in .NET logging to integrate with application insights.