469,889 Members | 1,255 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,889 developers. It's quick & easy.

Design guidelines on Application Domain using C#


Process 1 contains: AppDomain A, AppDomain B
Process 2 contains: AppDomain C

Is there any design guidelines on partitioning the
AppDomain (for example, I should put AppDomain C within
Process 1 instead of Process 2 for better performance vs
stability etc) ?

Next, is .NET remoting the only way for AppDomain A to
communicate with AppDomain B and C ? Is there a
performance gain for .NET remoting if AppDomain A and
AppDomain B are located within the same process ?
Jul 19 '05 #1
1 4821
I'm no expert, but I'm almost certain that cross-process calls are more
expensive than cross-AppDomain calls within the same process. One of the
reasons for inventing AppDomains is that it's way to provide some isolation
for part of your application that is cheaper than creating a whole separate

You should only create a separate AppDomain (within the same process) if
you truly need the isolation it provides.

Visual Studio .NET
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Christopher Culver | last post: by
reply views Thread by Jeff Levinson [mcsd] | last post: by
reply views Thread by JKJ | last post: by
3 posts views Thread by Amadelle | last post: by
2 posts views Thread by Matthew Hood | last post: by
6 posts views Thread by gayeshan | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.