Documente Academic
Documente Profesional
Documente Cultură
NET Framework
.NET Framework
What Is .NET
.Net is a new framework for developing
web-based and windows-based applications
within the Microsoft environment.
The framework offers a fundamental shift in
Microsoft strategy: it moves application
development from client-centric to servercentric.
.NET Application
.NET Framework
CLR
contd..
Development
Mixed language applications
Deployment
Removal of registration dependency
Safety fewer versioning problems
CTS
CLS
Compilation in .NET
Code in VB.NET
Code in C#
Code in another
.NET Language
VB.NET compiler
C# compiler
Appropriate
Compiler
IL(Intermediate
Language) code
CLR just-in-time
execution
Chinese
Intermediate Language
Intermediate Language
Interpreter
English
NAMESPACE
Namespace is a way to keep one set of names separate
from another.
It organizes code and gives a way to create globallyunique types.
In C#, namespaces are used to logically arrange
classes, structs, interfaces, enums and delegates.
The namespaces in C# can be nested. That means one
namespace can contain other namespaces also.
User can define their own namespaces.
A Namespace in Microsoft .Net is like containers of
objects. They may contain unions, classes, structures,
interfaces, enumerators and delegates
Namespaces
(contd)
Class Library
The .NET Framework class library exposes features
of the runtime and simplifies the development of
.NET-based applications. In addition, developers can
extend classes by creating their own libraries of
classes.
The .NET Framework class library implements the
.NET Framework.
All applications (Web, Windows, and XML Web
services) access the same.NET Framework class
libraries, which are held in namespaces. All .NETbased languages also access the same libraries.
Cont.
An assembly is a means of reusing code
Assembly Structure
contd.
Assembly Metadata- .NET metadata can be
thought of simply as a collection of information
existing in binary form inside a Portable
Executable (PE) file or a .NET assembly
Type Metadata-Type Metadata describes the
data present in the assembly and its type. This
metadata contains a declaration for every type
and member(methods, fields, properties, and
events).
contd.
Types Of Assembly
There are two types of assembly
a).Private assembly
b).Public assembly.
A private assembly deployed with application, and
stored in the application's directory. It is used by only
one application .
A shared assembly is stored in the global assembly
cache (GAC), maintained by the .NET runtime. It is
shared among different application .
One more type of assemblies called satellite
assemblies are used for localization.(partition the
resources based on a specific culture).