Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Experts,

I am working on one web application which is hosted on IIS7 facing one problem.

I am following layered architecture in .NET, so when I change any code in BLL and upload on live server, my application take time to update and all existing session expired which is online and some time i have to restart application from IIS.

Please give me any good solution so i could upload my updated file on live server without session expire with no restart.

Thanks in advance.


Sharad Gupta
Posted
Comments
Richard C Bishop 21-Mar-13 14:10pm    
If you are publishing code to a server, it is going to end all sessions. You can't publish and have it run the old code at the same time.

1 solution

If you change your code, the AppDomain will allways recycle.

You need a different approach, can you transform your business logic layer into webservices, for instance ? So can you upgrade the services (without changing the interface of them).

Just a thought, hope it helps
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900