Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1102863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:15:08+00:00 2026-05-17T01:15:08+00:00

I am using a HTTP handler to raise a file download.Basically code in the

  • 0

I am using a HTTP handler to raise a file download.Basically code in the ‘ProcessRequest’ retrieves data from the database,creates a temporary copy of the existing template spreadsheet with a GUID as its name and writes data retrieved from the DB into it cell by cell using COM,raises a file download and deletes the temporary spreadsheet created.This whole process usually takes around 4-5 mins.But when we tried to concurrently test this process it took around 15 mins.

I am wondering if setting ‘IsReusable’ boolean to true could help improving the performance.But I am not sure,if it is safe.

Could someone please help me with it?

**Update:**Because I am using a different filename for each of the temporary files created I am assuming that there wont be safety issues.But still not sure.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:15:09+00:00Added an answer on May 17, 2026 at 1:15 am

    The IsReusable property will do just what you think it does. Instead of constructing a brand new Handler to be used each time a request is made, it will reuse the existing one. If you have instance variables that are created in the constructor it could boost performance, but only if they are expensive to create.

    Also, if you are maintaining any kind of state in the handler, then whatever state you leave it in will be there for the next request. This could have unintended side effects.

    If the bulk of your process happens in the ProcessRequest method, then your bottle-neck is there, and you should use profiling to see where you can speed up performance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using IIS 6 on 2003. I have created a HTTP handler dll
http://localhost:2000/WebService/Handler.ashx?d=ck Response when viewing URL: {Status:OK,Message:0,Info:(none)} Using JQuery how do I pull from that?
I am using HttpContext object implemented in HttpHandler child to download a file, when
when using http post with flash that send ip address request from client computer
I'm using http://keith-wood.name/countdown.html . Each 'Event' table in my database has a 'date' column.
I'm using output caching in my custom HTTP handler in the following way: public
I want to write a custom HTTP Handler in ASP.Net (I'm using C# currently)
I am using session in 2 http handler and also added IRequiresSessionState , IReadOnlySessionState
I'm new to python and I'm writing a code to upload a file using
I tried some work using http handler and found that we can not execute

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.