asp.net - Should I set IsReusable to True in my HttpHandlers? -


i've never understood this property of ihttphandler. property have set when implement interface. i've assumed setting true better performance, not sure negative side effects might be. should return true or false?

it used indicate if single instance of ihttphandler used process multiple concurrent requests. if set true improve performance must make sure code thread safe because processrequest method might invoked multiple threads @ same time.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -