473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

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 1474
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: G-Fit | last post by:
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...
1
by: Chris | last post by:
I try to read a shared directory. This shared directory is on a 2000 server. When I use DirectoryInfo.Exists, I always have "This directory does not exist". If the shared directory is on a...
2
by: jfathman | last post by:
Hello, We are considering a project that requires implementing a database (Windows PC based) that would be shared by a small number of users. The database would store events output by our...
11
by: Simon | last post by:
Hi all As I'm sure is common knowledge the version of IIS included in XP Pro is limited in that you can only create 1 website in the IIS snap in. As an ASP.net developer this is a pain in the...
2
by: gemel | last post by:
Up until now I have been developing my ASP .NET web applications on the same machine as the client and then using 'Copy Project' or Web Setup to transfer the application.. This also included the...
13
by: Nak | last post by:
Hi there, In VB6 if I wanted to make a shared application so to speak I would create an ActiveX EXE. This would allow me to expose objects of the application but only have 1 instance loaded. ...
3
by: adebiasio | last post by:
I have an application that has various libraries. One of them I use shared methods in a class A to have all libriares access these methods. This seems to work with no problems. However, I am...
2
by: Random | last post by:
Here's a design question I'm curious to know if anyone here has wrestled with before... I'm writing my data access methods in classes in the App_Code directory. I know that I can easily...
1
by: Robson Siqueira | last post by:
Guys, I've been experiencing a weird problem. I am developing a web service in pretty much the same way I do develop other types of application using C#.net (2.0). The problem is that when I run...
6
by: JB | last post by:
Hi All, I'm building a DLL that can be used by several applications. I'd like to have one single instance of a Class stored in my DLL that would be ("shared") by all the applications using that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.