Prepare for your Next Interview
This is a discussion on ASP.Net & VB.Net within the ASP.NET forums, part of the Web Development category; 1.What is the difference between ASP.Net and VB.Net? 2.Pls explain abt Assembly....
|
|||
|
ASP.Net & VB.Net
1.What is the difference between ASP.Net and VB.Net?
2.Pls explain abt Assembly. |
| The Following 2 Users Say Thank You to sornalakshmi For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: ASP.Net & VB.Net
An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). All managed types and resources are marked either as accessible only within their implementation unit, or as accessible by code outside that unit.
Assemblies are self-describing by means of their manifest, which is an integral part of every assembly. The manifest: * Establishes the assembly identity (in the form of a text name), version, culture, and digital signature (if the assembly is to be shared across applications). * Defines what files (by name and file hash) make up the assembly implementation. * Specifies the types and resources that make up the assembly, including which are exported from the assembly. * Itemizes the compile-time dependencies on other assemblies. * Specifies the set of permissions required for the assembly to run properly. * This information is used at run time to resolve references, enforce version binding policy, and validate the integrity of loaded assemblies. The runtime can determine and locate the assembly for any running object, since every type is loaded in the context of an assembly. Assemblies are also the unit at which code access security permissions are applied. The identity evidence for each assembly is considered separately when determining what permissions to grant the code it contains. |
|
|||
|
Re: ASP.Net & VB.Net
Quote:
ASP.NET is TECHNOLOGy VB.NET is LANGUAGE c#,C++,j#,vb.net...languages supports ASP.NET ASSEMBLY: Assembly is a collection of files 1) private assembly 2) shared assembly we can build private assembly and we can use that assembly in application but we need to follow some rules to create shared assembly it should be strong name, means unique name and we have to place shared assembly in GAC and we can use this shared assembly in any application |
|
|||
|
Re: ASP.Net & VB.Net
asp.net is simple a library that makes it easy for you to create web applications that run against the .NET runtime (similar to the java runtime).
vb.net is a language that compiles against the common language runtime, like C#. Any .NET compliant language can use the asp.net libraries to create web applications. Assemblies Assembly is unit of deployment like EXE or a DLL.An assembly consists of one or more files (dlls, exe’s, html files etc.), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain references to other assemblies.An assembly is completely self-describing.An assembly contains metadata information, which is used by the CLR for everything from type checking and security to actually invoking the components methods.Multiple versions can be deployed side by side in different folders |
| The Following User Says Thank You to raghulvarma For This Useful Post: | ||
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|