Multifile Assembly

  • Thread starter Thread starter BuddyHome
  • Start date Start date
B

BuddyHome

Hello,

The reason I'm looking at Multifile assembly is so I can
speed up the application load/running time, when running
from a network drive. My understanding is that, by using
multifile assembly, the CLR will only download the
manifest and then load the assembly when required (I don't
know if the assembly will be downloaded from a network
drive to the local cache, if it does do this then I'm not
benifiting of using multifile assembly because most of the
start/running time is spent on copying the assembly to the
local cache).

Thanks,
 
Hi,

As MSDN states:
There are several reasons you might want to create a multifile assembly:

To combine modules written in different languages. This is the most
common reason for creating a multifile assembly.

To optimize downloading an application by putting seldom-used types in
a module that is downloaded only when needed.
Note If you are creating applications that will be downloaded using the
<object> tag with Microsoft Internet Explorer, it is important that you
create multifile assemblies. In this scenario, you create a file separate
from your code modules that contains only the assembly manifest. Internet
Explorer downloads the assembly manifest first, and then creates worker
threads to download any additional modules or assemblies required. While
the file containing the assembly manifest is being downloaded, Internet
Explorer will be unresponsive to user input. The smaller the file
containing the assembly manifest, the less time Internet Explorer will be
unresponsive.

To combine code modules written by several developers. Although each
developer can compile each code module into an assembly, this can force
some types to be exposed publicly that are not exposed if all modules are
put into a multifile assembly.

For more information related to multifile assembly, you may refer to the
document in MSDN,
<Building a Multifile Assembly>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconBuildingMulti-FileAssembly.asp

Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft community Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.
 
Hello,

I think you misunderstood what I was saying please read my
orginial message again.

Thanks,
 
Hi,

Ok, after re-reading your post, I think you trying to deploy a multifile
assembly on network drive. You would like to know if the assembly will
first be downloaded to "local cache" then loaded to CLR, right?

I'm not sure what "local cache" do you refer to?
IMO CLR uses the same mechanism for local files and network shared files.
Could you describe your problem in detail?


Best regards,

Ying-Shen Yu [MSFT]
Microsoft community Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.
 
Back
Top