[IIS-Blazor] How to keep alive my Blazor app on IIS
페이지 정보
작성자 sbLAB 댓글 0건 조회 8,596회 작성일 21-12-30 09:47본문
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.
[이 게시물은 sbLAB님에 의해 2022-12-22 09:41:18 Web/PHP/API에서 이동 됨]
- 이전글[Server] SignalR Supported Platforms 21.12.31
- 다음글[Blazor WASM] 업데이트 Publish -> Client 업데이트 적용 21.12.28
댓글목록
등록된 댓글이 없습니다.