DotNet Framework : DotNet Framework
What is .NET? : What is .NET? It is Microsoft's strategy for development and deployment of software.
Microsoft has fundamentally changed the way programs execute under Windows.
Preference is now for interpreted code rather than machine code.
Modified versions of C++ & VB; C# added.
The environment has been redesigned to take full advantage of network standards.
.NET Architecture : .NET Architecture
Slide 4 : Windows Forms Console
Applications Web forms
& Web services .NET Framework Base Class Libraries Common Language Runtime Components of
.NET Framework
Common Language Runtime : Common Language Runtime Interprets a byte code: Microsoft Intermediate Language (IL).
Similar to Java Virtual Machine.
Some features:
Security
Garbage collection
Exception handling
Also supports unmanaged code: machine code.
Slide 6 :
Slide 7 : Common Language Specification Consists of set of common rules followed by all the
languages of .net framework
Interoperability between objects and applications.
The classes that follow by the rules specified by CLS
are termed as CLS compliant classes
CTS provides a type system that is common across
all languages.
Language Neutrality : Language Neutrality
Runtime Class Library : Runtime Class Library Removes much of the need for language specific libraries like C++'s STL.
Examples of items found in the Runtime:
Basic types
Collection classes
Input/Output
Graphical user interface library
Access to traditional Windows facilities (COM, ADO)
Slide 10 : User and Program Interfaces Windows Forms Web Forms Console
Applications
Assembly : Assembly A logical collection of one or more exe and dll file containing an application’s code and resources
It contains
Codes in MSIL
Manifest
A metadata description of the code and resources
.NET Assembly - The New .DLL : .NET Assembly - The New .DLL
Slide 13 : Advantages Of .NET Framework
What are the areas of .NET? : What are the areas of .NET? Define products implemented by Microsoft
Define client devices that use these services
Defines backbone for the applications to build on.
Managing, deploying and orchestrating the Web Services.
Microsoft provides a tool for building the .NET framework.
Solution (Microsoft Intermediate Language)Different Languages are Compiled into MSIL : Solution (Microsoft Intermediate Language)Different Languages are Compiled into MSIL Source code :
Any languages MS Intermediate
Language Platform specific
code Development tools Just-In-Time
compiler
.Net platform features : .Net platform features
.NET memory management : .NET memory management .Net Framework
Code access security : Code access security Most software comes from web.A user doesn’t know whether a Web code is safe or not.
.NET allows an administrator to specify privileges that each managed code has.
You can specify these privileges in three level by modifying XML-based files
Enterprise
Machine
User
Security & Managed Code : Security & Managed Code