?
Solved

c# .net remoting process management

Posted on 2008-10-20
7
Medium Priority
?
666 Views
Last Modified: 2008-10-24
I am considering using .net remoting to seperate processes locally, rather than have them in one very large and slow application.  The hardest part seems to be process management.  For instance , if one process crashes and needs to be restarted, all sorts of errors arise.

Are there any resources that explain how this should be managed in usable way?

thanks
0
Comment
Question by:gustierng
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 15

Assisted Solution

by:angus_young_acdc
angus_young_acdc earned 1500 total points
ID: 22756199
Can you explain a little more about what you mean?  Is the problem if a process crashes and needs restarted how will your remoting service know?  Or how will it act?
0
 

Author Comment

by:gustierng
ID: 22757154
yes, that is exactly whaat i mean.  How to get the app to appear to run as a single app, when in fact there are many services that could crash or be restarrted manually.  To work well, when there is a crash it should be automatically restarted.
0
 
LVL 15

Accepted Solution

by:
angus_young_acdc earned 1500 total points
ID: 22758023
That is just walking straight into dangerous territory when (like you say) a process is killed or crashes, you would need to constantly monitor it and if you're own process died - that would be the end of everything it was "holding".  I can see the users of that, but hiding processes (like you want to) is unsupported.  


0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:gustierng
ID: 22759409
what do you mean unsupported?

If your main process crashes the user will restart it.  If the other services crash then the main app will restart it if configured to auto restart, else they would be restarted manually if manual.  Not disimilar to win services.
0
 
LVL 15

Assisted Solution

by:angus_young_acdc
angus_young_acdc earned 1500 total points
ID: 22760911
Just that MS (although why is beyond me if they include it, same with using C# to work with Excel is really unsupported ) don't offer much guidance or support for hiding processes and running 1 main service to control them.
0
 

Author Comment

by:gustierng
ID: 22765005
Actually, I have never asked Microsoft for support in the past so probably won't start now.

Are there any resources that explain how this should be managed in usable way?

0
 

Author Comment

by:gustierng
ID: 22766203
figured this out now
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question