.NetTECHNOLOGY
Name:- Imran khan
B.Tech CS 3rd year
Rollno:- 1006910026
What is .Net
• .NET is not a language (Runtime and a library for writing and executing
written programs in any compliant language)
• .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 server-centric
What is .Net
• .Net is a set of Technologies provided by Microsoft that facilitates
application development by offering multiple languages well suited for
different tasks as well as preferences, an integrated development
environment for productive application development, a class library
providing more functionality to applications, and an execution environment
for managed execution of the code on any platform.
.Net as a platform or a Model
.NET
MODELPLATFORM
.Net as a Platform
what is Platform ?
H/W
Applications
Operating System
Hardware
Platform
.Net as a Platform
what is Platform ?
H/W
.Net Applications
Operating System
Hardware
.Net
Platform CLR
Platform
CLR (Common Language Runtime)
• CLR works like a virtual machine in executing all languages.
All .NET languages must obey the rules and standards
imposed by CLR.
• Examples:
1. Object declaration, creation and use
2. Data types, language libraries
3. Error and exception handling
.Net Framework
• Dramatically simplifies development and deployment
• Provides robust and secure execution environment
• Supports multiple programming languages
.Net Framework
Common Language Runtime (CLR)
Class Library
Languages
VB.net C#.net VC++.net Others
.Net
framework
Act as
Tool
Act s
Model
Act as
Plateform
IL (Intermediate Code)
• .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.
VB.net VC++.net C#.net J#.net Others
MSIL
CLR
Machine Executable Code
PLATFROM
INDEPENDANT
PLATFORM
SPECIFIC
Code in VB.net Code in VC++.netCode in C#.net
Code in other .Net
Language
VB.net Compiler VC++.net CompilerC#.net Compiler
Appropriate
Compiler
IL(Intermediate
Language) Code
CLR Just in Running
Languages
• Languages provided by MS
VB, C++, C#, J#, JScript
• Third-parties are building
APL, COBOL, Pascal, Eiffel, Haskell, ML,
Oberon, Perl, Python, Scheme, Smalltalk…
Types of Apps Supported by .Net
• Consol Application
• Windows Application
• ASP.Net web Application
• Class Library
• ASP.Net web Service
• Smart Device Application
• Etc..
.net Component Technologies
ASP.net (web Services)
ADO.net (Data & XML)
Visual Studio.net (IDE)
ASP.net
•ASP.NET,the platform services that allow to program Web Applications and
Web Services in any .NET language
•ASP.NET Uses .NET languages to generate HTML pages. HTML page is
targeted to the capabilities of the requesting Browser
•ASP.NET “Program” is compiled into a .NET class and cached the first time
it is called. All subsequent calls use the cached version.
ASP.net
• Logical Evolution of ASP
• Supports multiple languages
• Improved performance
• Control-based, event-driven execution model
• More productive
• Cleanly encapsulated functionality
ADO.net (Data & XML)
• New objects (e.g., DataSets)
• Separates connected / disconnected issues
• Language neutral data access
• Uses same types as CLR
• Great support for XML
Visual Studio.net (IDE)
• Development tool that contains a rich set of
productivity and debugging features
• It is an Integrated Development Environment
provided by Microsoft for quick Programing.
Comparison between
J2EE and .NET
Comparison between J2EE and .NET Architectures
Swing/AWT
Dynamic
HTML Pages
Dynamic
HTML Pages
Windows
Forms
Java
applets
JSP pages
.Net user
control
C#/ASP.net
Enterprise
Beans
JDBC
Database
COM+
service
component
ADO.net
Databsae
Clint Tire
Web Tier
Business Tier
Database Tier
J2EE & .Net
Execution Engine
J2EE
Java source code compiles into machine-independent byte code
Runtime Environment : JVM
.NET
Any compliant language compiles into MSIL
Runtime environment : CLR
Both JVM and CLR ,support services, such as code verification, memory management
via garbage collection, and code security
J2EE & .Net
Cross Platform Portability
J2EE
Platform Independent
JDK should exist on target machine
.NET
Supports Windows platform
CLR should exist on target machine
Can support other platforms provided it has its own JIT complier
J2EE & .Net
Language Support
J2EE
Tied to Java
Supports other languages via interface technology
.NET
Language independent
Supports any language if mapping exists from that language to IL
J2EE & .Net
Tools Support
J2EE
Eclipse IDE
Net beans IDE
.NET
Visual Studio.NET, single IDE for building an application.
Conclusion
• .Net for Beginners is a modest attempt to present a comprehensive
and revolutionary technology in a simple, concise, and easy to
understand manner.
Refrences
• en.wikipedia.org/wiki/.NET_Framework
• msdn.microsoft.com/en-us/library/.../w0x726c2(v=vs.90).aspx
• getdotgnu.com/technology.htm
• http://www.microsoft.com/net
dot net technology

dot net technology

  • 1.
    .NetTECHNOLOGY Name:- Imran khan B.TechCS 3rd year Rollno:- 1006910026
  • 2.
    What is .Net •.NET is not a language (Runtime and a library for writing and executing written programs in any compliant language) • .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 server-centric
  • 3.
    What is .Net •.Net is a set of Technologies provided by Microsoft that facilitates application development by offering multiple languages well suited for different tasks as well as preferences, an integrated development environment for productive application development, a class library providing more functionality to applications, and an execution environment for managed execution of the code on any platform.
  • 4.
    .Net as aplatform or a Model .NET MODELPLATFORM
  • 5.
    .Net as aPlatform what is Platform ? H/W Applications Operating System Hardware Platform
  • 6.
    .Net as aPlatform what is Platform ? H/W .Net Applications Operating System Hardware .Net Platform CLR Platform
  • 7.
    CLR (Common LanguageRuntime) • CLR works like a virtual machine in executing all languages. All .NET languages must obey the rules and standards imposed by CLR. • Examples: 1. Object declaration, creation and use 2. Data types, language libraries 3. Error and exception handling
  • 8.
    .Net Framework • Dramaticallysimplifies development and deployment • Provides robust and secure execution environment • Supports multiple programming languages
  • 9.
    .Net Framework Common LanguageRuntime (CLR) Class Library Languages VB.net C#.net VC++.net Others .Net framework Act as Tool Act s Model Act as Plateform
  • 10.
    IL (Intermediate Code) •.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.
  • 11.
    VB.net VC++.net C#.netJ#.net Others MSIL CLR Machine Executable Code PLATFROM INDEPENDANT PLATFORM SPECIFIC
  • 12.
    Code in VB.netCode in VC++.netCode in C#.net Code in other .Net Language VB.net Compiler VC++.net CompilerC#.net Compiler Appropriate Compiler IL(Intermediate Language) Code CLR Just in Running
  • 13.
    Languages • Languages providedby MS VB, C++, C#, J#, JScript • Third-parties are building APL, COBOL, Pascal, Eiffel, Haskell, ML, Oberon, Perl, Python, Scheme, Smalltalk…
  • 14.
    Types of AppsSupported by .Net • Consol Application • Windows Application • ASP.Net web Application • Class Library • ASP.Net web Service • Smart Device Application • Etc..
  • 15.
    .net Component Technologies ASP.net(web Services) ADO.net (Data & XML) Visual Studio.net (IDE)
  • 16.
    ASP.net •ASP.NET,the platform servicesthat allow to program Web Applications and Web Services in any .NET language •ASP.NET Uses .NET languages to generate HTML pages. HTML page is targeted to the capabilities of the requesting Browser •ASP.NET “Program” is compiled into a .NET class and cached the first time it is called. All subsequent calls use the cached version.
  • 17.
    ASP.net • Logical Evolutionof ASP • Supports multiple languages • Improved performance • Control-based, event-driven execution model • More productive • Cleanly encapsulated functionality
  • 18.
    ADO.net (Data &XML) • New objects (e.g., DataSets) • Separates connected / disconnected issues • Language neutral data access • Uses same types as CLR • Great support for XML
  • 19.
    Visual Studio.net (IDE) •Development tool that contains a rich set of productivity and debugging features • It is an Integrated Development Environment provided by Microsoft for quick Programing.
  • 20.
  • 21.
    Comparison between J2EEand .NET Architectures Swing/AWT Dynamic HTML Pages Dynamic HTML Pages Windows Forms Java applets JSP pages .Net user control C#/ASP.net Enterprise Beans JDBC Database COM+ service component ADO.net Databsae Clint Tire Web Tier Business Tier Database Tier
  • 22.
    J2EE & .Net ExecutionEngine J2EE Java source code compiles into machine-independent byte code Runtime Environment : JVM .NET Any compliant language compiles into MSIL Runtime environment : CLR Both JVM and CLR ,support services, such as code verification, memory management via garbage collection, and code security
  • 23.
    J2EE & .Net CrossPlatform Portability J2EE Platform Independent JDK should exist on target machine .NET Supports Windows platform CLR should exist on target machine Can support other platforms provided it has its own JIT complier
  • 24.
    J2EE & .Net LanguageSupport J2EE Tied to Java Supports other languages via interface technology .NET Language independent Supports any language if mapping exists from that language to IL
  • 25.
    J2EE & .Net ToolsSupport J2EE Eclipse IDE Net beans IDE .NET Visual Studio.NET, single IDE for building an application.
  • 26.
    Conclusion • .Net forBeginners is a modest attempt to present a comprehensive and revolutionary technology in a simple, concise, and easy to understand manner.
  • 27.