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 3602356
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:44:10+00:00 2026-05-18T20:44:10+00:00

I am developing an application in C# ASP.NET to allow users to customise a

  • 0

I am developing an application in C# ASP.NET to allow users to customise a number of graphics templates with their company logo.

Typically,

  1. User uploads their company logo.
  2. User selects a number of templates (through a HTML form) of different file types for customising.
  3. My web application will accept the user’s request, go through each individual item requested and determine its file type. It will then call the appropriate module depending on the file type (e.g. to customise a PDF) and finally insert the logo in the template. These steps are repeated for each file requested.
  4. Once all requested templates for a user are generated, they are grouped together in a zip file and a link for downloading is sent via email.

I would like some advice on how best to accept the user’s requests and process the files in ASP.NET.

One way of doing this is to keep the user waiting until all files are generated, therefore until the form handling script would have completed its execution. I reckon this is likely to trigger script timeout errors quite easily for requests that take long to be processed (large number of templates requested or sizable number of concurrent users), and as such is not a very efficient solution.

Another option would be to register the user’s request, redirect him/her to another page immediately after (explaining that an email will be sent shortly with a download link), and then proceed to process the files on the server using some background job or similar without the risk of script timeouts. An email is sent when all files for that user are generated.

I am familiar with web application development but this is one of my first forays into .NET development so your help is greatly appreciated.

How can I implement the second option in C#?

  • 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-18T20:44:10+00:00Added an answer on May 18, 2026 at 8:44 pm

    It sounds like what you want is a web site which accepts the user input and then passes control to an offline process (such as a Windows Service) to perform the more intensive tasks asynchronously from the site, allowing the user to continue using the site (or go do something else) while processing takes place. Something like this:

    1. User “initiates” a “batch” on the website. Whether it’s setting up some values, uploading some kind of batch of things to process, etc. is entirely up to what you’re doing. The main point is that the user starts it off.
    2. The necessary information for the process to do its magic is persisted to the database and the user is told that the process has been queued for processing. The user can now go about doing other things.
    3. The back-end application (or multiple applications) polls the database periodically (every minute, every 5 minutes, etc.) or, in the case of an uploaded “batch” file could use something like a FileSystemWatcher, to look for new things to do and does them. Use multi-threading or whatever you need to make that happen, but the main point is that it’s an “offline” process that the website isn’t waiting on.
    4. When the process completes, some flag is set in the database (on the record being processed, or maybe a “message” record in the user’s “inbox” or whatever) indicating that the process is done.
    5. The website UI has some indicator which, any time it’s loaded, checks for the aforementioned flag(s) to indicate to the user that a queued process has been completed and is ready to be viewed.

    So, essentially, you have a single database accessed by two applications (your web application and your Windows Service (or console app run by a task scheduler, etc.).

    Is that basically what you’re looking for? I feel like I could be more specific, do you have any specific concerns about the setup?

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

Sidebar

Related Questions

I'm developing a web application using asp.net 3.5. This application has a lot of
Im developing a web application in asp.net mvc (c#) that has a form and
I'm developing a web application in ASP.NET MVC with NHibernate. Based in articles and
I'm developing an web application using asp.net MVC and jQuery. I have in my
We are currently developing an application based on NHibernate and ASP.NET MVC and a
I'm developing chat application. I use flash as front end and asp.net back-end. My
From an ASP.Net C# application I need to access the 'Title' property value from
I am looking for some advice. I have been developing for about 11 years
Does anyone know of a solution (preferably open source, so that i can customize

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.