Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

185
Visualizações
Spinner load failed on IIS ASP NET Core

I have a problem with the display of a loading gif. It works fine under visual 2017 and IIS Express, but after posting to a target server and IIS, the GIF no longer loads. It is however present in the wwwroot / images

Spinner

code

I have tried several syntaxes for the GIF path, but nothing helps.

var spiner = "<img src=\"/images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

var spiner = "<img src=\"~/images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

var spiner = "<img src=\"../images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

Do you have an idea?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

In fact, the GIF does not have time to load to display. I changed my code like this, with 5s display, and it displays correctly. Now the only concern is that it delays the refresh of my page. I have to find something else.

enter image description here

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda