AN INTRODUCTION
DIFFERNCE FROM OTHERS
• DOS programming -> programmer have to take care of things from starting to end. Little bit relaxation due to event driven programming. • Abstraction of hardware ->windows take care of communicating with hardware using windows WIN32API. • Burden of creating user interface reduced. • Active x controls and DAO/ ADO
MAIN FEATURES OF .NET
• Provides platform for windows, web and mobile applications with supporting languages. • Splits os platform into two parts:
– Programming layer – Execution layer
• Purely object oriented environment. (Framework class to access the system of .net)
NEXT GENERATION INTERNET
Web site Looselycoupled, Service services connected by XMLXML-based Web site msgs messages and contracts, Device written in many languages
Backend App
Service
Mega Service
Backend Service App
Service
Web site
Mega Service
.NET FRAMEWORK
.NET FRAMEWORK
• A framework is a set of common and prefabricated software building blocks that programmers can use, extend or customize for specific computing solutions. • NET Framework consists of 3 main parts:
– Common Language Runtime (CLR) – Common Language Specification (CLS) – Common Type Specification (CTS)
THE .NET FRAMEWORK
VB
C++
C#
JScript
…
Common Language Specification Visual Studio.NET ASP.NET: Web Services and Web Forms Windows Windows Forms Forms
ADO.NET: Data and XML Base Class Library
Common Language Runtime
COMMON LANGUAGE RUNTIME (CLR)
• A common runtime enviornment for all .NET languages – Common type system – Common metadata – Intermediate Language (IL) to native code compilers – Memory allocation and garbage collection – Code execution and security • Over 15 languages supported today – C#, VB, Jscript, Visual C++ from Microsoft – Perl, Python, Smalltalk, Cobol, Haskell, Mercury, Eiffel, Oberon, Oz, Pascal, APL, CAML, Scheme, etc.
COMMON LANGUAGE RUNTIME (CLR)
• Enables