![]() ![]() However with help of this extension you can see the result on the fly. Generally as a developer we used Visual Studio Code Metrics Tools to analysis all the results. This CodeLens Code Health Indicator gives the current value of the Maintainability Index for the code and it updates automatically as you change your code.Ĭode Maintainable Index is one of the important metrics that indicates how easy to maintain you code ( You can see definition from above notification image as well ) and it’s consists of the factor like Line of Code, Cyclomatic complexity, depth of inheritance, class coupling etc. ![]() Once this happens you should be able to right-click on your project in Solution Explorer window and see an Application Insights menu option.If you are using Visual Studio 2013, then please try this extension ![]() You will need to close and re-open the project in Visual Studio for the changes in the. Note: When substituting values into the above, Resource Group and App Insights are the display name shown in Azure not the ids. subscriptions//resourceGroups//providers/microsoft.insights/components/ By adding this into an existing Product Group within the project. I followed the steps posted on the comment of this thread. Luckily it didn’t take long to find the answer here: I was wondering why I wasn’t seeing this for my project and it seems you only get this magic happening automatically if your project is ASP.NET. I only recently stumbled across the fact that for ASP.NET projects, the Application Insights telemetry is surfaced and available in your source code within Visual Studio using CodeLens. I had been using Application Insights for a while with a Web API project and found it immensely valuable for monitoring how the Web API was performing and discovering any issues in production. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |