Introduction to NET Rui Ye Agenda l l

  • Slides: 21
Download presentation
Introduction to . NET Rui Ye

Introduction to . NET Rui Ye

Agenda l l l l l What is Microsoft. NET The basic elements of.

Agenda l l l l l What is Microsoft. NET The basic elements of. NET What are Web services XML Web services basics What is. NET Framework Basic components of the. NET Framework Benefits of the. NET Framework Visual Studio. NET Comparing. NET with J 2 EE

What is Microsoft. NET l Microsoft. NET is a set of software technologies for

What is Microsoft. NET l Microsoft. NET is a set of software technologies for connecting information, people, systems, and devices. This new generation of technology is based on Web services--small building-block applications that can connect to each other as well as to other, larger applications over the Internet.

The basic elements of. NET l l Smart Clients Web Services Servers Developer tools

The basic elements of. NET l l Smart Clients Web Services Servers Developer tools

What are Web services l l The foundation of. NET is Web services allow

What are Web services l l The foundation of. NET is Web services allow applications to share data. Web services are discrete units of code; each handles a limited set of tasks. They are based on XML, the universal language of Internet data exchange, and can be called across platforms and operating systems, regardless of programming language.

XML Web services basics l SOAP---Simple Object Access Protocol. WSDL---Web Services Description Language l

XML Web services basics l SOAP---Simple Object Access Protocol. WSDL---Web Services Description Language l UDDI---Universal Discovery Description and Integration l

XML Web Services basics (cont. ) Open Internet Protocol XML Web service n UDDI

XML Web Services basics (cont. ) Open Internet Protocol XML Web service n UDDI – The Yellow Page of Web service UDDI n WSDL – Describe Web service’s interfaces in enough detail WSDL n SOAP– If XML represent the basic language, SOAP is the grammar. SOAP n Base on open Internet protocol XML and HTTP

What is. NET Framework l The. NET Framework is an important new component of

What is. NET Framework l The. NET Framework is an important new component of the Windows family of operating systems. It is the foundation of the next generation of Windows-based applications that are easier to build, deploy, and integrate with other networked systems.

What is. NET Framework (cont. ) VB C++ C# JScript … Common Language Specification

What is. NET Framework (cont. ) VB C++ C# JScript … Common Language Specification Web Forms Windows Forms Data and XML Base Class Library CLR Visual Studio. NET XML Web services

Basic components of the. NET Framework The. Net Framework consists of two main parts:

Basic components of the. NET Framework The. Net Framework consists of two main parts: l l Common language runtime Provides the common services for. NET Framework applications. Over 27 languages supports today. . NET Framework class library(Three key components): ASP. NET; Windows Forms; ADO. NET.

CLR: Execution model Source code Managed code VB C# C++ Compiler Assembly IL Code

CLR: Execution model Source code Managed code VB C# C++ Compiler Assembly IL Code Common Language Runtime Native Code Operating System Services Unmanaged Component

. NET Framework class library l l l ASP. NET to help build Web

. NET Framework class library l l l ASP. NET to help build Web applications and Web services. Windows Forms to facilitate smart client user interface development. ADO. NET to help connect applications to databases.

. NET Framework class library (cont. )

. NET Framework class library (cont. )

Benefits of the. NET Framework l l l Helps IT professionals better integrate existing

Benefits of the. NET Framework l l l Helps IT professionals better integrate existing systems with its native support for Web services. Assists with deployment of software to both users and Web servers. Facilitates the development of software with improved reliability, scalability, performance, and security.

Benefits of the. NET Framework (cont. ) l Helps developers be more productive by:

Benefits of the. NET Framework (cont. ) l Helps developers be more productive by: 1. Making it easier for them to reuse existing code. 2. Enabling them to more easily integrate components written in any of the more than 20 supported programming languages. 3. Helping them more easily build software for a wide range of devices using same skills and tools.

Visual Studio. NET l Integrated Development Environment Ø Visual Basic. NET § Many language

Visual Studio. NET l Integrated Development Environment Ø Visual Basic. NET § Many language enhancements § Inheritance, Overloading, Free Threading Ø Visual C++ § Integration with. NET Framework with managed extensions (classes) Ø C# § New development language § Based on C/C++ with Garbage Collection/Memory Management

Visual Studio. NET Features l l l l l Single IDE for all Languages

Visual Studio. NET Features l l l l l Single IDE for all Languages Server Explorer Ø Event Viewer, Message Queues, Services Ø SQL Databases, Data Connection, Etc. Integrated IE Browser HTML/XML Editors Macros/Macro Explorer Solution Explorer Tabbed Documents Dynamic Help Common Forms Editor Ø VB. NET, C++, and C#

Comparing. NET with J 2 EE l l l . NET is a product,

Comparing. NET with J 2 EE l l l . NET is a product, Java and J 2 EE is a specification Both address the web (among other things) The rule-of-thumb “Java is platformindependent, ´. NET is language independent“ must be considered carefully: Ø Ø ECMA works on the standardization of C# and parts of. NET Other languages can be compiled to the JVM

Comparing. NET with J 2 EE l l Windows Applications are probably better done

Comparing. NET with J 2 EE l l Windows Applications are probably better done with. NET than Java should be used when platform -independence is necessary Java is more mature Both can be used for web services. NET is “ nicer“, J 2 EE is more scalable

Reference l l l Microsoft Corporation, 2002 MCAD/MCSD Self. Paced Training Kit: Developing Web

Reference l l l Microsoft Corporation, 2002 MCAD/MCSD Self. Paced Training Kit: Developing Web Applications with Microsoft Visual Basic. NET and Microsoft Visual C#. NET Microsoft Corporation, 2002 MCAD/MCSD Self. Paced Training Kit: Developing XML Web Services and Server Components with Microsoft Visual Basic. NET and Microsoft Visual C#. NET http: //www. microsoft. com/net http: //msdn. microsoft. com/net http: //www. voelter. de/data/presentations/J 2 EE _vs_NET_MV. ppt

Thanks Questions?

Thanks Questions?