Difference between module and assembly in .Net [Resolved]

Posted by Lokesh76 under Interview Questions on 5/20/2011 | Points: 10 | Views : 5844 | Status : [Member] | Replies : 4
What is the difference between .Net module and assembly?

Thanks
Lokesh Kumar



Responses

Posted by: SheoNarayan on: 5/20/2011 [Administrator] HonoraryPlatinum | Points: 50

Up
0
Down

Resolved
Hello Lokesh,

Read following posts that should help you.

http://geekswithblogs.net/technetbytes/archive/2008/11/06/126836.aspx
http://blogs.msdn.com/b/junfeng/archive/2005/02/12/371683.aspx

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Lokesh76, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tijut2k on: 5/21/2011 [Member] Starter | Points: 25

Up
0
Down
1) A module is the code generated from a single file. A single file can contain
one or more classes so a module may have one or more classes.

2) Classes, or modules, are distributed in Assemblies along with other embedded
informatiuon such as resources in the form of strings and images.
3) The types or modules themselves hold no version information. That's all maintained in
the assembly.

4) The default method for creating an executable file, either EXE or DLL from
Visual Studio is to compile all the files and make an assembly containing
the modules defined in the project. You can however create assemblies
manually using the Assembly Linker program AL.EXE. This enables you to
create single assemblies from several other assemblies. AL can do this
because it can extract the modules from one or more assemblies and create a
new assembly containing them.


Best Regard's
Tiju Thankachan

Lokesh76, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 5/21/2011 [Member] [MVP] Bronze | Points: 25
Posted by: Lokesh76 on: 5/21/2011 [Member] Starter | Points: 25

Up
0
Down
Thanks for responses. All answers are right but I found this link more explanatory
http://blogs.msdn.com/b/junfeng/archive/2005/02/12/371683.aspx

Thanks
Lokesh Kumar

Lokesh76, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response