What's the purpose of IsReusable property of HttpHandler?

Posted by Hardcoder under C# on 6/12/2012 | Points: 10 | Views : 3807 | Status : [Member] | Replies : 5
Hello,
While writing a httphandler you need to implement 2 things -
processrequest & IsReusable.
So What's the purpose of IsReusable property of HttpHandler?
If we wrote is false so if still we can use this handler.

hardcoder | www.moirf.com
https://www.facebook.com/JobsSoftware



Responses

Posted by: CGN007 on: 6/13/2012 [Member] Silver | Points: 25

Up
0
Down
IHttpHandler.IsReusable Property is used to check whether another request can use the IHttpHandler instance.
Syntax
bool IsReusable { get; }


Please refer MSDN http://msdn.microsoft.com/en-us/library/system.web.ihttphandler.isreusable.aspx

Another link http://stackoverflow.com/questions/3720046/setting-httphandler-isreusable-property


Hardcoder, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hardcoder on: 6/15/2012 [Member] Starter | Points: 25

Up
0
Down
What do you mean by another request? so what if you make it false, can you still use the httphandler? if you say other request can not use but the main request will use?

hardcoder | www.moirf.com
https://www.facebook.com/JobsSoftware

Hardcoder, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/15/2012 [Member] Silver | Points: 25

Up
0
Down
Please refer that MSDN link...

Hardcoder, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/23/2012 [Member] Silver | Points: 25

Up
0
Down
Hope you got the point...

Hardcoder, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/23/2012 [Member] Silver | Points: 25

Up
0
Down
Mark as Answer if its helpful to you,that motivates...

Hardcoder, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response