borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (How to include dynamic html file into aspx page?)Next Topic (Button s Not responding to Click Event) New Topic New Poll Post Reply
AndreaVB Forum : ASP.Net : What is the use of assembly in ASP.net?
Poster Message
Aspcoder
Level: Guest


icon What is the use of assembly in ASP.net?

What is the use of assembly in ASP.net?

06-02-2004 at 10:06 AM
| Quote Reply
zimcoder
Level: VB Lord


Registered: 27-10-2003
Posts: 225
icon Re: What is the use of assembly in ASP.net?

Perhaps before one can explain what an assmbly is used for one has to clarify what it is here is an exaplanation.

An assembly is a file that is automatically generated by the compiler upon successful compilation of every .NET application. It can be either a Dynamic Link Library or an executable file. It is generated only once for an application and upon each subsequent compilation the assembly gets updated. The entire process will run in the background of your application; there is no need for you to learn deeply about assemblies. However, a basic knowledge about this topic will help you to understand the architecture behind a .NET application.

An Assembly contains Intermediate Language (IL) code, which is similar to Java byte code. In the .NET language, it consists of metadata. Metadata enumerates the features of every "type" inside the assembly or the binary. In addition to metadata, assemblies also have a special file called Manifest. It contains information about the current version of the assembly and other related information.

In .NET, there are two kinds of assemblies, such as Single file and Multi file. A single file assembly contains all the required information (IL, Metadata, and Manifest) in a single package. The majority of assemblies in .NET are made up of single file assemblies. Multi file assemblies are composed of numerous .NET binaries or modules and are generated for larger applications. One of the assemblies will contain a manifest and others will have IL and Metadata instructions.

Here is a scenario a have had to use an assembly
I have a project being written in VB.Net and C# i needed to use MySQL as the backend database in order to do so i downloaded the MySQL Data provider which i installed on my computer. I then in my project added the installed dll as a reference .. which in essence is an assembly.  


____________________________
BrainBench ADO.NET and ASP.NET Certified Developer

18-05-2004 at 05:28 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ASP.Net : What is the use of assembly in ASP.net?
Previous Topic (How to include dynamic html file into aspx page?)Next Topic (Button s Not responding to Click Event) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder