Hello,
I need some advice, how to set up the following:
I have a web application, written in ASP.NET. User can ask this application
to prepare some report, that takes much processing time, thus it would be
inappropriate to let user wait until the report is ready. Instead, I'd like
the ASP code initiate some process, that is given some parameters, that
"lives" still after the ASP page that initiated it has finished it's
response streaming to user. This process could update progress state in
database, so user could check any time later in this web application, how
far the report generation has got. When this process has done it's deed, it
would save the result report in the database, and therefore user would be
able to download it.
I need advice, what would be the best way how to do it in the .net world.
ASP code launching executable? Requesting web service and ignoring it's
response (sort of odd adding the SOAP abstraction layer for local calls,
too)? Some other way?
Thanks,
Pavils 1 974
Very interesting question.
You can have your thread make an asynchronous call to a private
method. This way the request can return immediately back to the user,
but at the same time, the asyn method will continue to finish
processing the request.
Sample:
delegateType d = new delegateType(this.AsynMethod);
IAsyncResult ar = d.BeginInvoke(null, null);
The above code will invoke the private method "AsynMethod"
asynchronously.
Tommy,
"Pavils Jurjans" <pa****@mailbox.riga.lv> wrote in message news:<eT**************@TK2MSFTNGP11.phx.gbl>... Hello,
I need some advice, how to set up the following:
I have a web application, written in ASP.NET. User can ask this application to prepare some report, that takes much processing time, thus it would be inappropriate to let user wait until the report is ready. Instead, I'd like the ASP code initiate some process, that is given some parameters, that "lives" still after the ASP page that initiated it has finished it's response streaming to user. This process could update progress state in database, so user could check any time later in this web application, how far the report generation has got. When this process has done it's deed, it would save the result report in the database, and therefore user would be able to download it.
I need advice, what would be the best way how to do it in the .net world. ASP code launching executable? Requesting web service and ignoring it's response (sort of odd adding the SOAP abstraction layer for local calls, too)? Some other way?
Thanks,
Pavils This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bren |
last post by:
I am developing a web based app. in .net, with C# as the code
behind.the problem I am having is with view state for a page. the page
is capturing an event fired in an object. the event changes the...
|
by: Richard L Rosenheim |
last post by:
I'm looking to display a page and then initiate the downloading of a file.
Basically trying to display a page that says the download will begin
shortly, and if it doesn't, click here. Like what...
|
by: Don |
last post by:
Given a page with a "header" and "main" frame, is there some way from the "header" frame to initiate
re-execution of the JavaScrip/HTML code in the "main" frame? I don't want to have to reload...
|
by: laredotornado |
last post by:
Hello, I am looking for a cross-browser way (Firefox 1+, IE 5.5+) to
have my Javascript function execute from the BODY's "onload" method,
but if there is already an onload method defined, I would...
|
by: Beryl Small |
last post by:
Okay,
I have a third party (Macromedia Authorware ) software passing a student
I.D. number to an ASP page for verification against an SQL database.
Authorware uses something like the following:...
| |
by: cmay |
last post by:
In reading some documents from the Patterns and Practices group, I had
a question about the example given for the Page Controller pattern.
(I have posted the code for the BasePage below)
In...
|
by: Brent |
last post by:
Like many sites, mine has a standard "look" -- a template, if you will
-- that visitors see on each page. I've tried to keep the code and HTML
separate to the extent possible, and for most standard...
|
by: Benton |
last post by:
Hi there,
I have a UserControl with a couple of textboxes and a couple of buttons
("Save" and "Cancel"). The Click event for this buttons is in the
UserControl's codebehind of course, so here's...
|
by: Twayne |
last post by:
Hi,
How would I go about "forcing" a user from one page to another?
I have a very simple random question/answer entrance requirement for an
e-mail form. After 3 page views most people are...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |