Sei sulla pagina 1di 20

Dr.

Nedzad Mehic, Fall 2006


CSCI 360
CSCI 360
1.
1.
.NET Technology
.NET Technology
2
CSCI 360, Dr. Nedzad Mehic, Fall 2006
Microsoft. NET
Microsoft. NET

Presented by Microsoft officials to the rest


Presented by Microsoft officials to the rest
of the world in J une 2000
of the world in J une 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
3
CSCI 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
standards
standards
4
CSCI 360, Dr. Nedzad Mehic, Fall 2006
XML We Services
XML 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
5
CSCI 360, Dr. Nedzad Mehic, Fall 2006
XML Service Model
XML Service Model
6
CSCI 360, Dr. Nedzad Mehic, Fall 2006
NET Internet Standards
NET 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
7
CSCI 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 applications
used to run .NET applications

The Visual Studio development


The Visual Studio development
environment
environment
8
CSCI 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.
9
CSCI 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 aren

t creating anything in
t creating anything in
native code.
native code.

When you compile in .NET you


When you compile in .NET you

re
re
converting your code (no matter what
converting your code (no matter what
.NET language you
.NET language you

re using) in code of an
re using) in code of an
intermediate language called Microsoft
intermediate language called Microsoft
Intermediate Language
Intermediate Language
-
-
MSIL or just IL.
MSIL or just IL.
10
CSCI 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 J ust-in-time-J IT compilation
where IL is converted into the specific
machine language.
11
CSCI 360, Dr. Nedzad Mehic, Fall 2006
The JIT Process and Verification
The JIT Process and Verification
12
CSCI 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.
13
CSCI 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
.
.
14
CSCI 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, J Script (MS version of J avaScript)
and COBOL.
Third-party languages: Eiffel, Perl, Python,
Smalltalk, and others - will also be
available for building future .NET
Framework applications.
15
CSCI 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.
16
CSCI 360, Dr. Nedzad Mehic, Fall 2006
.NET Software
.NET Software
Windows.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
17
CSCI 360, Dr. Nedzad Mehic, Fall 2006
Visual Studio.NET
Visual 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 feature
It 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.
18
CSCI 360, Dr. Nedzad Mehic, Fall 2006
XML Based Web Protocols
XML 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.
HTTP
HTTP

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).
XML
XML

XML (
XML (
eXtensible
eXtensible
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.
19
CSCI 360, Dr. Nedzad Mehic, Fall 2006
XML Example
XML Example
<?xml version="1.0" encoding="ISO
<?xml version="1.0" encoding="ISO
-
-
8859
8859
-
-
1"?>
1"?>
<note>
<note>
<to>
<to>
Tove
Tove
</to>
</to>
<from>
<from>
J ani
J ani
</from>
</from>
<heading>Reminder</heading>
<heading>Reminder</heading>
<body>
<body>
Don't forget me this weekend!
Don't forget me this weekend!
</body>
</body>
</note>
</note>
20
CSCI 360, Dr. Nedzad Mehic, Fall 2006
Language Runtime &
Language Runtime &
.NET Framework
.NET Framework

Potrebbero piacerti anche