History of.Net Introduced by Microsoft Earlier technology was VC++ and VB VC++ comes with so many library and VB was so easy to use and not flexible to.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

.NET Framework Overview
Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
Using.NET Platform Note: Most of the material of these slides have been taken & extended from Nakov’s excellent overview for.NET framework, MSDN and wikipedia.
.NET Framework Overview Pingping Ma Nov 16 th, 2006.
.NET Technology.
CIM2564 Introduction to Development Frameworks 1 Overview of a Development Framework Topic 1.
Overview of the.NET Framework. What is the.NET Framework A new computing platform designed to simplify application development A consistent object-oriented.
Programming Our First Java Program Yingcai Xiao. What to Do Set up for Java Programming Write our first Java Program with IDE Write our first Java Program.
Introducing the Common Language Runtime for.NET. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution.
Lesson 1 What is.NET Prepared by Shawn Dossie Microsoft NYIT.
Introducing the Common Language Runtime. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution engine.
Platforms and tools for Web Services and Mobile Applications Introduction to C# Bent Thomsen Aalborg University 3rd and 4th of June 2004.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Rajeswari Indupuri Introduction to.NET Framework.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Overview of Microsoft.Net and Vb.Net ITSE 2349 Spring 2002 Material from Microsoft.Net an Overview for ACC faculty by Stuart Laughton and Introduction.
Introduction to .Net Framework
1 8/29/05CS360 Windows Programming Professor Shereen Khoja.
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
High thoughts must have high language. Aristophanes
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
Module 1: Introduction to C# Module 2: Variables and Data Types
 2002 Prentice Hall. All rights reserved. 1 Introduction to Visual Basic.NET,.NET Framework and Visual Studio.NET Outline 1.7Introduction to Visual Basic.NET.
.NET & C# Introduction 11 March, 2004 Yusung Kim CS441 Introduction to Computer Networking.
Session 1 - Introduction and Data Access Layer
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
C# A 1 CSC 298 Introduction to C#. C# A 2 What to expect in this class  Background: knowledge of an object oriented language of the C++, Java, … family.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
 Internet providing backbone for applications  Use of several web sites and devices to provide one complete solution  Software as services  Quick software.
Introduction to .NET Framework
Understanding Code Compilation and Deployment Lesson 4.
.NET Framework Overview
Introduction .NET Framework
History of.Net Introduced by Microsoft Earlier technology was VC++ and VB VC++ comes with so many library and VB was so easy to use and not flexible to.
C# Overview and Features. Content I.History of C# II.Architecture III.How to install IV.Features V.Code Sample VI.Microsoft.NET Platform VII.Why use C#
ISYS 573 Special Topic – VB.Net David Chao. The History of VB Early 1960s:BASIC-Beginner’s All-Purpose Symbolic Instruction Code –Teaching –Simple syntax,
CS795/895: Introduction. Topics Distributed Systems –Availability –Performance –Web Services Security –Authentication –Authorization –Confidentiality.
MSIL & CLI Kun-Yuan Shieh.
Programming in C#. I. Introduction C# (or C-Sharp) is a programming language. C# is used to write software that runs on the.NET Framework. Although C#
Introduction to .NET Framework
ISYS 812 Business Software Development David Chao.
Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated.
AUC Technologies Projects Consulting, Development, Mentoring, and Training Company Application Foundation Presented By : Naveed Sattar Software Engineer.
Languages and IDE (Integrated Development Environment)
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
Microsoft .NET A platform that can be used for building and running windows and web applications such that the software is platform and device-independent.
Getting Started with.NET Getting Started with.NET/Lesson 1/Slide 1 of 31 Objectives In this lesson, you will learn to: *Identify the components of the.NET.
Common Language Runtime Introduction  The common language runtime is one of the most essential component of the.Net Framework.  It acts.
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
July 22, 2001Introduction to.NET1 Introduction to.NET Framework Gholamali Semsarzadeh July 2001.
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
.NET Framework, CLR, MSIL, Assemblies, CTS, etc..
Just-In-Time Compilation. Introduction Just-in-time compilation (JIT), also known as dynamic translation, is a method to improve the runtime performance.
Intro to ASP.NET CS-422 Dick Steflik. What is.NET As applications in the Enterprise become more and more netcentric and less and less standalone.NET is.
Introduction to the Microsoft.NET Framework Chris Wastchak Student Ambassador to Microsoft.
Computer System Structures
.NET Framework.
Introduction to .NET framework
.NET Omid Darroudi.
Introduction to Visual Basic 2008 Programming
Introduction to .NET Framework Ch2 – Deitel’s Book
CE-105 Spring 2007 Engr. Faisal ur Rehman
Introduction to .NET By : Mr. V. D. Panchal Content :
DOT NET ARCHITECTURE (OR) DOT NET FRAME WORK ARCHITECTURE
Presentation transcript:

History of.Net Introduced by Microsoft Earlier technology was VC++ and VB VC++ comes with so many library and VB was so easy to use and not flexible to develop a serious application Good competition from Sun’s java and j2ee.Net resolved all this problem

.Net Application Window based application Web based application Console Application Web Services In Web Services, software functionality becomes exposed as a service

Framework, Languages, And Tools Base Class Library Common Language Specification Common Language Runtime ADO.NET: Data and XML VBVC++VC# Visual Studio.NET ASP.NET: Web Services and Web Forms JScript… Windows Forms

.Net Framework A component that provides facility to build and run an application Intermediate layer between OS and Programming Language Not an OS, Not a Language Supports many programming languages, including VB.NET, C# etc Operating System + Hardware.NET Framework.NET Application

.Net Framework Cont…  Two main part of.Net Framework o Common Language Runtime o Base class library

Common Language Runtime (CLR) Runtime execution environment Manage and execute code written in any.net language Runtime is an agent that manages code at execution time, providing core services such as memory management, thread management while also enforcing strict type safety and other forms of code accuracy.

CLR Execution Model

MSIL or IL (Platform Independence) Microsoft intermediate language(MSIL) or Intermediate language(IL) is independent of programming language, targeting machine and OS Process of Traditional compiler Source code Machine code Platform dependent Compiler targeting.Net Source code MSIL Machine Code Platform independent Compiled Execute

MSIL or IL (Platform Independence) The MSIL code includes the instructions to load, initialize and invoke methods on Objects It also includes the instructions for various operations on programs code such as arithmetic and logical operations, control flow, exception handling

Comparison to Java Hello.javaHello.classJVM compileexecute Source codeByte code Hello.vbHello.exeCLR compileexecute CIL Source code

Base Class Library(BCL) Also referred as Framework Class Library(FCL) It is library of classes available to all languages using.NET framework It provides classes, which encapsulate a no. of common function, including file reading & writing, graphic rendering, DB interaction & XML document manipulation.

ADO.NET It is a set of computer software components It is use to access data and data services It is a part of BCL Consists of 2 parts :- Data Provider – Connection, Parameter, Data Adapter, Data Reader Dataset

Web Services Web Services provide data and services to other applications. Web services are small units of code Benefits of Web Services Easier to communicate between applications Easier to reuse existing services Easier to distribute information to more consumers Rapid development

Common Language Specification (CLS) CLS is the collection of the rules and constraints that every language (that seeks to achieve.NET compatibility) must follow. CLS is nothing but guidelines that language to follow so that it can communicate with other.NET languages in a seamless manner It is a subset of the CTS

Common Language Specification (CLS) Microsoft defined 3 levels of CLS :- Compliant Provider Consumer Extender

CLR Important component of.Net Framework Supervise the execution of a.Net Program by providing various properties and controls in the areas of memory management, security, exception handling The CLR manages the execution of the code therefore the code that works on the CLR is called the managed code.

Architecture of CLR Base Class Library Support Thread Support Type CheckerException Manager SecurityDebug Engine JIT CompilerCode ManagerGarbage Collector Class Loader

Architecture of CLR Cont… Class loader: Manage and loading layout of class JIT compiler: Converts MSIL to native code Code manager: Manages code execution Garbage Collector: Handle automatic Memory management Security engine: It provides security based on policies and permissions that allow execution of mistrusted code to run in secure environment so they do not cause any problems. It will grant full access to trusted code.

Architecture of CLR Cont… Debug Engine: Allow to debug an application and trace the execution of code Type Checker: Type checker will verify types used in the application with CTS or CLS standards supported by CLR Exception Manager: Handles Errors at runtime using try.. catch..finally blocks. Thread Support: Enable multi-threaded programming

Architecture of CLR Cont… The CLR is composed of 5 primary parts: Common Type System(CTS) Common Language Specification(CLS) Common Intermediate Language(CIL) Just-In-Time Compiler(JIT) Virtual Execution System(VES)

The Common Type System (CTS) is a standard that specifies how Type definitions and specific values of Types are represented in computer memory. It is intended to allow programs written in different programming languages to easily share information For example, an integer variable in C# is written as int, whereas in Visual Basic it is written as integer. Therefore in.Net Framework you have single class called System.Int32 to interpret these variables Common Type System(CTS)

It defines how to declare, use and manage type in CLR and support cross language integration (code written in one language can interact with the code written in another language that provides Language independence) Types classified into two categories Value Type Reference Type

Common Intermediate Language(CIL) CIL is a CPU- and platform- independent instruction set It is low-level(machine) language, like Assembler, but is object-oriented CIL code is verified for safety during runtime Provides better security and reliability When the code is executed, the platform-specific VES will compile the CIL to the machine language according to the specific hardware CIL is passed through the Common Language Runtime’s JIT compiler to generate native code The native code is executed by the computer’s processor

Just-In Time(JIT) Compiler Convert the IL into machine code JIT compilation provides runtime type-safety & assembly verification To accomplish this, the JIT compiler examines the assembly metadata Offers better performance than interpreters as the compiled code is stored in memory cache at runtime Subsequent recompilation or reinterpretation of compiled code can be skipped Also giving flexibility to automatically recompile & optimize code that is found at runtime to be frequently executed

Virtual Execution System(VES) The VES provides an environment for executing managed code It provides the support required to execute the Common Intermediate Language Instruction Set

Managed Code Code running under control of CLR means code that is executed by CLR Represents programming code in the low level language MSIL The binary code is stored in a portable executable (PE) file It is created during compilation of the Program It contains definition of each type, signatures of data members in code, detail information about members in a code Allows integration between components and data types of different programming languages.

Managed Code Managed code is computer program code that executes under the management of a virtual machine, unlike unmanaged code, which is executed directly by the computer's CPU. The benefits of managed code include programmer convenience and enhanced security guarantees. Managed code is designed to be more reliable and robust than unmanaged code, examples are Garbage Collection, Type Safety etc

Benefits of.Net Framework Consistent Programming Model Provides Object Oriented programming model to create programs for performing different tasks Cross-Platform Support Any Windows platform that supports CLR can execute.Net Application Language Interoperability Enables code written in different languages to interact with each other

Benefits of.Net Framework Automatic Management of resources Do not need to manually free the application resources, such as files, memory, network and Database connection Ease of Deployment