Microsoft.NET Framework Overview Abidi Mahmoud Seminarium on Component -based Software Engineering.

Slides:



Advertisements
Similar presentations
Unit 1: Overview of the Microsoft.NET Platform
Advertisements

1 Unit 1: Introduction To.Net. 2 Introduction to.Net Integrated Development Environment (IDE) Languages in the.NET Framework The Common Language Runtime.
Introduction to .NET Framework
.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
SSCLI (Shared Source Common Language Infrastructure) (code name: Rotor)
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.
Developing with the.NET Framework Rob Howard Program Manager.NET Framework Team Microsoft Corporation.
Distributed Information Systems
Henrico Dolfing Business Segment Partners. Océ Document Technologies GmbH2 June, NET Framework Version 3.0.
.NET Technology.
Introduction. What is.Net? The hype: “Microsoft.Net is a set of Microsoft software technologies for connecting information, people, systems, and devices.
.Net Overview Giuseppe Attardi Università di Pisa.
Microsoft.NET Overview.NET Framework Topics Dave Schmitt Principal Technology Specialist Microsoft Corporation
DEV200.NET Framework Overview Chris Anderson Software Architect,.NET Client Microsoft Corporation.
Thursday Evening 6.30VB.NET Introduction 7.30Break for food 8.00VB.NET Migration 8.45Q & A 9.00Done.
DEV345 Comparing.NET and Java David Chappell Principal Chappell & Associates
Module 1: Overview of the Microsoft.NET Framework.
SQL Server 2005 CLR Integration ADO.NET 2.0 Mike Taulty
Microsoft.NET Framework Overview Svetlin Nakov Software Development Consultant, Part-time Computer Science Lecturer Sofia University “St. Kliment Ohridski”
Platforms and tools for Web Services and Mobile Applications Introduction to.Net Bent Thomsen Aalborg University 3rd and 4th of June 2004.
Developing International Applications for Mobile Devices with.NET Achim Ruopp International Program Manager Microsoft Corporation.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Rajeswari Indupuri Introduction to.NET Framework.
Using.NET Skills To Build Mobile Applications In Compact Framework Punit Shah Technical Lead | Microsoft |
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.
1 NIIT, South Ex. 2  Introduction to.NET  Web Services  The.NET Framework  Common Language Runtime  Windows Forms  Web Forms  ADO.NET  Languages.
Overview of.NET Framework Carlotta Eaton Associate Professor of IST New River Community College Dublin, VA Slides created by Microsoft Modified by Carlotta.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
Introduction to .Net Framework
Visual Studio.NET and.NET Compact Framework Application Development Mike D. Smith Group Program Manager Developer Division Microsoft Corporation.
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
.NET Overview. 2 Objectives Introduce.NET –overview –languages –libraries –development and execution model Examine simple C# program.
.NET Framework & C#.
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.
Introduction to .NET Rui Ye.
 Internet providing backbone for applications  Use of several web sites and devices to provide one complete solution  Software as services  Quick software.
Understanding Code Compilation and Deployment Lesson 4.
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.
Module 1: Overview of the Microsoft.NET Platform.
.NET O VERVIEW Introduction to.NET Web Services The.NET Framework Common Language Runtime Windows Forms Web Forms ADO.NET Languages.
CS795/895: Introduction. Topics Distributed Systems –Availability –Performance –Web Services Security –Authentication –Authorization –Confidentiality.
What is.NET? CS 351 Ed Gellenbeck. Today What is.NET? What Problems Does.NET Solve? What are.NET Framework Components?
.Net Framework Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours
.NET Framework Danish Sami UG Lead.NetFoundry
1 Hammad Khan. COURSE CONTENTS.NET Framework And C# SQL Server 2008 ADO.NET LINQ ASP.NET Dynamics Data ASP.NET MVC framework 2 Advance C# Concepts Windows.
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.
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
So what is.NET? .NET is a platform that provides a standardized set of services.  It’s just like Windows, except distributed over the Internet.  It.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Localization Support in Microsoft.NET Framework François Liger Program Manager Microsoft Corporation.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
.NET Ying Chen Junwei Chen. What is Microsoft.NET. NET is a development platform Incorporated into.NET COM+ component services ASP web development framework.
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.
Introduction to.NET Technology Overview Sean Puffett Developer & Platform Group Microsoft Ltd
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
COMP Week 9 Chunbo Chu. So what is.NET?.NET is a platform that provides a standardized set of services. A new framework for developing web-based.
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.
Introducing the Microsoft® .NET Framework
An Introduction to the Shared Source Common Language Infrastructure (SSCLI) Damien Watkins Copyright Watkins 2002.
Mobile Application Development 2005 By Sam Nasr July 25, 2006
Module 10: Implementing Managed Code in the Database
.NET Framework Design Goals
Presentation transcript:

Microsoft.NET Framework Overview Abidi Mahmoud Seminarium on Component -based Software Engineering

.NET Enterprise Vision Scheduling Authentication Notification ERP & Billing Customer Operations Sales Supply Engineering Customer Service Plant Operations Users Any device, Any place, Any time Roles/Experiences Get the right info To the right user At the right time XML Web Services Integrate and orchestrate business applications and processes Back Office Heterogeneous application and server infrastructure

What is.NET? A generic term for the MS vision A generic term for the MS vision –The successor to WinDNA –Sometimes applied to product names »Such as Windows.NET Server A specific software framework A specific software framework –Includes a common runtime »Common across OS and dev language –Includes baseline dev tools in an SDK –Includes powerful dev environment »Visual Studio.NET

.NET Framework Standard programming platform Common programming language Common programming language –C# “C Sharp” –Standardized as ECMA-334 –Similar to Java (simplified C++) Common Language Infrastructure (CLI) Common Language Infrastructure (CLI) –Standardized as ECMA-335 –Defines classes, types, and techniques –Internationalization (I18N) support

The structure of the.NET Framework VB ASP.NET ADO.NET and XML Common language specification (CLS) Common language runtime (CLR) COM+ services.NET Framework classes Windows J#... J#... C# Web Forms XML Web services Windows Forms System services Win32 API and COM+ services

The structure of the.NET Framework VB ASP.NET ADO.NET and XML Common language specification (CLS) Common Language Runtime (CLR) COM+ services.NET Framework classes Windows J#... J#... C# Web Forms XML Web services Windows Forms Microsoft implimentation of CLI and support for COM and platform interoperation

What is the CLR? CLR = Common Language Runtime CLR = Common Language Runtime –Microsoft’s implementation of CLI (ECMA 335) »For Windows environments –Plus extensions for Windows »Wintel PC, Wintel server, WinCE, WinXPE, … –Most extensions are in the class library »CLI-compliant code runs on CLR

What is the CLI? CLI = Common Language Infrastructure CLI = Common Language Infrastructure –Language-neutral platform –Provides a specification for executable code and the execution environment in which it runs –Executable code is presented to the VES as modules. –CLI comprise the specification of : »Execution engine (loader,JIT,garbage- collecting) »Common Type System (CTS) »Common Language Specification (CLS)

Common Type System (CTS) Types describe values and specify a contract that all values of that type shall support. CTS supports (OOP) as well as functional and procedural PL – –Values are simple bit patterns for things like integers and floats…; – –Objects Each object is self-typing, that is, its type is explicitly stored in its representation.

Common Language Specification (CLS) The CLS is a set of rules that apply to generated assemblies. The CLS is an agreement between language designers and framework (that is, class library) designers. The CLS is an agreement between language designers and framework (that is, class library) designers. The CLS specifies a subset of the CTS and a set of usage conventions. The CLS specifies a subset of the CTS and a set of usage conventions. For more info… For more info… – –

CLR Features All code is compiled, not interpreted All code is compiled, not interpreted –Assemblies are deployed in intermediate language (IL, also called CIL or MSIL) –Converted to native machine code at run time (via JIT compiler) Static code management Static code management –Versioning, localizing, and signing –Configurable assembly resolver –Global assembly cache (GAC) Dynamic code management Dynamic code management –Memory allocation with garbage collection –Lifecycle management via reference tracking –Thread pooling

CLR Features Fine-grained code access security Fine-grained code access security –Augments OS security –Ensures that code only performs operations allowed by policies set by user or administrator –Based on code source, publisher signature, and other evidence Flexible remoting Flexible remoting –Includes XML/SOAP and binary –Remoting model is easily extended –Integrates with web services

CLR Internals Class Loader IL to Native CompilersCodeManagerGarbageCollector Security Services Debug Services Type Checker Exception Manager Thread Manager COM Marshaler Base Class Library

Assemblies( CLI deployment units ) Set of files in a derectory Set of files in a derectory –It can be single or multi file Assemblies are composed of Assemblies are composed of –Manifest »Metadata that describes the assemblies –Metada »Machine-readable information about a resource »In.NET metadata includes type definition, version information, external assemby references –Code IL » Code that CLR executes at runtime

Global Assembly Cache GAC = database of shared assemblies GAC = database of shared assemblies Each assembly must have strong name Each assembly must have strong name –Similar to GUID, but much more detailed –Includes text name, version, culture, digital signature, and public key –Keys created by SN (strong name) utility –Nobody can use your names because they are based on your private key GAC assemblies can only refer to other strong- named assemblies GAC assemblies can only refer to other strong- named assemblies

CLR and Classic Runtimes

Execution Code Metadata Compilation & Execution Compilation Before installation or the first time each method is called JIT Compiler NativeCode Source Code Language Compiler Assembly Unit of deployment, similar to DLL or EXE with added metadata Saved in cache An assembly can also be pre-compiled as part of deployment

The structure of the.NET Framework VB ASP.NET ADO.NET and XML Common language specification (CLS) Common Language Runtime (CLR) COM+ services.NET Framework classes Windows J#... J#... Provide classes that can be called from any.NET- enabled PL C# Web Forms XML Web services Windows Forms Frameworks make use of sealed classes(do not permit any subclassing)

Framework Foundation System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design Data (Dataset) SQLTypes SQL XPath XSLT Runtime InteropServices Remoting Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.WinForms DesignComponentModel Reader/Writers DOM Drawing

Framework support (configuration,globalization, and management) System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design Data (Dataset) SQLTypes SQL XPath XSLT Runtime InteropServices Remoting Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.WinForms DesignComponentModel Reader/Writers DOM Drawing

Framework support (platform acces and COM interoperation) System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design Data (Dataset) SQLTypes SQL XPath XSLT Runtime InteropServices Remoting Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.WinForms DesignComponentModel Reader/Writers DOM Drawing

Framework support (I/O, messaging, remoting, and serialization) System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design Data (Dataset) SQLTypes SQL XPath XSLT Runtime InteropServices Remoting Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.WinForms DesignComponentModel Reader/Writers DOM Drawing

Framework support (debugging, compilation, and code generation) System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design Data (Dataset) SQLTypes SQL XPath XSLT Runtime InteropServices Remoting Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.WinForms DesignComponentModel Reader/Writers DOM Drawing

Framework support ( web protocol, web sever acces,and XML standards,…) System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design Data (Dataset) SQLTypes SQL XPath XSLT Runtime InteropServices Remoting Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.Windows.Forms DesignComponentModel Reader/Writers Run Time DOM Drawing (subset)

Framework support (component classes, web server support… ) System System.DataSystem.Xml System.Web Globalization Text Security Collections Resources Reflection Net IO Threading Diagnostics ServiceProcess Configuration Design Data (Dataset) SQLTypes SQL XPath XSLT Runtime InteropServices Remoting Serialization ConfigurationSessionState CachingSecurity Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Text Printing System.Windows.Forms DesignComponentModel Reader/Writers Run Time DOM Drawing (subset)

The structure of the.NET Framework VB ASP.NET ADO.NET and XML Common language specification (CLS) Common Language Runtime (CLR) COM+ services.NET Framework classes Windows J#... J#... ADO.NET is a set of classes that provide data access support for the.NET Framework C# Web Forms XML Web services Windows Forms ADO.NET is based on ADO but is designed to work with XML and to work in a disconnected environment

The structure of the.NET Framework VB ASP.NET ADO.NET and XML Common language specification (CLS) Common Language Runtime (CLR) COM+ services.NET Framework classes Windows J#... J#... C# Web Forms XML Web services Windows Forms ASP.NET Including Web Forms And XML Web services Traditional client application that use windows Forms

The structure of the.NET Framework VB ASP.NET ADO.NET and XML Common language specification (CLS) Common Language Runtime (CLR) COM+ services.NET Framework classes Windows J#... J#... C# Web Forms XML Web services Windows Forms CLS set of rules that a CLS-compliant language needs to follow Language that follow the CLS C#, VB, J# …

Classic MS languages VB – gains many OO features VB – gains many OO features VC++ – gains managed code features VC++ – gains managed code features VJ# – replaces VJ++ (not J2EE) VJ# – replaces VJ++ (not J2EE) C# – new language C# – new language

C# (C Sharp) Overview C# is a new language, crafted specifically to work well within the.NET Framework C# is a new language, crafted specifically to work well within the.NET Framework C# do not support C# do not support –Templates –Multiple Inheritance –Global Functions –Preprocessor Macros C# support C# support –Operator Overloading –…

Summary.NET Framework provides….NET Framework provides… –Common platform for all.NET languages –Sophisticated code management –Fine-grained security.NET Framework fixes….NET Framework fixes… –Object life-cycle problems, especially COM –Weak support for enterprise features »COM+, WMI, MSMQ, … –DLL hell and other deployment problems

???