asp.net - Caching WCF Proxy? -


I am trying to use the channel factory and caching it in my asp.net mvc. I'm using the example mode per session because I need to know the state. For this reason I can not immediately stop the proxy and I do not want to reopen it, shutting down the proxy every time I leave the proxy, it ends in 12th time. I can end the time of the concurrent session, but I want to know whether it is the right approach to go. I'm new to WCF. So sorry if my question is stupid, thanks to Pratt in the past

The answer is probably Forms activating the sliding expansion property in the Certification Element, although by default it is turned on, with each call, the timer is reset to the timeout value so that the session is actively used.

View this

Edit - Reply to Comment:

Yes, when the session expires, you will be able to reuse services You will need to re-initialize before it can be done. You should set the timeout value to the length of inactivity (in minutes), which you believe the user is no longer active (default 30 minutes), then the sliding end will reset this value if the user keeps calling I have some simple tests I will try to set it up to 1 minute on time so that you can prove it yourself.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -