Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to .NET Rui Ye.

Similar presentations


Presentation on theme: "Introduction to .NET Rui Ye."— Presentation transcript:

1 Introduction to .NET Rui Ye

2 Agenda 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 J2EE Agenda:

3 What is Microsoft .NET 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. What Is .NET? .NET is a technology evolution built from the ground up for the Web. --It is not a bolt-on solution. It’s a new framework that can provide seamless integration of multiple applications and devices. It can be used to take advantage of the abundant computing and communications resources provided on the Internet to enable smart, service-aware systems and richer user experiences. .NET is based on standards and a unified programming model. Web standards are open and non-proprietary, they are built to be first-class constructs and they drive interoperability and integration of new existing systems. .NET is multi-language because it works in the language of your choice. XML Web services enable you to build and operate Web services that deliver software as a service. XML Web services are today’s best-of-breed business integration since they allow customer centricity in your business applications. Consistent programming model with the highest productivity tools. Visual Studio .NET is the next generation of the Microsoft Integrated Development Environment. Everyone who has been using Microsoft development tools will feel right at home with Visual Studio .NET. Lower total cost of ownership with reusable self-describing applications, no registry, robustness and security and simplified deployment. Note: There is a .NET runtime for Windows 98 and up. The development environment is Windows 2000 and up.

4 The basic elements of .NET
Smart Clients Web Services Servers Developer tools XML Web Service Demo Read script

5 What are Web services The foundation of .NET is Web services.
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 Service Demo Read script

6 XML Web services basics
SOAP---Simple Object Access Protocol. WSDL---Web Services Description Language UDDI---Universal Discovery Description and Integration XML Web Service Demo Read script

7 XML Web Services basics (cont.)
Open Internet Protocol XML Web service SOAP SOAP– If XML represent the basic language, SOAP is the grammar. WSDL WSDL – Describe Web service’s interfaces in enough detail Base on open Internet protocol XML and HTTP UDDI UDDI – The Yellow Page of Web service What Is An XML Web Service? 通过标准的 Web 协议(HTTP)可编程访问的WEB组件,或者说提供函数调用的WEB 站点。 优势: 真正的与平台无关; 采用W3C 标准; 没有防火墙的限制问题 更多的Web service slides A programmable application component accessible via standard Web protocols that provides a universal language for applications to talk to each other - XML Web services allow applications to communicate regardless of operating system or programming language via the Internet. They can be implemented on any platform and are defined through public standards organizations such as the W3C. And with XML Web services, not only can applications share data, but they can also invoke capabilities from other applications without regard to how other applications were built. Sharing data through XML allows them to be independent of each other while simultaneously giving them the ability to loosely link themselves into a collaborating group that performs a particular task. What is the difference between a Web site and an XML Web Service - Web sites are about presenting information to a user: they are the communication vehicle for servers to talk to users. XML Web services, on the other hand, offer a direct means for applications to interact with other applications. Applications hosted internally, as well as on remote systems, can communicate via the Internet by using XML and SOAP messages. XML Web services are built on standard Web protocols; HTTP and XML. The technology innovations for XML Web services: DISCO (Discovery) and UDDI (Universal Description, discovery, and Integration) - Standards for locating XML Web services SOAP (Simple Object Access Protocol) - Explicit serialization (HTTP + XML description) protocol used in service exchanges WSDL (XML Web services Description Language) - XML document describing the location and interfaces a particular service supports – the client's contract

8 What is .NET Framework 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.

9 What is .NET Framework (cont.)
Visual Studio .NET VB C++ C# JScript Common Language Specification Web Forms XML Web services Windows Forms Data and XML 对开发者而言的.NET.。 Inside the .NET Framework Based on Standards Microsoft .NET is built on standards. Both the Common Language Infrastructure, CLI and Visual C# have been submitted to the ECMA for approval and adoption. The data and Web services are built on XML and SOAP. .Net Framework supports Web standards: HTML- Hyper-Text Markup Language XML - Extensible Markup Language, the universal format for structured documents and data on the Web WSDL- Web Services Description Language (WSDL) SOAP - Simple Object Access Protocol, a simple, XML-based protocol for exchanging structured and type information on the Web. The protocol contains no application or transport semantics, which makes it highly modular and extensible XPATH - XML Path Language XSLT - The successor to Extensible Stylesheet Language (XSL), XSL Transformations (XSLT), is an XML-based language that enables you to transform one class of XML document to another Base Class Library CLR

10 Basic components of the .NET Framework
The .Net Framework consists of two main parts: 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.

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

12 .NET Framework class library
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.

13 .NET Framework class library (cont.)

14 Benefits of the .NET Framework
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.

15 Benefits of the .NET Framework (cont.)
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.

16 Visual Studio .NET 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

17 Visual Studio .NET Features
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#

18 Comparing .NET with J2EE .NET is a product, Java and J2EE is a specification Both address the web (among other things) The rule-of-thumb “Java is platform-independent,´.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

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

20 Reference Microsoft Corporation, MCAD/MCSD Self-Paced Training Kit: Developing Web Applications with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Microsoft Corporation, MCAD/MCSD Self-Paced Training Kit: Developing XML Web Services and Server Components with Microsoft Visual Basic .NET and Microsoft Visual C# .NET

21 Thanks Questions?


Download ppt "Introduction to .NET Rui Ye."

Similar presentations


Ads by Google