locked
Assembly, .DLL, .EXE RRS feed

  • Question

  • User1858335441 posted

    What is the diff between Assembly, .EXE, .DLL and why they call Assembly is logically is .EXE or .DLL.

    Is Assembly applicable only to .NET languages like C#, VB, J#, which supports CLR ?

    What Assembly contains ?

    What is Assembly conflict or hell or whatver it is called as .

    Friday, January 3, 2014 6:13 AM

Answers

  • User-1509636757 posted

    grr.rajareddy@gmail.com

    What is the diff between Assembly, .EXE, .DLL and why they call Assembly is logically is .EXE or .DLL.

    In any programming language; An assembly is a compiled code library used for deployment, versioning, and security. There are two types: process assemblies (EXE) and library assemblies (DLL). Suppose; if you create a class library in C# and you compile it; it will create a .dll assembly that you would use for deployment or code further. OR  you create a winform application or console application in C# and you compile it; it will create an executable EXE assembly that you can double click it and execute it. An .EXE assembly represents a process that may use classes defined in .dll assemblies.

    grr.rajareddy@gmail.com

    Is Assembly applicable only to .NET languages like C#, VB, J#, which supports CLR ?

    Assembly (dll or exe) is just not related with .NET, as in most of  programming language a compiled code can be either in dll or exe.

    grr.rajareddy@gmail.com

    What Assembly contains ?

    Assembly(dll or exe) contains the compiled code along with menifest/metadata information of itself that describes the Assembly information.

    grr.rajareddy@gmail.com

    What is Assembly conflict or hell

    that is the versioning conflict used to occur on windows platform in prior years of development that is solved by .NET by the concept of versioning. The problem is: you installed an application with a dll assembly with some version. Now, you install some other application after some time which uses the same dll assembly with some higher version or updated. This may affact the old installed application. This specific issue is called Assembly/dll conflict/hell. The solution is versioning of the dll. You might want to look at a short article on this: DLL hell Problem and solution

    hope it helps./.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 3, 2014 6:51 AM

All replies

  • User-1509636757 posted

    grr.rajareddy@gmail.com

    What is the diff between Assembly, .EXE, .DLL and why they call Assembly is logically is .EXE or .DLL.

    In any programming language; An assembly is a compiled code library used for deployment, versioning, and security. There are two types: process assemblies (EXE) and library assemblies (DLL). Suppose; if you create a class library in C# and you compile it; it will create a .dll assembly that you would use for deployment or code further. OR  you create a winform application or console application in C# and you compile it; it will create an executable EXE assembly that you can double click it and execute it. An .EXE assembly represents a process that may use classes defined in .dll assemblies.

    grr.rajareddy@gmail.com

    Is Assembly applicable only to .NET languages like C#, VB, J#, which supports CLR ?

    Assembly (dll or exe) is just not related with .NET, as in most of  programming language a compiled code can be either in dll or exe.

    grr.rajareddy@gmail.com

    What Assembly contains ?

    Assembly(dll or exe) contains the compiled code along with menifest/metadata information of itself that describes the Assembly information.

    grr.rajareddy@gmail.com

    What is Assembly conflict or hell

    that is the versioning conflict used to occur on windows platform in prior years of development that is solved by .NET by the concept of versioning. The problem is: you installed an application with a dll assembly with some version. Now, you install some other application after some time which uses the same dll assembly with some higher version or updated. This may affact the old installed application. This specific issue is called Assembly/dll conflict/hell. The solution is versioning of the dll. You might want to look at a short article on this: DLL hell Problem and solution

    hope it helps./.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 3, 2014 6:51 AM
  • User1027872733 posted

    These are questions asked in interviews

    What is the diff between Assembly, .EXE, .DLL and why they call Assembly is logically is .EXE or .DLL.

    An Assembly may be exe/dll

    What Assembly contains ?

    It contains metadata.

    What is Assembly conflict or hell or whatver it is called as .

    it is the problem with version.

    refer

    http://www.dotnetspark.com/qa/4371-what-is-difference-between-dll-and-assembly.aspx

    http://msdn.microsoft.com/en-us/library/ms173099.aspx

    also pay attention on CLR,CTS, IL, ILDASM, NGEN.exe

    Thanking You

    Anil Srivastava

    Friday, January 3, 2014 7:21 AM