Solved

c# .net remoting process management

Posted on 2008-10-20
7
664 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 500 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 500 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 500 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

696 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