Introduction to.NET. What is.NET? Microsoft’s vision of the future of applications in the Internet age –Increased robustness over classic Windows apps.

Slides:



Advertisements
Similar presentations
What is.Net Gary Devendorf. .Net Framework.Net framework works like the Domino Objects only much lower level and very complete It is part of the OS (or.
Advertisements

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.
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.
.NET Framework Overview Pingping Ma Nov 16 th, 2006.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
.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.
Overview of the.NET Framework. What is the.NET Framework A new computing platform designed to simplify application development A consistent object-oriented.
ISYS 512 Business Application Design and Development with.Net David Chao.
Introducing the Common Language Runtime for.NET. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution.
Introducing the Common Language Runtime. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution engine.
DotNET A Developer’s Perspective Mike Litzkow University of Wisconsin - MadisonOne.
Introduction to.NET. What is.NET? Microsoft’s vision of the future of applications in the Internet age –Increased robustness over classic Windows apps.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Rajeswari Indupuri Introduction to.NET Framework.
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.
CSCI 3327 Visual Basic Chapter 1: Introduction to Visual Basic
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
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.
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
Introduction to Visual Studio.NET Pradeep K. Shah
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.
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.
Introduction to .NET Framework
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
.NET Framework Overview
Introduction .NET Framework
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,
.NET Language Supports. .NET Language Support Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Web Forms Web Services.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Introduction to Computers and Programming.
Component-Based Software Engineering Introduction to.NET Paul Krause.
Mono Update. Miguel de Icaza
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.
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
1 CHAPTER I.NET FRAMEWORK AND VB.NET. 2 VB.NET INTRODUCTIONINTRODUCTION EVOLUTION OF THE.NET FRAMEWORKEVOLUTION OF THE.NET FRAMEWORK OVERVIEW OF THE.NET.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
Key Components of.NET Framework  Common Language Runtime  CLR at Design time  CLR at Runtime  Class Library  Assemblies  Namespaces  ASP.NET  Applications.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
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.
ISYS 512 Business Application Design and Development with.Net David Chao.
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.
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..
Introduction to Programming Visual Basic.NET CS A109.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
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.
Introduction to .NET Framework
Lecture 1: The .NET Architecture
Introduction to .NET framework
Application Foundation
Module 1: Getting Started
Introduction to .NET By : Mr. V. D. Panchal Content :
Introduction to .NET Framework
Microsoft .NET Presentation
Presentation transcript:

Introduction to.NET

What is.NET? Microsoft’s vision of the future of applications in the Internet age –Increased robustness over classic Windows apps –New programming platform –Built for the web.NET is a platform that runs on the operating system

.NET Sits on top on the OS (currently all the Windows 9x, NT, ME & XP; subset exists for FreeBSD and Linux) –About 20MB download Provides language interoperability across platforms Strong emphasis on Web connectivity, using XML web services to connect and share data between smart client devices, servers, and developers/users Platform/language independent

History Development began in 1998 Beta 1 released Oct, 2000 Beta 2 released July, 2001 Finalized in Dec, shipping in Feb 2002 SDK and Visual Studio.NET (includes SDK) run on Windows NT 4.0, 2000, and XP Redistribution Pack (runtime) runs on Windows 98, NT 4.0, 2000, ME, and XP Framework now ships with Windows.NET Server (mid-2002) and future versions of XP and beyond

.NET Overview Three main elements: –The Framework (CLR, FCL, ASP, WinForms) –The Products (Windows, Visual Studio, Office) –The Services (My Services) Framework Goals –Improved reliability and integrated security. –Simplified development and deployment. –Unified API, multi-language support. XML is the.NET “Meta-Language”. All MS server products eventually.NET-enabled.

.NET Framework Framework Class Library ADO.NET Network XML Security Threading Diagnostics IO Etc. Common Language Runtime Memory Management Common Type SystemLifecycle Monitoring C# VB.NET C++.NET Other Operating System VisualStudio.NETVisualStudio.NET Common Language Specification Windows Forms ASP.NETASP.NET Web Services ASP.NET Application Services Web FormsControlsDrawing Windows Application Services

Common Language Runtime A runtime provides services to executing programs –Standard C library, MFC, Visual Basic Runtime, JVM CLR provided by.NET manages the execution of code and provides useful services –Memory management, type system, etc. –Services exposed through programming languages C# exposes more features of the CLR than other languages (e.g. VB.NET)

.NET Framework Class Library Framework – you can call it and it can call you Large class library –Over 2500 classes –Major components Base Class: Networking, security, I/O, files, etc. Data and XML Classes Web Services/UI Windows UI

Framework Libraries Web Services –Expose application functionalities across the Internet, in the same way as a class expose services to other classes. –Each Web service can function as an independent entity, and can cooperate with one another. –Data described by XML. ASP.NET –Replacement for the Active Server Technology. –Web Forms provide an easy way to write interactive Web applications, much in the same way as “normal” Windows applications.

Framework Libraries Provides facilities to generate Windows Graphical User Interface (GUI) client applications easily Form-oriented Standard GUI components –buttons, textboxes, menus, scrollbars, etc. Event-handling

Common Language Specification CLS is a set of rules that specifies features that all languages should support –Goal: have the.NET framework support multiple languages –CLS is an agreement among language designers and class library designers about the features and usage conventions that can be relied upon Example: public names should not rely on case for uniqueness since some languages are not case sensitive This does not mean all languages are not case sensitive above the CLR!

Some.NET Languages C# COBOL Eiffel Fortran Mercury Pascal Python SML Perl Smalltalk VB.NET VC++.NET J#.NET Scheme …. More are planned or under development

VB.NET and C# VB.NET introduces long sought-after features: –Inheritance –Parameterized Class Constructors –Function Overloading –Multi-Threading –Structured Error Handling –Creating NT Services VB.NET not backward compatible with VB6. VB6 will be supported until the third release of VB.NET (4-5 years away). C# –New modern, object-oriented language –Similar to C++/Java –Considered the most powerful language of.NET

.NET: Language-Independent, Platform- Specific Person.vb Address.cs Company.cbl CLR Person MSIL Company MSIL Address MSIL Windows Others? CLR Deploy (Visual Basic) (C#) (Cobol)

.NET Notes.NET built into Windows; running an executable invokes the CLR automatically (as opposed to Java) Being newer,.NET adds improvements such as native XML support, new features to CLR Over ten million C++, VB developers (7 million VB developers?) Today, most development and deployment is Windows

Do you have to use Windows? Plans for other releases Today there exists “Rotor”, the Shared Source Common Language Infrastructure (SSCLI) –Runs on Linux and FreeBSD –Started as “Project 7” with Academic Microsoft Research –With universities and programming language researchers, developed several languages for the CLR

SSCLI aka Rotor Implements a subset of.NET –The CLR and ECMA Standards Shared Source License Download from 12 MB tar of src, 4 MB tar of docs –Complete source, intended for researchers, students, programming language designers –1.9 million lines of source code 1.1 million lines of C++ 600k lines of C# 125k IL Assembler Assembler –5,900 source files –9700 files in total Compiles and run on FreeBSD, Linux, Windows XP, Max OSX 10.2

Common Language Runtime The CLR is at the core of the.NET platform - the execution engine The CLR provides a “Managed Execution Environment”. Manages the execution of code and provides services that make development easier (like Java Virtual Machine) Code that relies on COM and the Win32 API is “Un- Managed Code” (e.g. built with Visual Studio 6.0, VB6) Code developed for a compiler that targets this platform is referred to as “Managed Code” (e.g. code developed in VB.NET … C# allows Managed and Unmanaged)

Simple Application Deployment Unlike COM, no “plumbing” code needed to connect separate components –Components can be developed in different programming languages 2500 classes to reuse Automatic garbage collection Memory is managed –Common bugs like memory leaks, buffer overruns are not possible (if using 100% managed code)

Multiple Languages Common Type System makes interoperability seamless between languages Class in one language can inherit from a class in another language Exceptions can be thrown across languages Makes it easier to learn a new.NET language since the same tools and classes are in place Can debug across languages

The Common Type System At the core of the Framework is a universal type system called the.NET Common Type System (CTS). Everything is an object - but efficient –Boxing and Unboxing All types fall into two categories - Value types and Reference types. –Value types contain actual data (cannot be null). –Reference types contain the memory address of an object stored in memory Language compilers map keywords to the primitive types. For example, a C# “long” is mapped to System.Int32.

MSIL and JIT Compilation Source code is compiled into MSIL (Microsoft Intermediate Language). Similar to Java bytecodes - CPU-independent instructions MSIL allows for runtime type-safety and security, as well as portable execution platforms. The MSIL architecture results in apps that run in one address space - thus much less OS overhead. Compilers also produce “metadata” or glue that binds the code with debuggers, browsers, etc. –Definitions of each type in your code. –Signatures of each type’s members. –Members that your code references. –Other runtime data for the CLR.

Summary Soon we will study Visual Basic.NET (VB.NET) VB.NET does not exist in isolation but has a close connection with the.NET framework.NET –CLR a new, Java-like platform, but multi-language –Src  MSIL  JIT  Native Code –.NET framework includes many class libraries