473,395 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

AppDomain vs Process

What is exactly the difference b/w an AppDomain and a Process, they seem to
me very much the same -- boundary for an execution context with protected
resources.

ben
Nov 16 '05 #1
4 15949
In short:

A process is a Win32 OS concept and it is the boundary for isolation of
native apps.

An appdomain is a .NET concept and it is the boundary for isolation of .NET
apps.

1 process can have 1 or more appdomains. Since processes are "expensive",
appdomains are a better solution for .NET applications, where the .NET
runtime (rather than the OS) can ensure the isolation.

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"benben" <be******@yahoo.com.au> escribió en el mensaje
news:ep**************@tk2msftngp13.phx.gbl...
What is exactly the difference b/w an AppDomain and a Process, they seem
to
me very much the same -- boundary for an execution context with protected
resources.

ben

Nov 16 '05 #2
In short:

A process is a Win32 OS concept and it is the boundary for isolation of
native apps.

An appdomain is a .NET concept and it is the boundary for isolation of .NET
apps.

1 process can have 1 or more appdomains. Since processes are "expensive",
appdomains are a better solution for .NET applications, where the .NET
runtime (rather than the OS) can ensure the isolation.

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"benben" <be******@yahoo.com.au> escribió en el mensaje
news:ep**************@tk2msftngp13.phx.gbl...
What is exactly the difference b/w an AppDomain and a Process, they seem
to
me very much the same -- boundary for an execution context with protected
resources.

ben

Nov 16 '05 #3
Carlos J. Quintero [.NET MVP] wrote:
1 process can have 1 or more appdomains. Since processes are "expensive",
appdomains are a better solution for .NET applications, where the .NET
runtime (rather than the OS) can ensure the isolation.


Is there any utility that can list the currently running App Domains
(preferably with an indicator of the process id associated with each)?

Is it possible to abort one app domain in a process without hurting the
other app domains in the same process?

Eric
Nov 16 '05 #4
Not sure, see if there is something at:

http://msdn.microsoft.com/library/de...iondomains.asp

http://msdn.microsoft.com/library/de...mberstopic.asp

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com

"Eric" <Er**@nospam.com> escribió en el mensaje
news:ew**************@tk2msftngp13.phx.gbl...
Is there any utility that can list the currently running App Domains
(preferably with an indicator of the process id associated with each)?

Is it possible to abort one app domain in a process without hurting the
other app domains in the same process?

Eric

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Daylor | last post by:
in win32 process , when u create new process,u have new main thread. i know,appDomain r logical procces,that exists in 1 win32 process. the q: is there way to create second appDomain (the...
2
by: Satinderpal Singh | last post by:
Hi All, I have an EXE, I load the DLL from that exe in a seperate AppDomain. (I have not given reference to that DLL from the EXE). Now, i call some commands of that dll from the EXE, and in...
7
by: José Joye | last post by:
I have a windows service where I create another appdomains. In the newly created AppDomain, I make use of a C library. If I issue an Abort(1) within this library, it simply hard stop my main...
4
by: Chris Lacey | last post by:
Hi, I'm currently writing a scheduling service which starts a number DotNet executables, each within a new AppDomain, every ten seconds. The guts of the code is as follows: // For each...
1
by: Raveendra M | last post by:
Hi! I am working with ASP.NET application. In my page I am creating one Application Domain and in that domain I am calling my DLL. Using the methods of the dll. And unloading the Application...
6
by: pradeep_TP | last post by:
Hi all, I am using IIS 5.0 and this question is regarding working of ASP.net worker process. I have only one web application right now on my web server. This means that only one AppDomain will...
12
by: John | last post by:
I have a AppDomain ID, how do I get the instance of the AppDomain Object? Please advice. Thanks in advance. John
5
by: Max2006 | last post by:
Hi, What is the limit for memory that a .NET process or AppDomain can use? Thank you, Max
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.