This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy


■ P R O C E S S E S, A P P D O M A I N S, A N D   O B J E C T C O N T E X T S 571



Download 21,46 Mb.
Pdf ko'rish
bet1100/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   1096   1097   1098   1099   1100   1101   1102   1103   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition

P R O C E S S E S, A P P D O M A I N S, A N D   O B J E C T C O N T E X T S



571

8849CH17.qxd  10/9/07  4:29 PM  Page 571




• AppDomains are a key aspect of the OS-neutral nature of the .NET platform, given that this

logical division abstracts away the differences in how an underlying OS represents a loaded

executable.

• AppDomains are far less expensive in terms of processing power and memory than a full-

blown process. Thus, the CLR is able to load and unload application domains much quicker

than a formal process.

• AppDomains provide a deeper level of isolation for hosting a loaded application. If one

AppDomain within a process fails, the remaining AppDomains remain functional.

As suggested in the previous hit list, a single process can host any number of AppDomains,

each of which is fully and completely isolated from other AppDomains within this process (or any

other process). Given this fact, be very aware that an application running in one AppDomain is

unable to obtain data of any kind (global variables or static fields) within another AppDomain

unless they make use of a distributed programming protocol (such as Windows Communication

Foundation).

While a single process 

may host multiple AppDomains, this is not typically the case. At the very

least, an OS process will host what is termed the 



default application domain. This specific applica-

tion domain is automatically created by the CLR at the time the process launches. After this point,

the CLR creates additional application domains on an as-needed basis.

If the need should arise (which it most likely 



will not for the majority of your .NET endeavors),

you are also able to programmatically create application domains at runtime within a given process

using static methods of the System.AppDomain class. This class is also useful for low-level control of

application domains. Key members of this class are shown in Table 17-4.




Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   1096   1097   1098   1099   1100   1101   1102   1103   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish