Re: Background thread in ASP.net

Tech-Archive recommends: Speed Up your PC by fixing your registry



Try look at the FileSystemWatcher.

This will run as a windows form/console and watch a folder.
The second a file is dropped into that folder, it can trigger a process.

Hope that helps

"Avadhoot" <Avadhoot@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E69FDB30-8FAE-470F-80E3-1C30AAB54C97@xxxxxxxxxxxxxxxx
Hi,

I need to create a back ground thread in ASP.Net, but I want it be created
only once.

Here, let me explain.

I have a web application project where the user uploads an excel file. On
ce
the file is uploaded and stored on the server, I need to create a thread
which runs in the background and when notified, should open the excel file
and read it's contents.

But, I do not want to create a new thread whenever user requests for the
page and uploads a new excel file. I want it to be created only once and
running in the background, and called when required.

Can any one throw some light on this problem.

Thank you.

Avadhoot K







.



Relevant Pages

  • Re: publish asp.net web application
    ... have a field where user uploads an excel file. ... private void Page_Load ...
    (microsoft.public.dotnet.framework.aspnet)
  • Delete File
    ... Hi & TIA! ... I have a process that uploads an excel file to a folder in my site. ... This causes a problem when the user decides to alter the excel file to change the list being imported and keeps the same file name. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Background thread in ASP.net
    ... I have a web application project where the user uploads an excel file. ... Avadhoot K ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Background thread in ASP.net
    ... I think a Windows service fits better into your scenario. ... I have a web application project where the user uploads an excel file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Exported Excel File is Incomplete
    ... Browse to a single Folder and Export Data to a new EXCEL File in that Folder ... <MS ACCESS MVP> ... Replace the generic NameOfQuery with the real name of the query. ...
    (microsoft.public.access.externaldata)