Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Debug .NET Apps in Production with the Snapshot Debugger in Application Insights

Play Debug .NET Apps in Production with the Snapshot Debugger in Application Insights
Sign in to queue


Dan Taylor joins Scott Hanselman to talk about how the Snapshot Debugger in Application Insights can help you identify the root cause of issues in your production environment without having to repro them locally. Dan shows how by adding the Microsoft.ApplicationInsights.SnapshotCollector NuGet package to your app, you can get view full-process snapshots containing local variables the moment exceptions are thrown in production.

For more information, see:

Create a Free Account (Azure)





The Discussion

  • User profile image

    Wonderful. This is really cool feature to debug and fix the issue.

  • User profile image

    Really useful feature. Thank you guys!

  • User profile image

    Could there be adverse security implications of using this feature e.g storing full stack trace in the cloud?

  • User profile image

    @Oren23: great question. There could be potentially PII or sensitive information contained in the Snapshots, so this is something to be aware of if your service handles sensitive information.

    For this reason we encrypt the snapshots both in transit and at rest, and viewing Snapshots is protected by RBAC (role based access control) and audited. The subscription owner must explicitly allow access for users to view snapshots by granting the "Application Insights Snapshot Debugger" role to users.

    Hope that helps answer your question!


  • User profile image

    Excellent ! Thank you :)

  • User profile image

    Really cool feature, thanks for the thorough explanation.

Add Your 2 Cents