G
G-Fit
Hello group,
I have several ASP.NET websites using (so far) a console application
(from a collection of parameters, this application builds a PDF file through
several professional tools in DOS mode). The websites launch the application
when appropriate, and we know where the PDF file will be when the console
application is finished (that one also create a log file to state if every
step went fine, or what errors happened).
Here is what I would like :
* To be able to interact with the application, in a synchronous way. One
website tells it "Do step 1", then when step 1 is done the application
answers "Done", or answers there was an error and which error, then the
website tells "Do step 2", etc. until the last step is done, so the website
can show a message like "All went OK, finished now" or "Something went bad
here, here is the detail". (so far, I have no idea when all the tasks are
done...)
* That several users be able to use the same and/or different websites at
the same time, which launch the application (with the current solution it is
OK, but if the application get stuck the processus runs forever and takes
ressources...)
I use the word "application" because it is what I use now, but the question
is : what should I use ? I heard and read about web services and .NET
remoting, but I don't if they are possible/good solutions, or if they are
the only ones.
Thanks
Karine
I have several ASP.NET websites using (so far) a console application
(from a collection of parameters, this application builds a PDF file through
several professional tools in DOS mode). The websites launch the application
when appropriate, and we know where the PDF file will be when the console
application is finished (that one also create a log file to state if every
step went fine, or what errors happened).
Here is what I would like :
* To be able to interact with the application, in a synchronous way. One
website tells it "Do step 1", then when step 1 is done the application
answers "Done", or answers there was an error and which error, then the
website tells "Do step 2", etc. until the last step is done, so the website
can show a message like "All went OK, finished now" or "Something went bad
here, here is the detail". (so far, I have no idea when all the tasks are
done...)
* That several users be able to use the same and/or different websites at
the same time, which launch the application (with the current solution it is
OK, but if the application get stuck the processus runs forever and takes
ressources...)
I use the word "application" because it is what I use now, but the question
is : what should I use ? I heard and read about web services and .NET
remoting, but I don't if they are possible/good solutions, or if they are
the only ones.
Thanks
Karine