Solved

c# .net remoting process management

Posted on 2008-10-20
7
657 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
  • 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now