|
INTERVIEW QUESTIONS
MICROSOFT
MICROSOFT.NET
DETAILS
Question: How does assembly versioning work?
Answer: You now know that compilers that target the .NET Framework produce managed modules and that managed modules contain CIL and metadata. But you might be surprised to learn that the CLR is incapable of using managed modules directly. That’s because the fundamental unit of security, versioning, and deployment in the .NET Framework is not the managed module but the assembly.
An assembly is a collection of one or more files grouped together to form a logical unit. The term “files” in this context generally refers to managed modules, but assemblies can include files that are not managed modules. Most assemblies contain just one file, but assemblies can and sometimes do include multiple files. All the files that make up a multifile assembly must reside in the same directory. When you use the C# compiler to produce a simple EXE, that EXE is not only a managed module, it’s an assembly. Most compilers are capable of producing managed modules that aren’t assemblies and also of adding other files to the assemblies that they create. The .NET Framework SDK also includes a tool named AL (Assembly Linker) that joins files into assemblies.
|
|
|
Category |
Microsoft.NET Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8329 users |
Added on |
7/27/2011 |
Views |
70562 |
Rate it! |
|
|
Question:
How does assembly versioning work?
Answer:
You now know that compilers that target the .NET Framework produce managed modules and that managed modules contain CIL and metadata. But you might be surprised to learn that the CLR is incapable of using managed modules directly. That’s because the fundamental unit of security, versioning, and deployment in the .NET Framework is not the managed module but the assembly.
An assembly is a collection of one or more files grouped together to form a logical unit. The term “files” in this context generally refers to managed modules, but assemblies can include files that are not managed modules. Most assemblies contain just one file, but assemblies can and sometimes do include multiple files. All the files that make up a multifile assembly must reside in the same directory. When you use the C# compiler to produce a simple EXE, that EXE is not only a managed module, it’s an assembly. Most compilers are capable of producing managed modules that aren’t assemblies and also of adding other files to the assemblies that they create. The .NET Framework SDK also includes a tool named AL (Assembly Linker) that joins files into assemblies.
Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is serialization?
|
View Answer
|
|
What is Code Access Security (CAS)?
|
View Answer
|
|
Is there built-in support for tracing/logging?
|
View Answer
|
|
Can I redirect tracing to a file?
|
View Answer
|
|
Can I customise the trace output?
|
View Answer
|
|
How do I stop a thread?
|
View Answer
|
|
Is .NET capable of supporting multi-thread?
|
View Answer
|
|
How do I spawn a thread?
|
View Answer
|
|
Difference between static page and dynamic page?
|
View Answer
|
|
What are the differences between C# and VB.NET apart from syntax?which is more powerful,how do we determine which language to be used when designing a .NET app?
|
View Answer
|
|
What is the satelite assembly?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Microsoft.NET Interview Questions & Answers - Exam Mode /
Learning Mode
|