01-03-2013, 04:01 PM
Introduction to .NET Framework
Introduction to .NET.ppt (Size: 249 KB / Downloads: 44)
.NET – What Is It?
Software platform
.NET is not a language (Runtime and a library for writing and executing written programs in any compliant language)
OR
It is a complete suite for developing and deploying applications. This suite consists of 1) .Net products
2).Net services and
3) .Net Framework
What Is .NET
.NET Framework is Microsoft's comprehensive and consistent programming model for building applicationswithin the Microsoft environment.
.Net frame work exists as a layer between .Net applications and the under laying Operating System.
Common Language Runtime (CLR)
CLR works like a virtual machine in executing all languages.
All .NET languages must obey the rules and standards imposed by CLR. Examples:
Object declaration, creation and use
Data types,language libraries
Error and exception handling
Interactive Development Environment (IDE)
Common Language Runtime
Development
Mixed language applications
Common Language Specification (CLS)
Common Type System (CTS)
Standard class framework
Automatic memory management
Consistent error handling and safer execution
Potentially multi-platform
Deployment
Removal of registration dependency
Safety – fewer versioning problems
Intermediate Language (IL)
.NET languages are not compiled to machine code. They are compiled to an Intermediate Language (IL).
CLR accepts the IL code and recompiles it to machine code. The recompilation is just-in-time (JIT) meaning it is done as soon as a function or subroutine is called.
The JIT code stays in memory for subsequent calls. In cases where there is not enough memory it is discarded thus making JIT process interpretive.
ASP.NET Web Forms
Allows clean cut code
Code-behind Web Forms
Easier for tools to generate
Code within is compiled then executed
Improved handling of state information
Support for ASP.NET server controls
Data validation
Data bound grids