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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:26:18+00:00 2026-05-23T12:26:18+00:00

I have an application in Asp.net MVC where at some point I would like

  • 0

I have an application in Asp.net MVC where at some point I would like to display a modal dialog to the user that would display process execution progress indicator.

The process behind the scenes does a lot of database data processing (based on existing data it generates lots of resulting records that get written back to database as well). Process may take anything from a brief moment to a very long time (depending on existing data).

Application will initiate this process asynchronously (via Ajax request) and display progress in the same manner.

The problem

I’ve read a bit about Async controllers where one can asynchronously start a process and will informed about the end of it but there’s no progress indication and I’m not really sure how browser timeouts are handled. As far as the client goes an async request is the same as synchronous one. Client will therefore wait for response (as I understand it). the main difference being that server will execute something in async manner so it won’t block other incoming requests. What I should actually do is:

  1. make a request that would start the process and respond to the client taht process has started.
  2. client would them periodically poll the server for process progress status getting immediate response back with percentage value (probably as JSON)
  3. when progress would be 100% it would mean that it ended so client would know to make a request for results.

I’m not convinced that async controllers work this way…

The thing is that I’m not really sure I understand async controllers hence am not sure which approach should I use approach this problem as just described? I see two possibilities myself:

  1. Asp.net MVC Async controllers if they can work this way
  2. Windows Service app that processes data on request and reports its progress – this service would be started by writing a particular record to DB using a normal controller action; that would start it and then service would be writing its progress status to DB so my Asp.net MVC app would be able to read it on client process polling requests.
  • 1 1 Answer
  • 1 View
  • 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-23T12:26:18+00:00Added an answer on May 23, 2026 at 12:26 pm

    I haven’t used Asynch controllers myself in a project. However here’s a link to someone who has.

    asynchronous-processing-in-asp-net-mvc-with-ajax-progress-bar

    I have personally used Number 2 in a large production project.

    Number 2 was a Service App running on a separate server using OpenSSH to communicate between the two servers. We’d poll for progress periodically to update the progress bar to the clients UI via AJAX.

    Additionally by separating your web server from your long running process you are separating your concerns. You web server is not interested in writing files to disk, handling IO, etc and so shouldn’t be burdended with such.

    If your long running process has to be killed or fails then this wont affect your web server handling requests, and processing transactions.

    Another suggestion would be for an extremely long running process is not to burden the client with waiting, give them an option to come back later to see the progress. I.e. send them an e-mail when its done.

    Or actually show them something interesting, in our case we had a signed Java Applet show exactly what their process is doing at that exact moment.

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

Sidebar

Related Questions

I have a asp.net mvc application. Some pages require SSL, is there a way
I have 5 views in my ASP.NET MVC application. Some data were captured from
I have an application (ASP.NET MVC) that uses a Next New method to get
I am writing a web application on Asp.Net MVC 3. Assume that we have
In my ASP .NET MVC application i have a link that refreshes the preview
We have a ASP.NET MVC 3 application that uses unobtrusive jQuery validation. The page
I have an ASP.NET MVC Web Application that interacts with a SQL Server 2008
I wrote an application using ASP.NET MVC, in this application I have an Index
I have developed a MVC web application with ASP.NET MVC and im just wondering
I am developing an application in asp.net mvc where i need to have Chat

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.