Tagged: DLLs, what is assambly
- This topic has 0 replies, 3 voices, and was last updated 11 years ago by
Ankur.
- AuthorPosts
- January 6, 2012 at 10:15 am #3306
Ankur
MemberWhat is the difference between an Assembly and a DLL?
January 6, 2012 at 10:51 am #3309Pavan
Member1:Dll project independent.
2:assembly is project specific.
3:An assembly is a collection of one or more files and one of them DLL or EXE.
4:DLL contains library code to be used by any program running on Windows. A DLL may contain either structured or object oriented libraries.
5:A DLL file can have a nearly infinite possible entry points.
6:Assembly present in bin can have either strong/weak Name and assembly in GAC Should have strong name.
May 10, 2012 at 12:23 pm #3749Hirendra Sisodiya
KeymasterHi Ankur
first i want to say this is not a good question. It should be better if you ask this question as what is the assembly and DLLs.
In the response of your’s question, Pavan replied as above: I am not satisfy with some point so i am adding some comments:
1:Dll project independent.
Right, dynamic link library can be used by more than one program at the same time. So it is the helpful for reducing disk spaces, decreasing memory usage and easy to deployment or installation
2:assembly is project specific.
I am not satisfy this answer, basically Dlls is also one type of assembly. if you talk about Assembly in .net, An assembly is the compiled code library and it can be an executable or DLL.
3:An assembly is a collection of one or more files and one of them DLL or EXE.Both Types of assambly – Dlls and EXE contain Code(in intermediate language(IL)), resources and metadata and this intermediate language code compile into machine language at run time by the CLR.
4:DLL contains library code to be used by any program running on Windows. A DLL may contain either structured or object oriented libraries.Right
5:A DLL file can have a nearly infinite possible entry points.
Right
6:Assembly present in bin can have either strong/weak Name and assembly in GAC Should have strong name.
Right. I am adding some more lines. Both present in bin and can have strong/weak name. Executable is also deploy in GAC but i think there is no advantage to deploying an exe in the GAC because Since no application can make a reference to an exe program,
Thanks
May 16, 2012 at 10:36 am #3751Ankur
MemberThanks you very much for all now its clear me the specific difference between dll and assembly.
I really appreciate it.
- AuthorPosts
- You must be logged in to reply to this topic.