Asked by:
server blazor | does the server restart by itself?

Question
-
User2110873642 posted
in web forms, the server would idle out, and not run, or just force a restart every now and then.
does blazor have similar behavior? or does it keep running? and would the console tell me about it? or does it do it invisibly?
when i test it in visual studio debugger, the connectionpipline never disconnects. even after hours.
Thursday, July 23, 2020 10:22 PM
All replies
-
User475983607 posted
in web forms, the server would idle out, and not run, or just force a restart every now and then.
does blazor have similar behavior?
Idle timeout is an IIS feature.
or does it keep running? and would the console tell me about it? or does it do it invisibly?If you've started kestrel in the console, I'm pretty sure there's no idle timeout like IIS.
when i test it in visual studio debugger, the connectionpipline never disconnects. even after hours.Sounds right for debugging.
Thursday, July 23, 2020 11:00 PM -
User2110873642 posted
what is kestrel ? is that the .exe console in the /publish folder?
if i host it with the .exe file, it doesnt idle?
and how can i choose a domainname like Subsite.Testsite.com without IIS?
Thursday, July 23, 2020 11:02 PM -
User475983607 posted
fazioliamboina
what is kestrel ? is that the .exe console in the /publish folder?
if i host it with the .exe file, it doesnt idle?
and how can i choose a domainname like Subsite.Testsite.com without IIS?
I don't have the energy (and it's time for a beer) to explain the details of hosting, IIS, Kestrel, etc. Can you just read the docs?
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-3.1
Thursday, July 23, 2020 11:06 PM -
User-2138243527 posted
fazioliamboina
what is kestrel ? is that the .exe console in the /publish folder?
if i host it with the .exe file, it doesnt idle?
and how can i choose a domainname like Subsite.Testsite.com without IIS?
I don't have the energy (and it's time for a beer) to explain the details of hosting, IIS, Kestrel, etc. Can you just read the docs?
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-3.1
Great post. It was much needed. Love your simplistic style of explanation. :)
Tuesday, August 25, 2020 7:13 AM