[IIS-Blazor] How to keep alive my Blazor app on IIS > Web/Blazor

본문 바로가기
사이트 내 전체검색

Web/Blazor

[IIS-Blazor] How to keep alive my Blazor app on IIS

페이지 정보

작성자 sbLAB 댓글 0건 조회 420회 작성일 21-12-30 09:47

본문

https://stackoverflow.com/questions/63392848/why-is-the-user-automatically-logged-out-after-60-minutes-using-cookie-authenti 

In the IIS-Manager (inetmgr), Go to "Application Pools" > "Advanced Settings":

Set the Idle-Timeout in IIS to 0  and recylce the application pool.


IIS Idle Time-out



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)


IIS Application Pool Configuration

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.




댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
49
어제
59
최대
124
전체
45,515

그누보드5
Copyright © sebom.com All rights reserved.