[IIS-Blazor] How to keep alive my Blazor app on IIS
작성일 21-12-30 09:47
페이지 정보
작성자sbLAB 조회 8,779회 댓글 0건본문
In the IIS-Manager (inetmgr), Go to "Application Pools" > "Advanced Settings":
Set the Idle-Timeout in IIS to 0 and recylce the application pool.
https://stackoverflow.com/questions/66443520/how-to-keep-alive-my-blazor-server-side-app-iis-8-5
In IIS the application pool recycles every 29 hours by default. This is a configurable setting.
Please change the Regular Time Interval (minutes) from 1740 to 0.
A setting of 0 means the application pool will never recycle. (see picture for the default setting)
Changing this setting is helpful for a Blazor Server app,
because otherwise clients will get disconnected from the server when the application pool recycles.
This is a quirk of SignalR protocol which is used by Blazor Server.
댓글목록
등록된 댓글이 없습니다.