Title: 'NET
1??????????? .NET ??????????
2???????
- ???????? ? .NET
- .NET Framework
- Common Language Runtime (CLR)
- Unified Class Library
- ASP.NET
- ?????????? ?????????? ??? ????????? ?????????
- ??????????? Web ????????
3Windows Distributed Network Architecture
ASP Application
IIS
ADO
HTTP
DBMS
????????? ??????
ADO
COM Application
Windows
4?????????? Web ?????????? ???????
- Web ?????????? ?????????? ?????????? ??????????
??? ??????????? ? ???????? - ??? ??????? ????????? ? ???? HTML ????????
- ??? ???????? ??? ????????????? ??????????
?????????, ?? ?? ?????? ?????????? - ????? ??????????? ?????? ??????????
??????????????? ? ?????????? - ?????? ?? ?????????? ????????? ?????? ???????
web ??????????? - ?????????? ????? ??????????, ????????????? ????
??? ????? web services - ?????? ?? ?????????? web ?????? ???????????
?????????? ????????? ? ??????????? ?????? ???????
5.NET ?? ????????? ?? ??????????
- ????????? ?????????? ?????????????? ?????????? ??
?????? XML, Web Services ? ???????? ?????????? - .NET ??? ????????? ?????????? ??????????????
?????? ?????????? - ????????, ????????????? ? ????????????? Web
Services - .NET Framework
- ????????? ???????? .NET
6?????? ? Web Services
???????????????????
Intranet
.Net MyServices
?????????????
Internet
?????????????? ???????
7XML Web Services
- ?????? ???????????? ????? Simple Object Access
Protocol (SOAP) - SOAP XML HTTP
- ????????? ??????????? ?????????????? ?????
??????? ???????????? ??????, ????????? ??????? ?
?????? ???????????????? - SOAP ????????? ? Worldwide Web Consortium (W3C)
- ???????????? SOAP - Microsoft, IBM,
DevelopMentor, ? ??????
8.NET Framework
- ????? ?????? ??? XML Web Services
- ????? ?????? ??? ?????????? ??????????????
?????????? - ???????? ??????????
- Common Language Runtime (CLR)
- Unified class library, ??????????
- ADO.NET ??? ??????? ? XML ?????? ? ???????????
?????? - Win Forms ??? ?????????? Windows GUI
- ?????? ??????
- ASP.NET, ?????????? ????????? ??? ?????????? web
??????????, ??????? - Web controls ??? ?????????? browser GUI
- ?????????? ????????? ??? ???????? ? ??????? ? Web
Services
9.NET Framework
SOAP
ASP.NET
IIS
HTTP
????????? ????????????
DBMS
????????? ??????
Unified Class Library
Common Language Runtime
Windows
10.NET Framework ??????????
- ?????? .NET Framework ?????????? ???????? ?? CLR
- CLR ?????????? ????? ??????? ??????? , ????? ?
??. - ??, ???????????? CLR ?????????? managed code
- Managed code ????? ????????? ? ????????????
managed ??????? - ??? ?????? ????????????? ? ?????
- Microsoft Intermediate Language (MSIL)
- ????? ??????????? MSIL ????????????? ? native
code - ????? ?????????????? Just-In-Time (JIT)
??????????
11??????????? COM
- COM ???????? ?? ????????????? ?????????
?????????? ? ????? - ?????????? ??????? ? ?????????? ???????? (TLBs ?
IDL) - ?????? ?????????? ? ???????? ?? ?????????
- ??? ?????????? ?? ????????????? ?????
- ??? ?????????? ? ?????????? ?????
- Common Language Runtime ??? ?????????? ???
??????????? - ??????????? ?????????? ? ????? ??? COM ??????
12?????????? ? ?????????? ???????????? ????
Source Code
13?????????? ? .NET Framework (1)
Class Y
Class X
Method 1
Class Z
Method 1
Method 2
Method 1
Method 2
Method 3
Method 2
Method 3
Method 4
MSIL
JIT ??????????
Native
14?????????? ? .NET Framework (2)
Class Y
Class X
Method 1
Class Z
Method 1
Method 2
Method 1
Method 2
Method 3
Method 2
Method 3
Method 4
MSIL
JIT ??????????
Native
15?????????? ? .NET Framework (3)
Class Y
Class X
Method 1
Class Z
Method 1
Method 2
Method 1
Method 2
Method 3
Method 2
Method 3
Method 4
MSIL
JIT ??????????
Native
16.NET ????? ????????????????
- ????????? ?????? ?????? ?????? CLR
- Visual Studio.NET
- C
- Visual Basic.NET
- C (? managed ????????????)
- Jscript (ECMA Script)
- J
- ?????? ??????????
- Perl
- Python
- COBOL
- ?????? ??????
17C
- ????? ????, ????????????? ?????????? ??? .NET
Framework - ????????? ???????? ???????????????
- ????????? ??????? ?? C/C
- ????????
- ?????????? ????????? ??? ???????????, ??????? ?
??????? - ????????? ?????????
- Garbage collection
- ??????????? ????????? namespace
18C
- C ???????????? 4 ??????????? ???? interfaces,
classes, structs ? enums
DEMO (CLR)
19VB.NET
- Visual Basic ?????????? ????????? ????????
??????????????? - ?????????? ????????????
- ????????????? ??????
- ?????? ???????????
- ????????? ??????????
- Multithreading
- ?????????? ????????? ??? ???????????, ??????? ?
??????? - ????????? ?????????
-
- ??????? ?????? Visual Basic
- VBScript ?? ?????????? ??? ????????? ??????????
20C
- Managed C ????? ?????????????? ??? ????????
.NET ?????????? - ???????? ?? ??????????? ? ??????? ?????
- Managed C ????????????
- Garbage collection
- ?????????? ????????? ??? ???????????, ??????? ?
??????? - C ????? ?????????????? ??? ???????? native ????
- ??? ????????? Visual Studio.NET ????? ??????????
MSIL
21Unified Class Library
- .NET Framework ???????? ??????? ??????
??????????? ??????? - ??? ????? ?????????????? ????? ??????????? ??
?????, ?????????? ?? CLR - ????? ????? ?? .NET ?????????? ?????
????????????? ?? ??????? ???? ?????????? - ?????? ???????????? ? ?????? namespaces
- ??????????? ?????????? ???? System namespace
22System Namespace
System
Int32, String,
Data
WinForms
Web
ADO
XML
UI
Security
TextBox, Button,
Connection, DataSet,
WebControls
TextBox, Button,
23???? ? CLR
- ??? ?????, ?????????? ?????? CLR ?????????? ????
???? - ?? ????????? ???????????? ??? ????
- CLR ????
- ????? ? ?????????
- ?????????
- ???????
- ????????????? ????????????? ????
- Char ? string
- Boolean
24????? ???????
- ?????? ????? ????? ????, ??????, ????????,
??????? - ???? - ???????????, ?????????????? ????? ??????
- ?????? ?????????????? ????????
- ???????? ???????? ??? ??????? ? ?????????
??????????? ???????? - ??????? ??????????? ???????? ??????
25???? ? ????????
- ???? ????? CLR-managed ??????, ????????
???????? ?????? ???????? ?? ?????????????
?????? ? ???????????
- public struct V
- public int x
- public int notx
- get
- return x
-
- set
- x -value
-
-
-
void f() V a int y a.x // ???? int z
a.notx // ???????? a.notx 32 // ????????
26?????????? ? ??????????? ??????
- ????????? - 100 ?????? ????????
- ????????? ????????? ?????????? ?? ??????/?????
- ???????? ?????? ?????????? ????? ????????????
- ????????? ????????????
- ??????????? ????? ????????? ???????? ?
??????????? - ????????? ?????? ?????? ???????????? ?????? ??
??????/????? - ????? ??????? ??????????? ?????? ?????
???????????? - ????? ????????? ?????????? ???????? ?? ?????????
- ????? ???????????? ??????????? ???????
27delegates
- System.Delegate ???????????? ????????????????
???????? ?????????? ?? ??????? - Delegate ?????? ?????? ????????? ?? ??????? ?
????????? ?????? - Delegate ???????????? ?????????? ? ???????????
?????? - Delegate ???????? ??????????? ???????
- ????????? ????? ????????????? MSIL ??? ????????
???? ? ?????? ??????
28???????
- ??????? ?????? ???????? ???? delegate
- ??? ?????? ??? ????????? add/remove ????????
- ????????? ??????? ?? ?????
29?????????? ? .NET ?????
type X type Y type Z
???????? ???
30Assemblies
- ??????? ?????????????????, ???? managed code
???????? ?????? assembly - assembly ?????????? ???????????? ???? ??? ?????,
??????? ??? ???????? - Assemblies ????? ????????? ???????, ????? ???
JPEG ?????, bitmaps, ? ??. - ?????? assembly ??????? ???? ??? ?????? DLL ???
EXE - ????????? ?????? ?????????????? ?? ??????
assembly, ?? ?? ?????? DLL ??? ??????? - ?????? assembly ????? ???????? , ??????????? ??
?????????? - Assembly ?????????????? ??????? ???????????? ?
??????????
31Assemblies
Code for Type X
Code for Type Y
Code for Type Z
Manifest
Metadata for Types X, Y and Z
app1.dll
Assembly A
Code for Type P
Code for Type Q
Code for Type R
Manifest
Metadata for Types P and Q
Metadata for Type R
app2.exe
app3.dll
Assembly B
32???? Assemblies
- Private
- ???????????? ????? ???????????
- ????????? ????????? ??????? , ???????? -
AssemblyA - ?? ?????????????? ???????? ??????
- Shared
- ???????????? ??????????? ????????????
- ????????? ??????????? (??????????) ??????,
????????? ?? - ????????? ??????, ???????? - AssemblyB
- ???????? ???????? ???????????(?????????) assembly
- CLR ???????????? ???????? ??????
33?????????? Assemblies
- ????????? ?????? assembly ????? ?????????????? ??
????? ?????????? - ????????? ?????? ????? assembly ????? ????
????????? ???????????? - ???? ? ?????? ?????? ????????
- ????? DLL hell
34???????? ???????????? ? Assemblies CAS Code
Access Security
- ?????????????? ????? ????????????? ????????
????????????, ?????????? ?? ?????????????
assembly - web site, URL, ??? ???? ???????? assembly
- ???????? assembly
- Assemblies ????? ????????? ??????????
- ?????? ???, ??? ????????? ?????????? ????????? ?
????????????? ?????????, ????? ???????????
35?????????? ? Reflection
- CLR ?????????? ?? ??????????? ?????????? ? ?????
- ????? ?????? ? ????????? ???????????????? ?????
- ????? ?????? ? ????????? ?????????? ?????
- ????? ???????????? ???????? ??? ????????? ????
- ????? ???????????? ???????? ??? ?????? ?? ????
36Reflection
- ?????????? ? ?????????
- ?????????? ? ????????
- ?????????? ?? assembly
- ???????????? ???????? assembly
- ????????? ?????
- ??????????? ????????? ??????????? ? ????????????
????????/??????? - ????????? ??????? ??????? ?????? IL
- ????? ???????????? IL ????????? ??? raw byte
stream
37?????????????? ? COM
- ?????????????? ? COM ?????????
- ?????? managed ?????? ???????? ??? COM ??????
- ?????? managed ?????? ????? ???????? COM ??????
- Managed ??????? ?????
- ???????? ? ????????????? Windows ????????????
- ???????????? API , ?????????? ?? COM
- ???????????? COM ??????
- ??????????, just-in-time activation, ??.
- ???????? ?? ????? .NET Enterprise ?????????
38.NET ?????????? ? COM ???????????????? ?
????????? ????????
- ?????????????? ????????? ?????????? - ???????
Transaction - ?????????? DTC ??? Transaction Manager
- SetComplete, SetAbort, EnableCommit,
DisableCommit ????????? ????????? ??????? - AutoComplete
- COM ???????????? ????????
- ????????? ??????????????? ?????????? ????????
- ??????? ??????????
- ???????? ???????????????? ?????? ? ??????????
- ????????? ????? ???? Private ??? Shared
- Shared Property Groups
39.NET ?????????? ? COM ?????? ????????? ????
???????
- JIT ????????? - JustInTimeActivation(true)
- ??????? ????????? ?? ???????
- ??????????? ????? ????????? ???? done
(transaction complete) - ?????? Client ?????????? ?????? ?? dummy stub
- ??? ???????? - ObjectPooling
- ???????? Minimum/Maximum ??????? ????
- CanBePooled, Activate, Deactivate ??????
- ???????????? ???? ??????????? ??????? ??? ????????
40.NET ?????????? ? COM ?????? ???????????
??????????? ? ???????
- Queued Components
- ??????????? ?????????
- ???????? ?? MSMQ
- ApplicationQueuing(Enabledtrue,
QueueListenerEnabledtrue) - InterfaceQueueing ??? ???????? ? ???????????
- ????? ????????? ???????
- Publisher/Subscriber ??????
- ????? ?????????? ??????????? ?????? ???????
- Publisher ? Subscriber ?????? ??? ?????????????
?? ServicedComponent
41??? ??? ???? .NET Framework (1)
- ????????? ?????????? ??????????? ??????
- ?? Microsoft ? ??????
- ????? , ??????? ???????????? ??????????
- CLR ?????????? ????? ???? ?????? ? ??????
??????????? ????? ???? ?????? - ?????????????? ????? ???????, ??????????? ?
?????????????? CLR - ??????? ?????-???????? ????????????
- ???????????? ????
- ???????? ???????????? ???? ????? ????????????
?????? ? ???????? ??????
42??? ??? ???? .NET Framework (2)
- ??????? ? ??????????? ?????????? ???????
- ??????? ASP.NET ??????????
- ??????? ??????????? ? ???????? ??????????
- ?? ??????? registry
- ????????????? ????????? ????????????? ?????? DLL
- ????? DLL hell
- ?????????????? ? Win32, COM, ? COM ????????????
- ????????? Windows XP, Windows 2000, Windows NT4,
Windows ME, Windows 98 ? Windows CE
43ADO.NET
DataSet
Authors
Database
Connection
DataSetCommand
Select from authors
44ADO.NET
DataSet
Publishers
Database
Connection
DataSetCommand
Select from publishers
452?????????? ??? ????????? ?????????
46?????????? ??? ????????? ?????????
Visual Studio .NET
.NET Framework
?????????? GUI ??????????
????????? Web ??????????
????????? ???
????. Web ????????
Mobile Web ????????????
.NET CompactFramework
47?????????? ??? ????????? ????????? Mobile
Internet Toolkit (MIT)
XML Web Services
Visual Studio .NET
SOAP
VB
C
C
Perl
Python
Web Services
User Interface
????????? Web ????????
ASP.NET, Mobile Internet Toolkit
Data ? XML
??????? Framework
Mobile Web ????????????
Common Language Runtime (CLR)
Windows
OS ??????????
48Microsoft Mobile Internet Toolkit ??????????????
? ???????????
- ???????? ?????????? Web-????
- ???? ???????? ??? ????????? ??????? ?????????
- ???????????? ???? ???????? ??? ?????????
????????? - ????????? HTML, WML, cHTML
- ????????? ????????? ????????? ?????????
- ??????????? ???????????? ??????????
- ??????? ??? ????? ??? 180 ?????????
- ?????????? ???????
- Add on ? Visual Studio .NET - Mobile Internet
Designer - ?????????? ?????????? ? ??????????????? ?????
- ??????????? ?????? ??? ????? ???? ?????????
- ??????? ???? ??? ????????? ?????????
49?????????? ??? ????????? ?????????Smart Device
Extensions
XML Web Services
Visual Studio .NET
SOAP
Smart Device Extensions
????????? ???
.NET Compact Framework
.NET CompactFramework
Windows
Device OS
50 .NET Compact FrameworkGUI ?????????? ???
????????? ?????????
- ???????????? .NET CLR ??? ????????? ?????????
- ??????????? ??? ???????????????? ?????????
- ????????? ????????
- PDA
- ???????????? ?????????? ?????????????
- ???????? ?? Windows CE
- ?????????????? ??? ??????? ? ? ?????? ??????????
- ????? ?????????? - Visual Studio.NET
51 .NET Compact FrameworkGUI ?????????? ???
????????? ?????????
- NET Compact Framework ???????????? ??? ????????
??????????? CLR - ??????????
- ???????????? ? ???????????
- IDisposable
- ????????? ???????
- ?????? ??????????
- ?????????? ???? ????????? ?????? ????? ??????????
?????? ???????? - P/Invoke
52 .NET Compact Framework?????????? ? ????? Visual
Studio .NET
- ????? ??????? ????????
- ?????? ?????? ???????? ???????
- ?????? ?? DLL
- F5/?????????????
- ??????????
- ?????????? ?
- ???????????????
- ?????
533 Web Services
54????????? Web ServicesMicrosoft
- SOAP Toolkit
- ?????????????? ??? ???????? ? ????????????? ???
????? ? Visual Studio 6.0 ? COM ??????????? - ?????????????? ??? ??????????? ??? ????? ?
?????????? ???????? UDDI - Microsoft Office XP Web Services Toolkit
- ?????????????? ??? ??????? ?????? ?
????????????? ??? ????? ?? Visual Basic for
Applications
55????????? Web ServicesMicrosoft
- BizTalk Web Services Toolkit
- ?????????????? BizTalk Orchestration ????????? ?
Web Services - SQL Server Web Services Toolkit
- ?????????????? ??????? ? ???????? ?????????? ?
Web Services - Exchange Web Services Toolkit
- ?????? ? ???????? Exchange
56??? ?? ???????? ???!
- ?????????????? ????? ????????????? ?? ?????????
??????????? ??????? ??????? - ????? ????????? ?????? ?????????????
- ????????? ??????????? ? ??????????????? ?????????
??????????rd - ???????? ???????????? ?????? ???????????
- ????? ?????????? ?????? ???????, ? ??
??????????????! - ????? ???????? ?????? ???????? ????????? -
??????????? ????? ????? ??????????????? ?
????????????? - Web Services
57??? ??? ?? ????????
- ??????????? ?????????? ??? ????? ????????/???????
?????????????? - SOAPWSDL ? ?????? ??????????? ???????? ???????
?????????? - ????? ??????? ?? ????????????? ???? ????
??????????
??????????
??????????
???????
???????
??????????????
?????????????? ??????????
?????????????
???????? ????????
??????????
??????????
????. ???????
?????????? ???????/??????????
58??? ????? Global Web Services Architecture (GXA)?
- GXA ???????????? ????? ???????????? ???????
?????????? ??? Web Services - ????????? ??????????? ?????? ????????????? ?
???????? ????? ?????????? Web service - ???????? ?? ?????? ???????????? ???????????? XML,
SOAP, XML Schema ? WSDL - GXA ??? ????? ????????????
- ??? ?? ???????
59?????? GXA?
- ????????? ????????????? ?? ?????? ??????????
- ????? ????? ??????, ??????? ??????????? ?
??????????? XML Web Services ????? ? ????? - ???????? ??? ??????, ?????????? ?????? ??????,
??????? ?? ?????????? ??????? - ?????? ????? ???????? ??? ????? ??????
- ???????? ??????? ??????????????
- ????????? ?????????????? ?? ???? ????????
???????????? ? ???????????? ??????, ?????????????
?????????? ?? ??????????, ???????? ????????
????????????? - ?????????????????? ?????? ???????? ??
???????????? ??????????? - ?????????? ???????? ?? ???? ???????? ???????? ?
???????? ????????????? ? ?????????
60???????? ?? ??????????
- Microsoft ???????????? ?????????????? ??????????
- ?????????? GXA ????????????
- ?????? ?????? ? ?????????? ??? ?????????
???????????? - ?????? ????? ? ??????????, ??????????? ?
?????????????????? ????????????? ?? ????????
???????? - WS-Security ????? ? OASIS
- WS-I ???????? ??????????? ???????? ???????????? ?
?????? ????????????????
61???????? ?? ??????????WS-i.org
- ???? ???????? WS ?????????????
- ????? ????? ?????????????? ????????? ????????
?????????? Web services - ?????? ???????????? ?????????????? ? ???????
????????????? - WS-I ?????????? ??????? ??? ?????????????
???????????? ? ???????? ?????????? ?????????? - ??????? ??????? ??? SOAP, WSDL, UDDI ????????? ?
??????????
62Web services??????????
- GXA ??? ?????????? ??????? ???????????? ???
?????????? Web Services - GXA ????????? ?? ?????????????? ??????????
- SOAP, XML Schema, WSDL
- GXA ????????? ??????????? ?????? ????????????? ?
web services - ????????? ??????? ?????????? ? ??????????? ?
?????????? - Web Services Toolkit ?????????? ????? GXA
????????????
63.NET Framework ? VS.NET ? 2003-2004 ??.
- Visual Studio ??? Yukon
- ?????????? ? SQL Server
- ????????? ? ?????? ? ???????????? ?? ?????????
- ?????????? IDE ? ????????? ?????????
????????????? - ??????????? ????????? XML Web Services
- ??????????????? Microsoft Office
64.NET Framework ? VS.NET ? 2002-2004 ??.
- Visual Studio ??? Longhorn
- ?????????? ? Windows Longhorn
- ????? ??????????? ????????????????? ??????????
- ??????????? ?????????? ??????????
65????????? .NET ??????????
- ????? ?????? ??? ?????????? ? ????????????? Web
Services - ????? ?????? ??? ?????????? ??????????????
?????????? - ???????? ??????????
- Common Language Runtime (CLR)
- ASP.NET
- ????????? ????????? ?????????
- Visual Studio.NET ??????????????? ?????
?????????? ?????? ?????????
66??????
- Web ???????
- http//www.microsoft.com/net/
- http//www.gotdotnet.?om
- http//www.gotdotnet.ru
- ??????
- ??????
- ????????
- Newsgroups
- microsoft.public.dotnet.
- microsoft.public.vsnet.
- ???????? ??? ?????????????
- http//www.microsoft.com/rus/events