Home > DeveloperSection > Interviews > What is a dynamic assembly?

Posted on    October-25-2010 12:00 AM

 2 Answer(s)
  1109  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Posted on    October-30-2010 12:00 AM

A dynamic assembly is created dynamically at run time when an application requires the types within these assemblies.

Amit Singh

Total Post:565

Posted on    November-09-2010 1:00 AM

Reflection emit provides many ways to create dynamic assemblies. Dynamic assemblies can be created using the various
System.AppDomain.DefineDynamicAssembly methods. DefineDynamicAssembly returns an AssemblyBuilder object. DefineDynamicAssembly requires the caller to specify the AssemblyBuilder Access enumeration value. The enumeration value specifies whether the dynamic assembly will be run only, saved only, or run and/or saved. Some of the methods require the caller to supply evidence, which is the set of information that constitutes input to security policy decisions, such as which permissions can be granted to code. Other methods require the caller to request permissions. Three kinds of permission requests exist: required, optional, and refused.

Don't want to miss updates? Please click the below button!

Follow MindStick