Upload
asdar22
View
9
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Computer Science
Citation preview
Dr. Nedzad Mehic, Fall 2006
CSCI 360CSCI 3601. 1. .NET Technology.NET Technology
2CSCI 360, Dr. Nedzad Mehic, Fall 2006
Microsoft. NETMicrosoft. NET
Presented by Microsoft officials to the rest Presented by Microsoft officials to the rest of the world in June 2000of the world in June 2000
.NET is Microsoft's new Internet and Web .NET is Microsoft's new Internet and Web strategy strategy
.NET is NOT a new operating system .NET is NOT a new operating system .NET is a new Internet and Web based .NET is a new Internet and Web based
infrastructure infrastructure
3CSCI 360, Dr. Nedzad Mehic, Fall 2006
Microsoft. NET (2)Microsoft. NET (2)
.NET delivers software as Web Services .NET delivers software as Web Services .NET is a framework for universal services .NET is a framework for universal services .NET is a server centric computing model .NET is a server centric computing model .NET will run in any browser on any .NET will run in any browser on any
platform platform .NET is based on the newest Web .NET is based on the newest Web
standardsstandards
4CSCI 360, Dr. Nedzad Mehic, Fall 2006
XML We ServicesXML We Services
XML Web services allow any type of application being Windows or browser-based application running on any type of computer system, to consume data from any type of server over Internet
5CSCI 360, Dr. Nedzad Mehic, Fall 2006
XML Service ModelXML Service Model
6CSCI 360, Dr. Nedzad Mehic, Fall 2006
NET Internet StandardsNET Internet Standards.NET is built on the following Internet .NET is built on the following Internet
standards:standards: HTTP, the communication protocol HTTP, the communication protocol
between Internet Applications between Internet Applications XML, the format for exchanging data XML, the format for exchanging data
between Internet Applications between Internet Applications SOAP, the standard format for requesting SOAP, the standard format for requesting
Web Services Web Services UDDI, the standard to search and discover UDDI, the standard to search and discover
Web Services Web Services
7CSCI 360, Dr. Nedzad Mehic, Fall 2006
.NET Parts
The .NET framework Software The .NET framework Software Development KIT, a set of classes and Development KIT, a set of classes and interfaces. The .NET framework must interfaces. The .NET framework must be installed on any system that will be be installed on any system that will be used to run .NET applicationsused to run .NET applications
The Visual Studio development The Visual Studio development environmentenvironment
8CSCI 360, Dr. Nedzad Mehic, Fall 2006
..NET Framework The .NET Framework is a common The .NET Framework is a common
environment for building, deploying, and environment for building, deploying, and running Web Services and Web running Web Services and Web Applications.Applications.
The .NET Framework contains common The .NET Framework contains common class libraries such as ADO.NET, class libraries such as ADO.NET, ASP.NET and Windows Forms ASP.NET and Windows Forms -- to provide to provide advanced standard services that can be advanced standard services that can be integrated into a variety of computer integrated into a variety of computer systems.systems.
9CSCI 360, Dr. Nedzad Mehic, Fall 2006
MSIL or IL
When you compile your application in When you compile your application in .NET, you aren.NET, you arent creating anything in t creating anything in native code. native code.
When you compile in .NET youWhen you compile in .NET youre re converting your code (no matter what converting your code (no matter what .NET language you.NET language youre using) in code of an re using) in code of an intermediate language called Microsoft intermediate language called Microsoft Intermediate LanguageIntermediate Language--MSIL or just IL.MSIL or just IL.
10CSCI 360, Dr. Nedzad Mehic, Fall 2006
IL and PE IL contains all info about your application,
including methods, properties, events, types, exceptions, security objects. The format of IL is called Portable Executable-PE.
When u user executes your code, a process Just-in-time-JIT compilation where IL is converted into the specific machine language.
11CSCI 360, Dr. Nedzad Mehic, Fall 2006
The JIT Process and VerificationThe JIT Process and Verification
12CSCI 360, Dr. Nedzad Mehic, Fall 2006
CLR, CLS, and CTS
When the code is LIT compiled, the Common Language Runtime-CLR checks to make sure that the IL is correct.
The rules the CLR uses for verification are set forth in the Common Language Specification-CLS and Common Type System-CTS.
13CSCI 360, Dr. Nedzad Mehic, Fall 2006
.NET Framework.NET Framework
The .NET Framework is an environment for building, deploying, and running Web Services and other applications.
It consists of three main parts: the Common Language Runtime, the Framework classes, and ASP .NET. .
14CSCI 360, Dr. Nedzad Mehic, Fall 2006
.NET Framework (2).NET Framework (2)
The .NET Framework is language neutral. Currently it supports C++, C#, Visual Basic, JScript (MS version of JavaScript) and COBOL.
Third-party languages: Eiffel, Perl, Python, Smalltalk, and others - will also be available for building future .NET Framework applications.
15CSCI 360, Dr. Nedzad Mehic, Fall 2006
..NET Framework (3)
The most visual components of the new .NET framework are the new Internet Information Server 6.0, with ASP.NET and ADO.NET support, Visual Studio.NET software tools to build Web-based software, and new XML support in the SQL Server database.
16CSCI 360, Dr. Nedzad Mehic, Fall 2006
.NET Software.NET SoftwareWindows.NET
Windows 2000 and Windows XP form the backbone of .NET.
ASP.NET Visual Studio.NET Visual Basic.NET SQL Server 2000/2005 Internet Information Services 6.0
17CSCI 360, Dr. Nedzad Mehic, Fall 2006
Visual Studio.NETVisual Studio.NET
The new Visual Studio.NET is a common The new Visual Studio.NET is a common development environment for the new development environment for the new .NET Framework. .NET Framework.
It provides a featureIt provides a feature--rich application rich application execution environment, simplified execution environment, simplified development and easy integration development and easy integration between different development between different development languages.languages.
18CSCI 360, Dr. Nedzad Mehic, Fall 2006
XML Based Web ProtocolsXML Based Web Protocols Web services use the standard web protocols Web services use the standard web protocols
HTTP, XML, SOAP, WSDL, and UDDI.HTTP, XML, SOAP, WSDL, and UDDI.
HTTPHTTP HTTP (Hypertext Transfer Protocol) is the World HTTP (Hypertext Transfer Protocol) is the World
Wide Web standard for communication over the Wide Web standard for communication over the Internet. HTTP is standardized by the World Internet. HTTP is standardized by the World Wide Web Consortium (W3C).Wide Web Consortium (W3C).XMLXML
XML (XML (eXtensibleeXtensible Markup Language) is a well Markup Language) is a well known standard for storing, carrying, and known standard for storing, carrying, and exchanging data. XML is standardized by the exchanging data. XML is standardized by the W3C.W3C.
19CSCI 360, Dr. Nedzad Mehic, Fall 2006
XML ExampleXML Example
ToveToveJaniJaniReminderReminder
Don't forget me this weekend!Don't forget me this weekend!
20CSCI 360, Dr. Nedzad Mehic, Fall 2006
Language Runtime &Language Runtime &.NET Framework.NET Framework
CSCI 3601. .NET TechnologyMicrosoft. NETMicrosoft. NET (2)XML We ServicesXML Service ModelNET Internet Standards.NET Parts.NET FrameworkMSIL or ILIL and PEThe JIT Process and VerificationCLR, CLS, and CTS.NET Framework.NET Framework (2).NET Framework (3).NET SoftwareVisual Studio.NETXML Based Web ProtocolsXML ExampleLanguage Runtime &.NET Framework