469,582 Members | 2,580 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,582 developers. It's quick & easy.

Developing a shared application/service

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
Nov 22 '05 #1
2 1287
Hello Karine,

Thanks for your post. As I understand, you have a console application which
will be used by and interact with several ASP .NET web applications. Please
corect me if there is any misunderstanding. I'd like to share the following
information with you:

Coule you please tell me whether the ASP .NET web applications reside on
the same system with the console application? If they are located on the
same system, there is no need to use web services or .NET remoting. I
recommend that you can create a class library which exports classes to
build a PDF file step by step to be used by your web applications. If you
want to implement a console application, your web applications can create
the process of the console app, redirect its output/input, and use
synchronous objects say, mutex (System.Threading.Mutex), to do steps in a
synchronous way.

Please feel free to let me know if you have any problems or concerns.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #2
Hi, Karine

I will see what I can do to get you some suggestions on this issue

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| From: "G-Fit" <ms**@g-fit.fr>
| Subject: Developing a shared application/service
| Date: Mon, 1 Mar 2004 15:15:57 +0100
| Lines: 30
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <e2**************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.general
| NNTP-Posting-Host: aph-aug-105-2-1-24.w217-128.abo.wanadoo.fr
217.128.220.24
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:126477
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| 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
|
|
|

Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by gemel | last post: by
13 posts views Thread by Nak | last post: by
3 posts views Thread by adebiasio | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.