You are on page 1of 7

[TYPE THE COMPANY NAME]

Practical : 1
Introduction To .NET Framewor
krupal


Introduction To .NET Framewor 11!""!11#!!$

Introduction :
The .NET framework is an integrated component of windows operating system that supports
development and execution of next generation applications, Windows store apps and services.
It acts as the framework for a number of programming languages which provide
interoperability between them. It includes a .NET library which is available to all languages
that it supports.
oftware programs written for .NET run in an environment called the !ommon "anguage
#untime $!"#% which is an application virtual machine providing memory management and
exception handling. The .NET base class library delivers the database connectivity, data
access, user interface, web application development, algorithms and network communications
used by .NET programmers in con&unction with their custom software development.
In short, .NET 'ramework provides an environment for building, developing and running
(icrosoft windows services and applications. It consists of three distinct technologies)
*. !ommon "anguage #untime $!"#%
+. 'ramework ,ased !lasses
-. .ser interface components $/0.NET and Windows forms%
Figure 1.1 .NET framework overview
Components of .NET Framework Architecture :
%OCET&IT' Pa(e )
Introduction To .NET Framewor 11!""!11#!!$
Figure 1.2 Components of .NET Framework Architecture
The !"# manages memory, threat execution, and code execution softly verification,
compilation $common concept% and other system services for managed code. The code that
runs within the !"# runs in an encapsulation and managed environment, separate from other
process on the machine.
The runtime enforce code compactness by implementing a strict type and code verification
infrastructure called the !T. !T are a universal type system for .NET framework. In
addition to defining all types the !T also stipulates the rules that the !"# fallows with
regard to application declaring and using these types in the world of .NET everything in the
%OCET&IT' Pa(e *
Introduction To .NET Framewor 11!""!11#!!$
!T is an ob&ect. In fact, not only is everything an ob&ect but even more importantly all
ob&ect, implicitly derived from a single base class defined as part of !T. This base class
called system ob&ect.
!" ensures seamless inter operability between !" complaint "anguage and class
"ibraries. ,ecause the same .NET base class libraries shared between all programming
languages. / developer can take his or her knowledge of this library with him as he or she
migrates from language to language. Thus run time accelerate development language of
chaise yet take full advantage of runtime. !lass library component written in other language
other developers.
/ll .NET programs are compiled to an intermediate language (I" files, rather than to native
code which can be understood by the computers processor. This (I" code is then compiler
to native code either when the application is installed or when the application is run, which is
then executed by the machine processor since managed code is neighbor interpreted, thus run
time enhance performance finally the runtime can be hosted by high performance server side
applications such as (icrosoft 1" server and internet information services $II%.
Common Language Runtime (CLR :
We can say !"# is the heart and soul of the .NET 'ramework. /s the name suggests, !"#
provides run time environment in which the program written in !2 and other .NET languages
are executed. It also supports cross language interoperability.
!"# supports a number of services as follows)
*. "oading and execution of the program
+. (emory isolation for application
-. !ompilation of I" into native executable code
3. (emory management $automatic garbage collection%
4. Enforcement of security
5. (anaging errors and exceptions
6. upport for tasks such as debugging and profiling
7. Interoperability with other systems
%OCET&IT' Pa(e $
Introduction To .NET Framewor 11!""!11#!!$
Figure 1.3 Working of Common anguage !untime "C!#
The .NET 'ramework provides multiple language support using the features known as
!ommon Type ystem that build into the !"#. The !T supports a variety of types and
operations found in most programming languages and therefore calling one language from
another does not re8uire type conversions. We can build .NET program in a number of other
languages including !99 and :isual ,asic.
Common Language !pecification (CL! )
The !" specification defines a set of rules that enables interoperability on the .NET
platform. These rules guide the third party compiler designers and library builders. The !"
is a subset of !T and therefore the language supporting the !" can use each others; class
libraries as if they are their own.
"icrosoft Intermediate Language ("!IL :
(I" simply called I" is an instruction set into which all the .NET programs are compiled. It
is akin to assembly language and contains instructions for loading, storing, initiali<ing and
calling methods. When we compile a !2 program or any program written in a !" compliant
language, the code is compiled into (I".
The .NET Framework C#ass Li$rar% (FCL :
%OCET&IT' Pa(e +
Introduction To .NET Framewor 11!""!11#!!$
.NET has an extensive library, offering literally thousands of reusable types. =rgani<ed into
namespaces, the '!" contains code supporting all the .NET technologies, such as Windows
'orms, Windows 0resentation 'oundation, /0.NET, />=.NET, Windows Workflow, and
Windows !ommunication 'oundation. In addition, the '!" has numerous cross?language
technologies, including file I@=, networking, text management, and diagnostics. /s
mentioned earlier, the '!" has !"# support in the areas of built?in types, exception handling,
security, and threading.
&'.NET :
:isual ,asic .NET $:,.NET% is an ob&ect?oriented computer programming language
implemented on the .NET 'ramework. /lthough it is an evolution of classic :isual ,asic
language, it is not backwards?compatible with :,5, and any code written in the old version
does not compile under :,.NET.
:,.NET is implemented by (icrosoft;s .NET framework. Therefore, it has full access to all
the libraries in the .Net 'ramework. It;s also possible to run :,.NET programs on (ono, the
open?source alternative to .NET, not only under Windows, but even "inux or (ac =A.
A!(.NET :
Bere are some points that give the 8uick overview of /0.NET )
*. /0.NET provides services to allow the creation, deployment, and execution of Web
/pplications and Web ervices.
+. "ike /0, /0.NET is a server?side technology and runs on (icrosoft Internet
Information erver $II%.
-. Web /pplications are built using Web 'orms. /0.NET comes with built?in Web
'orms controls, which are responsible for generating the user interface. They mirror
typical BT(" widgets like text boxes or buttons. If these controls do not fit your
needs, you are free to create your own user controls.
%OCET&IT' Pa(e #
Introduction To .NET Framewor 11!""!11#!!$
Figure 1.$ A%&.NET
/0.NET was developed in direct response to the problems that developers had with classic
/0. ince /0 is in such wide use, however, (icrosoft ensured that /0 scripts execute
without modification on a machine with the .NET 'ramework. Thus, II can house both /0
and /0.NET scripts on the same machine.
A)*.NET :
/>=.NET is a large set of .NET classes that enable us to retrieve and manipulate data, and
update data sources, in very many ways. /s an integral part of the .NET framework, it shares
many of its featuresC features such as multi?language support, garbage collection, &ust?in?time
compilation, ob&ect?oriented design, and dynamic caching, and is far more than an upgrade of
previous versions of />=. It is a part of the .NET framework architecture. It is a model used
by .NET applications to communicate with a database for retrieving, accessing, and updating
data.
/>=.NET is set to become a core component of any data?driven .NET application or Web
ervice, and understanding its power will be essential to anyone wishing to utili<e .NET data
support to maximum effect.
%OCET&IT' Pa(e "

You might also like