Does Glimpse (the diagnostics plugin for .NET) support diagnostic information from ASP.NET Web API? I installed it and ran against the website, it captures ASP.NET MVC requests and returns information about them but I don't see any Web API request information.
There is no official support for ASP.NET Web API yet for Glimpse, but there is a feature request on the GitHub page for the project; although this is 4 months old and the comment says they were working on support for MVC4, which came out last week. I would guess it might be available soon, but who knows.
Glimpse GitHub Project Page - Issue 282 - Request for support of ASP.NET Web API
The issue Mark pointed to was actually a bug where Glimpse interfered with WebApi's help pages, and the links EBarr pointed out were for a bug that interferes with Web API Descriptors.
There was some actual work being done to get Web API support, but the pull request was never completed and the issue was closed in June of 2016, to be included on a huge list of "improvement ideas". This blog post claims to at least get basic stuff like trace logging from web api requests, but I was unable to get it working with the latest version of Glimpse. I'm suspecting the fix for the issue EBarr mentioned might actually make Glimpse ignore non-MVC requests.
© 2022 - 2024 — McMap. All rights reserved.