Creating an Assembly Programmatically
page 1 of 7
Published: 16 Apr 2007
Abstract
This article examines the programmatic creation of a satellite assembly with the help of the AssemblyBuilder class and its methods.
by Uday Denduluri
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 21594/ 221

Introduction

An assembly is a basic building block for any application in the .NET Framework. It is a fundamental unit of deployment, version control, reuse, activation scoping, and security permissions. An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. An assembly provides the Common Language Runtime (CLR) with the information it needs to be aware of type implementations. During runtime, a type does not exist outside the context of an assembly.

Creating an Assembly programmatically is one of the commonly unexplored features available to programmers. In some scenarios this may be a very useful feature. We can also create an assembly and add resources to it. In this article we focus on creating an assembly with a class and methods. Later on we will view reflection. We can also use ILDASM for viewing the contents of the assembly. Before we actually go about creating an assembly we need to understand what the contents of the assembly are.

The contents of an assembly are

·         CIL – Common Intermediate Language (formerly MSIL - Microsoft Intermediate Language)

·         Assembly Manifest – The Assembly Manifest has the information like Name, Version number, Culture, Strong Name information, etc.

·         Type Metadata

·         Resources


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 1 and 6 and type the answer here:

User Comments

Title: Hum Tum   
Name: Nitin Tiwari
Date: 9/22/2007 4:49:08 AM
Comment:
very Nice description....fine

Product Spotlight
Product Spotlight 






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2009 ASPAlliance.com  |  Page Processed at 11/21/2009 7:48:53 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search