Interview Questions forum : Ask your doubt
 
 
Please login or register to take complete advantage of this forum
September 05, 2008, 09:28:56 PM
635 Posts in 231 Topics by 812 Members
Latest Member: abadri.06
Mywalkin Forum  |  Interview Preparation  |  Microsoft Technologies Interview Questions  |  Assemblies « previous next »
Pages: [1]
Author Topic: Assemblies  (Read 535 times)
m_ahmed144
Newbie
*
Posts: 27


View Profile
« on: March 21, 2008, 12:07:04 PM »

Can we create assemblies runtime Huh Also how to create a shared assembly by using GAC.....What is sattelite assembly and how to create it ....
Logged
mamuni
Newbie
*
Posts: 27


View Profile Email
« Reply #1 on: July 03, 2008, 07:56:12 AM »

There are basically two methods in .Net to generate dynamic code through your program. One is to use CodeDom library while other is to use Reflection Emit library. The System.CodeDom library is used to generate the standard CLS (Common Language Specification) compliant code that can be emitted in any of .Net languages. On the other hand, the System.Reflection.Emit library is used to generate the MSIL (Micrsoft Intermediate Language) code. Dot Net Reflection Emit allows us to construct assemblies, modules, types at runtime and define code inside these types.
Logged
PratapCh
Newbie
*
Posts: 3


View Profile Email
« Reply #2 on: July 08, 2008, 01:57:32 AM »

To keep the assembly in GAC, we need to follow the below steps
1. Create strong name for the project.
2. attach the strong name(snk file) to the project.
3. Build the project.
4. Execute the command in command prompt:  gacutil.exe -i shared.dll

Coming to satellite assembly: it is as assembly containing localized resources, which will modify core application. It contains only the resource files containing the strings of a particular language.


correct me if i am wrong. Smiley
Logged
Pages: [1]
Mywalkin Forum  |  Interview Preparation  |  Microsoft Technologies Interview Questions  |  Assemblies « previous next »
    Jump to:  


    Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC | Sitemap