VB.NET 2005 Tutorials
Tutorials
VB.NET 2005The .NET Framework Architecture Part 1
.NET Framework Class Library
Tight security is maintained in implementing common language runtime. Managed components are awarded varying degrees of trust. Access rights are determined by factors such as origin of the component (Internet, enterprise network, or local computer). On the flip side this restricts access to file and registry operations, even if the file being operated upon is on within the same active application.
The managed environment of the runtime eliminates many common software issues. For example, the runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors--memory leaks and invalid memory references.
The futuristic design of the infrastructure is takes into consideration the need to integrate with the legacy applications that are still in operation.
Interoperability between managed and unmanaged code enables developers to continue to use necessary COM components and DLLs.
The use of ‘Common type’ system implements the features of the .NET infrastructure. The common data types shared by multiple languages such as VB.NET, C#, ASP.NET eases the import of a class created in one language into another. A common error handling facility makes for tighter integration between languages and allows developers the freedom of working in the language of their choice.
.NET Framework Class Library
The .NET framework class library, as the name suggests, is a library of classes, interfaces and value types. The applications, components and controls for applications are built on this framework and it provides the developer the access to the system functionality. In other words, the classes and structures can be leveraged as base building blocks for application development. These classes are often described as an API and form a boundary interface between the application and the operating system. Though the concept is not new to Visual basic Developers who have been using the ADO library, the Win 32 API and COM + services, it forms a massive code base on which the application can be built.
The .NET Framework class Library is organized into namespaces. The namespace is a container for functionality. Similar classes and constructs are grouped together in a namespace to define parent-child relationships. Namespaces can be nested into namespaces.
All namespaces stem from the root namespace called System Namespace. It contains all data types including the Object data type. Though all namespaces are subordinated to the System namespace, User defined libraries can also coexist with the System namespace. They can have their own root namespace which can be language focused namespaces such as Microsoft.Csharp, Microsoft.VisualBasic.
The most significant feature of the .NET framework is the class Library collection of reusable types can be integrated with CLR. The programmer can accomplish a range of common programming tasks, such as string management; data collection; data base connectivity and file access using the .NET framework class library. The developer can create console applications, Windows GUI applications, ASP.NET applications, XML Web services or Windows services.
Microsoft Intermediate Language (MSIL)
MSIL are simple binary structures that are similar to the instruction sets of the CPU. Like the instruction set, it encodes a wide spectrum of operations such as loading, storing, arithmetic and logical operations and control flow. The similarity to the machine code enables the code to be compiled quickly in the Just in time compiler. The type verification also becomes simpler because the DotNet binary contains tables of metadata. The metadata defines each type and its signatures and also the other data that the runtime locates and extracts from the file at the time of execution. The presence of the metadata makes the module self descriptive and eliminates the need for IDL files and header files. However, unlike the CPU instruction set, MSIL expresses object oriented concepts such as object creation, method invocation, property access and exception handling.
It is the Microsoft Intermediate Language (MSIL) which makes applications language independent. Applications may be created by programmers in any language of their choice—ASP.NET or VB.NET—in a machine on which the .NET framework has been installed. The compiler then, gives an output in the Microsoft Intermediate language. This language can be defined as a kind of assembly language at a higher level of abstraction. The language is designed in a manner that makes it possible to convert it into any kind of native machine code with ease. The CLR detects the Intermediate language and invokes the Just-in-time compiler to convert the language into machine code.
In the next tutorial The .NET Framework Architecture Part 2 we will learn about Just-In-Time (JIT) compilation, Assemblies, native assemblies, and the Global Assembly Cache (GAC). Please let us know your feedback helps us to improve this training.
First Page: The .NET Framework Architecture Part 1
Comments
csreddy2005 said:
| I am able to print the first page in the .NET Framework Architecture Part 1 but i am not able to print the second page. I am using the print option which is beside E-Mail option in the page. while i am clicking on print option in second page, it is populating a page which contains first page info... Kindly help.. |
bhavin chauhan said:
| Please name d book which give very good basic knowledge of VB.NET |
Gauranshi said:
| This tutorial is good for the beginners like me, i appreciate ur work. Thank u |
Sonali Patil said:
|
Hi iam Student of Msc Compuetr sci..This Site Help me in learnig vb .Net very efficently.. Thank You |
popcorn said:
| This tutorial gave me a great overview of .NET framework. Now i have a good headstart to explore further more. I do appreciate this. |
M Chandra Mohan Rao said:
| Excellent notes .net technology. very short and simple. |
Shailesh Adivarekar said:
| its not alwys true that all experienced persons knows such basic concepts....its really a gud tutorial....a kickstart for .Net beginners |
Muhammad Tufail said:
|
sir i am very appreciating your Training material as it is also free of cost. Sir i am actually developing a simple databse for which i need a handsome login form so sir i need it urgently i will be very thank ful |
shashikanth2020 said:
|
Sir, I am glad to see the detailed information about .Net which is really helpful for the beginners as well as developers too to enhance themselves. But if the notes are in page-wise format it would be better and easier... Thanks & Regards, |
Teklemariam said:
|
Dear Sir/Madam; By now I am taking the vb.net 2005 course. I found this site very interesting. It helps me a lot during my study. It will be good if you include questions at the end of each chapter |
