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): 50823/ 70

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

User Comments

Title: no explantion   
Name: divys
Date: 2012-10-03 2:13:12 AM
Comment:
hi where is the coding part
Title: method and purpose for creating assemblies   
Name: alice
Date: 2010-07-26 8:18:31 AM
Comment:
can u elaborate more on my title i dnt understand what should be written pliz
Title: Nice   
Name: sandip
Date: 2010-07-13 5:32:38 AM
Comment:
Good, its good information
Title: Hum Tum   
Name: Nitin Tiwari
Date: 2007-09-22 4:49:08 AM
Comment:
very Nice description....fine






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


©Copyright 1998-2017 ASPAlliance.com  |  Page Processed at 2017-04-23 9:49:41 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search