Solved

c# .net remoting process management

Posted on 2008-10-20
7
661 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 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