Вы находитесь на странице: 1из 5

PRACTICAL I

OBJECTIVE: STUDY OF DOT NET FRAMEWORK


INTRODUCTION: The overall vision of Microsoft .NET is to create a common platform for
building applications that can be delivered as reusable, interoperable services over the Internet
and corporate intranets. .NET is a Microsofts next generation revolutionary new platform for
indows and Internet software development, based on open Internet protocols and standards.
Thus, as already stated, the overall vision of Microsoft .NET is to create a common platform for
building applications that can be delivered as reusable, interoperable services over the Internet
and corporate intranets. !everal software will be developed by Microsoft to achieve this goal.
Microsoft wants every player in the industry, be it a software developer or a device manufacturer,
to adopt .NET so that they are easily integrated. .NET initiative is all about enabling data transfer
between networ"s, #$s and devices independent of platforms, architecture and solutions.
The developers have broad freedom to write their applications in whatever programming
language they are comfortable with. %t present, Microsoft is shipping four different
programming languages& '(, $)), $* and +script within 'isual !tudio.NET, but there are
actually ,- languages in all that are going to target the .NET framewor".
DOT NET FRAMEWORK: The goal of the Microsoft .NET .ramewor" is to ma"e it easy to
build eb applications and web services. It covers all the layers of software development from
operating system up. It provides the richest level of integration among presentation technologies,
component technologies and data technologies, particularly on a Microsoft platform.
.NET wraps the operating system, insulating software developed with .NET from most operating
system specifics such as file handling and memory allocation. Thus, software developed for
.NET is portable to a wide variety of hardware and operating system foundations.
(uilt on top of operating system services is a $ommon /anguage 0untime 1$/02, the heart of
the .NET .ramewor", the engine that drives the "ey functionality. It manages the needs of
running code written in any modern programming language.
It supplies many services that help simplify the code development and application deployment. It
also does memory allocation and management and the garbage collection.
.The framewor" also includes a set of class libraries that developers can use from any
#rogramming language. %bove that are various programming models that provide components
and services for 3eveloping web sites and web services. It includes user and program interfaces.
indows .orms and eb .orms provide a powerful user interface for the web.
COMMON LANGUAGE RUNTIME (CLR): % runtime is an environment in which programs
are executed. Thus, $/0 is the environment in which .NET applications are run that have been
compiled to a common language, called as Microsoft Intermediate /anguage 1M!I/2. This is
also referred as Intermediate /anguage 1I/2.
The runtime loads and runs the code written in any programming language that is aware of the
$ommon /anguage 0untime. It enables deep multi4language integration. $ode written in one
language can now inherit implementation from classes written in another language.
!elf4describing components are now possible on .NET .ramewor", which simplify the
development and deployment. ith self4describing components no other files are needed to use
the components.
0untime also supplies integrated, pervasive security services to ensure that unauthori5ed users
cannot access resources on machine and that code cannot perform unauthori5ed actions.
BENEFITS OF .NET FRAMEWORK: The ma6or benefits of .NET can be summari5ed as
follows&
.aster development
/ots of built4in functionality through rich ob6ect model
'ariety of ways to interface and integrate with the outside world
More reuse
Easy to integrate different languages into one system
Easier deployment
!calability
Easy to build sophisticated tools
Interfaces well to existing software
.ewer bugs due to use of $/0
CONSOLE APPLICATIONS: $* can be used to create applications that ta"e input and display
output at the command line console. These applications are ideal for learning $* development
because the user interface is so simple. $onsole applications are also very useful for utility
programs that re7uire little or no user interaction.
%pplications in the .NET .ramewor" can use the !ystem.$onsole class to read characters from
and write characters to the console.
3ata from the console is read from the standard input stream, data to the console is written to the
standard output stream, and error data to the console is written to the standard error output
stream. These streams are automatically associated with the console when the application starts
and are presented as the In, 8ut, and Error properties, respectively.
WINDOWS APPLICATIONS: The applications in which we design a .orm that ta"es input
from user in a Text .ield and displays an output in another .ield, then such type of %pplications
are called indows %pplications. These %pplications are developed for a particular system.
They are 8.. /INE %pplications.
EXAMPLE: 3esign of a $alculator, 3esign of a Note #ad, etc..
WEB APPLICATIONS: The %pplications in which we design the .orm that will be executed
on eb (rowsers using the facility of Internet are called eb %pplications. These are 8N /INE
%pplications.
EXAMPLE: ebsites, #ortals, etc.
ASP.NET: %!#.NET is a unified eb development model that includes the services necessary
for you to build enterprise4class eb applications with a minimum of coding. %!#.NET is part of
the .NET .ramewor".
LANGUAGES of DOT NET:
'I!9%/ (%!I$ 1'(2
'I!9%/ $)) 1'$))2
'I!9%/ +* 1'+*2
'I!9%/ $* 1'$*2 or simply $*
VB.NET& 'isual (asic .NET 1'(.NET2 is an ob6ect4oriented computer programming language
that can be viewed as an evolution of the classic 'isual (asic 1'(2, which is implemented on the
.NET .ramewor". #reviously, it is used as the most common 38T NET /anguage for designing
and development purposes.
VC++: .NET Microsoft 'isual $)) 1often abbreviated as M!'$ or '$))2 is a commercial 1free
version available2 integrated development environment 1I3E2 product from Microsoft for the $,
$)), and $)):$/I programming languages. It has tools for developing and debugging $))
code, especially code written for the Microsoft indows %#I, the 3irect; %#I and the Microsoft
.NET .ramewor".
VJ: .NET 'isual +* 1pronounced <6ay4sharp<2 programming language is a discontinued
transitional language for programmers of +ava and 'isual +)) languages, so they may use their
existing "nowledge and applications on .NET .ramewor".
VC: .NET $* 1pronounced see sharp2 is a multi4paradigm programming language
encompassing strong typing, imperative, declarative, functional, generic, ob6ect4oriented 1class4
based2 and component4oriented programming disciplines. It was developed by Microsoft within
its .NET initiative and later approved as a standard by Ecma 1E$M%4==,2 and I!8 1I!8:IE$
>=>?@&>@@A2. $* is one of the programming languages designed for the $ommon /anguage
Infrastructure.
$* is intended to be a simple, modern, general4purpose, ob6ect4oriented programming language.
Its development team is led by %nders Be6lsberg. The most recent version is $* ,.@, which was
released on %pril ->, >@-@.
Now a day, it is used as the most common language of 38T NET .ramewor" for designing and
development purposes.
ARC!ITECTURE of DOT NET:
> TIE0 %0$BITE$T90E
= TIE0 %0$BITE$T90E
SIMPLE PROGRAM: 3I!#/%CIND % ME!!%DE 8N !$0EEN IN $*
using !ystemE
using !ystem.$ollections.DenericE
using !ystem.TextE
namespace Message
F
$lass #rogram
F
public static void main1!tringGH args2
F
$onsole.rite/ine1IBE//8 IN3I%J2E
$onsole.0ead/ine12E
K
K
K
OUTPUT: BE//8 IN3I%
RESULT: The !tudy of 38T NET .ramewor" has been done successfully.

Вам также может понравиться