[IIS-Blazor] How to keep alive my Blazor app on IIS > C#/.Net/Blazor/IIS

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

C#/.Net/Blazor/IIS

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

페이지 정보

작성자 sbLAB 댓글 0건 조회 8,596회 작성일 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.




[이 게시물은 sbLAB님에 의해 2022-12-22 09:41:18 Web/PHP/API에서 이동 됨]

댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
351
어제
396
최대
1,279
전체
222,401

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