...
A Step-by-Step Guide to Azure Insights Integration with .NET Core API (You’re here!)
Streamlining Microsoft Azure Insights Integration with Angular
Log Request Payloads Using Custom Events in Microsoft Azure Insights
Tracking Response Exceptions via Custom Event Logging in Azure Insights
In this second part, we will walk through the detailed steps required to integrate Azure Insights with a .NET Core API.
...
Under Investigate > Transaction Search, you can track individual transactions to understand the flow of requests and responses:
Search for Specific Requests: Use filters to find specific requests by URL, status code, or operation.
Trace Logs for Transactions: Drill down into the details of any request to see full traces of each step (e.g., database call, API call).
Custom Event Search: If you’re logging custom events, you can search and analyze them here for more granular tracking of application behaviors.
...
Note |
---|
To view backend application insights data, please ensure that the Server toggle is selected instead of Browser. This will enable visibility of telemetry related to server-side activities such as API requests, exceptions, dependencies, and performance metrics. |
...
Conclusion
In this guide, we've walked through the step-by-step process of integrating Microsoft Azure Insights with a .NET Core API. By following the outlined steps, you’ve set up telemetry to monitor your application's performance, exceptions, and dependencies in real time. This integration helps you gain valuable insights into your application's health, allowing for proactive issue resolution and enhanced performance monitoring. With Azure Insights in place, you can now track critical metrics that will empower you to make data-driven decisions for your .NET Core API’s ongoing development and optimization.