Refresh Index illimited

Posted 2 years ago by monicaF8778
Edited 2 years ago
0

Hi, I'm new and I greet everyone. I performed a test deployment of my first blazor application and suffered a problem. When I connect to the url, the index page refreshes itself for an unlimited time. (SignalR maybe?) After a few minutes it stops and everything works. Can someone help me?

  • 0

    I wouldn't think it's SignalR related. Sounds more like a for loop or something to me, but it's impossible to know without seeing some of the code (minus any keys or sensitive information). Is it possible it's attempting to make a database call through a for loop and giving up after x number of tries or something like that?

    Posted 2 years ago by selliott
  • 0

    Thanks for the reply .. I discovered the bug !! I called the Session in the maynlayout and it caused an infinite call loop!

    Posted 2 years ago by monicaF8778
Someone is typing...

Post a Reply

You must be logged in to add a new post.
Number of online users: 0
An error has occurred. This application may no longer respond until reloaded. Reload 🗙