473,385 Members | 1,356 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,385 software developers and data experts.

LoaderOptimization.MultiDomain Explanation

Hello,

Can some explain how the CLR decides on which assembly will be shared
across domains. The explaination in MSDN is not enough.
From MSDN:

Indicates that the application will probably have many domains that use
the same code, and the loader must share maximal internal resources
across application domains.

Thanks,

Nov 17 '05 #1
3 3893
Hello,

As I see it - if you plan your application to have multiple application
domains, and you plan to load the assembly in question to many of those
domains (say, the assembly contains widely used utility functions), you
should set this flag.

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"BuddyWork" <dh*****@bankofny.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hello,

Can some explain how the CLR decides on which assembly will be shared
across domains. The explaination in MSDN is not enough.
From MSDN:

Indicates that the application will probably have many domains that use
the same code, and the loader must share maximal internal resources
across application domains.

Thanks,


Nov 17 '05 #2


Thanks for the reply,

I want to know how it decides what is shared across domains. For example
does the whole assembly get shared by comparing the code, or does it
compare the assembly version or does it share objects within the
assembly.

Thanks,

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #3
Search for the "Drill Into .NET Framework Internals to See How the CLR
Creates Runtime Objects" article in MSDN magazine archives (May 2005 issue).
It appears to shed some light on this.

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"Dinesh Hirani" <dh*****@bankofny.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...


Thanks for the reply,

I want to know how it decides what is shared across domains. For example
does the whole assembly get shared by comparing the code, or does it
compare the assembly version or does it share objects within the
assembly.

Thanks,

*** Sent via Developersdex http://www.developersdex.com ***


Nov 17 '05 #4

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

Similar topics

2
by: Swartz | last post by:
Hi all. I'm building a development webserver (redhat-based). I'm trying to compile PHP (v4.3.4 if anyone cares) with all the features I might require in the near future. I've ran into a problem...
0
by: Premshree Pillai | last post by:
Hey, For the uninitiated: an explanation of makeExe.py (http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/266471), in the form of an article, “Create Python Executables Automatically”, is...
3
by: David MacQuigg | last post by:
I am writing a chapter for teaching OOP in Python. This chapter is intended as a brief introduction to replace the more complete discussion in Learning Python, 2nd ed, pp. 295-390. I need to...
2
by: MatthewRoberts | last post by:
Howdy All, I have a Windows Service that often stops in its tracks with no exception and no explanation on our QA system. During testing on the development machine, it can handle any workload,...
1
by: jimfortune | last post by:
From: http://groups-beta.google.com/group/comp.databases.ms-access/msg/769e67e3d0f97a90?hl=en& Errata: 19 solar years = 2939.6018 days should be 19 solar years = 6939.6018 days Easter...
2
by: Dave Taylor | last post by:
Is there a decent explanation of how menu merging with MDI forms work in VB.NET? I've read through the online help and it still seems that whenever I change menus around or whatever, it breaks...
12
by: jacob navia | last post by:
Hi I am writing this tutorial stuff again in the holidays and I came across this problem: The "width" field in printf is a minimum width. Printf will not truncate a field. for instance:...
4
by: dismantle | last post by:
Hi all, this is my 3rd week in studying VB codes and i came across with this codes from a online tutorial about classes. Public Function MiddleInitial() As String MiddleInitial =...
6
by: WolfgangS | last post by:
Ok first off, i am a total beginner at this groups stuff and i have no clue how this works. This is probabaly the wrong group for my problem but i will post it anyways. Learning by doing right? ...
16
by: DamienS | last post by:
In the interests of me saving hair, can someone please explain to me what's going on below? Why doesn't == work in comparing two int's when cast as objects? They're the same type. Note that it...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.