Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

772
Views
How to stop Visual Studio 2022 sending requests to dc.services.visualstudio.com

I installed vs 2022 today and when running my project I suddenly se all these requests firing in my web front-end

https://dc.services.visualstudio.com/v2/track

Does anyone know why this would suddenly start happening after upgraing to vs 2022?

enter image description here

I don't want to see these requests in local dev environment. How can I remove them?


I tried checking this box but it didn't help:

enter image description here

I also tried ignoring the AI dependency after right-clicking clicking Project -> Configure Application Insights, but that seems to do nothing:

enter image description here

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Thanks for reporting this. We've investigated it and identified the source of that request. The request has been removed and the fix will be included in an upcoming release. You can keep track of when it is released by following this feedback ticket, to which other similar tickets were duped.

over 4 years ago · Santiago Trujillo Report

0

I found several solutions (the 1st option helped me):

1. Disable browser connection

Tools > Options > Project & Solutions > ASP.NET Core

CSS Hot Reload - Disabled

May you need to restart VS after changing that option.


Go to the browser link toolbar and click the arrow pointing down - shown below. Turn off "Enable browser link" so that it no longer has a check mark Restart Visual Studio after you have done this.

enter image description here

2. Disable Insights

Tools > Options > Project & Solutions > Web Projects

turn on "Disable local Application Insights for ASP.NET Core web projects"


In file Startup.cs:

public void ConfigureServices(IServiceCollection services){
...
#if !DEBUG
services.AddApplicationInsightsTelemetry();
#endif
...
}

and:

public void Configure(IApplicationBuilder app, IWebHostEnvironment env){
...
#if DEBUG
TelemetryConfiguration.Active.DisableTelemetry = true;
TelemetryDebugWriter.IsTracingDisabled = true;
#endif
...
}

3. Edit file hosts

Add in file hosts:

  • 127.0.0.1 dc.services.visualstudio.com
  • 127.0.0.1 rt.services.visualstudio.com
over 4 years ago · Santiago Trujillo Report

0

You can follow my steps to disable Application Insights when you debug.

First you can add

#if !DEBUG
services.AddApplicationInsightsTelemetry();
#endif

in ConfigureServices.

And second you need add

#if DEBUG
TelemetryConfiguration.Active.DisableTelemetry = true;
TelemetryDebugWriter.IsTracingDisabled = true;
#endif

in Configure.

enter image description here

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!