Solved

c# .net remoting process management

Posted on 2008-10-20
7
663 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET - Why is accordion not working? 3 67
Need to sort columns in DataGridView 4 60
Converting PHP triple des decrypt to c# 9 155
c# ftp code 3 53
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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