Top Banner
.Net TECHNOLOGY Name:- Imran khan B.Tech CS 3 rd year Rollno:- 1006910026
28
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: dot net technology

.Net TECHNOLOGY

Name:- Imran khan

B.Tech CS 3rd year

Rollno:- 1006910026

Page 2: dot net technology

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

Page 3: dot net technology

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.

Page 4: dot net technology

.Net as a platform or a Model

.NET

MODELPLATFORM

Page 5: dot net technology

.Net as a Platformwhat is Platform ?

H/W

Applications

Operating System

Hardware

Platform

Page 6: dot net technology

.Net as a Platformwhat is Platform ?

H/W

.Net Applications

Operating System

Hardware

.Net Platfor

mCLR

Platform

Page 7: dot net technology

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 use2. Data types, language libraries3. Error and exception handling

Page 8: dot net technology

.Net Framework

• Dramatically simplifies development and deployment

• Provides robust and secure execution environment

• Supports multiple programming languages

Page 9: dot net technology

.Net Framework

Common Language Runtime (CLR)

Class Library

LanguagesVB.net C#.net VC++.net Others

.Net framewo

rk

Act as Tool

Act s Model

Act as Platefor

m

Page 10: dot net technology

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.

Page 11: dot net technology

VB.net VC++.net C#.net J#.net Others

MSIL

CLR

Machine Executable Code

PLATFROM INDEPENDAN

T

PLATFORM SPECIFIC

Page 12: dot net technology

Code in VB.netCode in VC+

+.netCode in C#.net

Code in other .Net Language

VB.net CompilerVC++.net Compiler

C#.net Compiler

Appropriate Compiler

IL(Intermediate Language) Code

CLR Just in Running

Page 13: dot net technology

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…

Page 14: dot net technology

Types of Apps Supported by .Net• Consol Application

• Windows Application

• ASP.Net web Application

• Class Library

• ASP.Net web Service

• Smart Device Application

• Etc..

Page 15: dot net technology

.net Component Technologies

ASP.net (web Services)

ADO.net (Data & XML)

Visual Studio.net (IDE)

Page 16: dot net technology

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.

Page 17: dot net technology

ASP.net

• Logical Evolution of ASP• Supports multiple languages

• Improved performance

• Control-based, event-driven execution model

• More productive

• Cleanly encapsulated functionality

Page 18: dot net technology

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

Page 19: dot net technology

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.

Page 20: dot net technology

Comparison between J2EE and .NET

Page 21: dot net technology

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

Page 22: dot net technology

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

Page 23: dot net technology

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

Page 24: dot net technology

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

Page 25: dot net technology

J2EE & .Net

Tools Support

J2EE

Eclipse IDE

Net beans IDE

.NET

Visual Studio.NET, single IDE for building an application.

Page 26: dot net technology

Conclusion

• .Net for Beginners is a modest attempt to present a comprehensive and revolutionary technology in a simple, concise, and easy to understand manner.

Page 27: dot net technology

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

Page 28: dot net technology

Thank you for your attention