Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
t creating anything in
t creating anything in
native code.
native code.
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
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
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