Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

523
Vistas
Disabling Hot Reload for .NET Core project in Visual Studio 2019

Some time ago, a Visual Studio update added a hot reload feature. It be handy, but it also can be annoying especially when you're testing and you don't want to reset the current state of the front end. Visual Studio injects the script whether you're debugging or not.

How can hot reload be disabled? My Visual Studio version is 16.10.3

https://devblogs.microsoft.com/visualstudio/speed-up-your-dotnet-and-cplusplus-development-with-hot-reload-in-visual-studio-2022/

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

You can change this feature here:

Tools > Options > Projects and Solutions > ASP.NET Core > Auto build and refresh option

Options to automatically build and refresh the browser if the web server is running when changes are made to the project.

Your options in this dropdown are the following:

  1. None
  2. Auto build on browser request (IIS only)
  3. Refresh browser after build
  4. Auto build and refresh browser after saving changes

Also note my version of VS is 16.11.1.

over 4 years ago · Santiago Trujillo Denunciar

0

This isn't a great solution, but it's a viable workaround.

In the "Network" tab of Chromium Edge's developer tools, I found the request to load aspnetcore-browser-refresh.js. I right click on it and selected "Block URL". This prevents the script from loading.

over 4 years ago · Santiago Trujillo Denunciar

0

In VS2022, this setting below disables the injection of the aspnetcore-browser-refresh.js script:

enter image description here

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda