How to deploy an ASP.NET Application with zero downtime
To deploy a new version of our website we do the following:
To deploy a new version of our website we do the following:
I am not looking for any alternative of streaming file contents from
database, indeed I am looking for root of the problem, this was
running file till IIS 6 where we ran our app in classic mode, now we
upgraded our IIS to 7 and we are running app pool in pipeline mode and
this problem started.
I think I heard that ASP.NET applications will shut down after a while of being idle (i.e. no visitors).
I have added the following settings inside my web.config file to initiate an API call to external system. So I am storing the API URL + username + password as follows:-
A portion of our site is done in PHP and a portion of our site is done in ASP.Net. We just set up a new web server with Windows Server 2008 R2 which has IIS 7.5 installed.
Recently samesite=lax add automatically to my session cookie!
this attribute just add to sessionID:
"Set-Cookie ASP.NET_SessionId=zana3mklplqwewhwvika2125; path=/; HttpOnly; **SameSite=Lax**"
Every now and then (always after a long period of idle-time, e.g. overnight) when I access a site built using asp.net – it takes around 15 seconds to load the page (15 seconds before I see any progress whatsoever, then the page comes up fast).
I just created a simple application and hosted in IIS6.0. In code I’m just instantiating excel objects.
Because of compliance reasons we have to switch off the support of some ciphers and SSL2 on our webservers. This is not really a problem, but we would also like to inform them, after their successful login into the website, that we suggest switching on TLS 1.2 in their browser in case they are not already connecting to the server with TLS 1.2. So the question I have is:
What is the kestrel web server and how does it relate to IIS / IIS Express?