Component-Based Software Engineering Introduction to.NET Paul Krause.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

.NET Framework Overview
Overview of.NET Prepared by: Xin,Lu.NET Seminar Aug.10, 2003.
.NET Framework Overview Pingping Ma Nov 16 th, 2006.
Introduction to.NET What is.NET?  A vision Web sites will be joined by Web services New smart devices will join the PC User interfaces will become more.
ISYS 512 Business Application Design and Development with.Net David Chao.
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.
ISYS 512 Business Application Design and Development with.Net David Chao.
Programming A Historic Perspective on Code Reuse Yingcai Xiao.
Introducing the Common Language Runtime for.NET. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution.
.NET’s CLR How does it really work? 7/2/20151Bhavani Sankar Ikkurthi CS 795 Presentation.
Introducing the Common Language Runtime. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution engine.
Code-Reuse A Historic Perspective Yingcai Xiao. Want to know? Why we have to write programs to run a computer? Why an error in a program is called a bug?
Windows Programming.NET Overview Yingcai Xiao. What is a Computer? From the Webster’s New World Dictionary: 1. A person who computes. 2. A device used.
Generation of WEB SERVICES Using PROGRAM SLICING RAVINDRA KUMAR SUDIP AKURA AMIT KUMAR BALKARAN SINGH SIDHU
Platforms and tools for Web Services and Mobile Applications Introduction to C# Bent Thomsen Aalborg University 3rd and 4th of June 2004.
Introduction to VB.Net ITE-370. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
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.
ISYS 350 Business Application Development
CSCI 3327 Visual Basic Chapter 1: Introduction to Visual Basic
Introduction to .Net Framework
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
ISYS 512 Business Application Design and Development with.Net David Chao.
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.
.NET Overview. 2 Objectives Introduce.NET –overview –languages –libraries –development and execution model Examine simple C# program.
Session 1 - Introduction and Data Access Layer
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.
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
.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.
Introduction to .NET Framework
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.
Computing with C# and the.NET Framework Chapter 1 An Introduction to Computing with C# ©2003, 2011 Art Gittleman.
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.
.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
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.
.Net – The First Glance What Is.Net, Why Use.Net.
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
ISYS 350 Business Application Development David Chao.
Module 3: Using Microsoft.NET- Based Languages. Overview Overview of the.NET-Based Languages Comparison of the.NET-Based Languages.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
Introduction to VB.Net ITE-370. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new.
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.
C# and.NET. .NET Architecture  Compiling and running code that targets.NET  Advantages of Microsoft Intermediate Language (MSIL)  Value and Reference.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
ISYS 512 Business Application Design and Development with.Net David Chao.
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,
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.
Suresh Ramachandran Duke Energy
.NET Omid Darroudi.
WEB SERVICES.
C# and the .NET Framework
Introduction to C# AKEEL AHMED.
Advanced Programming: C# Lecture 01: Introduction
.NET Overview Yingcai Xiao.
Presentation transcript:

Component-Based Software Engineering Introduction to.NET Paul Krause

Lecture 11 - Introducing.NET  Motivation  The.NET Framework  CLR  C#  Web Services  A.NET Scenario  Summing Up

Motivation  “.NET is a tectonic shift for Windows developers” David Chappell - Understanding.NET David Chappell - Understanding.NET .NET is Microsoft’s response to the: increasing power of client side processing increasing power of client side processing increasing use of the internet as an integral part of applications increasing use of the internet as an integral part of applications increasing threat of Java to Microsoft’s dominance increasing threat of Java to Microsoft’s dominance

What is.NET?  Hard to be concise - in effect.NET is a brand covering a range of technologies  Key core technology is Web services supports programmatic, rather than browser- based, access to Web applications supports programmatic, rather than browser- based, access to Web applications  Although not explicitly marketed as a component technology, the idea is to access Web services via well defined interfaces.NET components are referred to as “Assemblies”.NET components are referred to as “Assemblies”

Lecture 11 - Introducing.NET  Motivation  The.NET Framework  CLR  C#  Web Services  A.NET Scenario  Summing Up

The.NET Framework Windows Common Language Runtime (CLR).NET Framework Class Library ASP.NETADO.NETWindows Forms Enterprise Services More Browser Apps Web Services Apps Local Apps Other Apps

The Java Environment Windows, Solaris, Linux, … Java Virtual Machine (JVM) Standard Java Packages Java Server Pages JDBCSwingEnterprise JavaBeans More Browser Apps Web Services Apps Local Apps Other Apps

Lecture 11 - Introducing.NET  Motivation  The.NET Framework  CLR  C#  Web Services  A.NET Scenario  Summing Up

CLR  The Common Language Runtime (CLR) provides a “standard implementation” for a range of languages Primarily C#, J#, Managed C++, JScript.NET and VisualBasic.NET Primarily C#, J#, Managed C++, JScript.NET and VisualBasic.NET  Provides common set of data types: integers, strings, classes and interfaces integers, strings, classes and interfaces specification of how inheritance works specification of how inheritance works

CLR Services  Garbage collection  Standard format for metadata information about classes and interfaces (and other types) that is stored with the compiled code information about classes and interfaces (and other types) that is stored with the compiled code  Assemblies - a scheme for organising compiled code can consist of DLLs, EXEs and/or compiled classes can consist of DLLs, EXEs and/or compiled classes

Compiling and Running Code  Code from any of the supported languages is first compiled into MSIL Microsoft Intermediate Language Microsoft Intermediate Language  MSIL is CPU independent Metadata is also produced and stored in the same file as the MSIL Metadata is also produced and stored in the same file as the MSIL  MSIL must then be compiled into native code for the processor on which it is running

Compilation and Execution Source Code MSIL and Metadata Language Compiler Compilation Native Code JIT Compiler Execution First time each method is called

Lecture 11 - Introducing.NET  Motivation  The.NET Framework  CLR  C#  Web Services  A.NET Scenario  Summing Up

C#  Very similar to Java in many ways: Single inheritance Single inheritance Method overriding Method overriding Exception handling Exception handling Multithreading Multithreading Multiple implementation of interfaces Multiple implementation of interfaces  But also can directly access specific memory addresses can directly access specific memory addresses use of Goto statement use of Goto statement

C# using System; class MyFirstProg { public static void Main( string [ ], args ) { Console.WriteLine(“Hello Friends”); foreach (String s in args) { Console.WriteLine(“Hi ” + s); }}}

.NET Framework Class Library System Int32, String, … WebDataWindows Enterprise Services XML … XmlDocument ServicedComponent, … Forms … ServicesUI

Lecture 11 - Introducing.NET  Motivation  The.NET Framework  CLR  C#  Web Services  A.NET Scenario  Summing Up

Web Services  Allows software to be accessed programatically over the Web  XML to describe information sent to describe information sent  Web Services Description Language (WSDL) specify what services are available - operations are grouped into interfaces specify what services are available - operations are grouped into interfaces  Simple Object Access Protocol (SOAP) how to invoke operations in an interface how to invoke operations in an interface  Universal Description, Discovery and Integration (UDDI) standard registry for storing information about services standard registry for storing information about services

Lecture 11 - Introducing.NET  Motivation  The.NET Framework  CLR  C#  Web Services  A.NET Scenario  Summing Up

Internet A.NET Scenario Passport.NET Profile.NET Wallet SQL Server Billing Application Ordering Application BizTalk Server Shipping Application Intranet

Summing Up .NET is a significant response to J2EE  It is locked (for the moment) to the Windows platform  It does not have the maturity of J2EE  But there are some things (Web Services) that it does better  Whatever your preference, the competition is healthy