Curr-P/Maket__.doc
- 32
- - 28 ( )
8
/ (/ , ..)
, win32, web, , . Microsoft .NET, .
.
(- 32 )
:
: ( , ), web- , .
1 Microsoft.NET.
Microsoft.NET. , . .NET Framework. CLR. CIL( assembler ). JIT-. . . . . .NET Framework.
2 Rotor Mono
Mono - (Linux, MAC, Windows) .NET Framework. Rotor - .NET . Rotor: , CLI, .
3 Phoenix
Microsoft JIT, native code, , . .
4 # 3.0
: , , , , XSD, XQuery, XSLT, XPath XML.
5 web-. ASP.NET 1.1 2.0
ASP.NET. ASP.NET 2.0. AJAX ASP.NET.
6 XML Web Services.
. . web- .net. web-.
7 .
. . Windows XP Embedded, Windows CE Embedded.
8 : Smartphones, PocketPC
. . . .NET Compact Framework.
9 Windows Vista.
Windows Communication Foundation. Windows Presentation Foundation. - Windows Workflow Foundation.
10 WinFS.
. . WinFS. WinFS API.
11
. , , . . .
12 (trustworthy computing)
. . . . . . .
13
, , , . , -, -. , .
14
. . . , (Test Driven Development).
1. . Microsoft 2005. ,. . : - , 2004. 256.: .
2. . Microsoft SQL Server 2005, . . . - , 2005. 288.: .
1. . Microsoft.NET, . . .: - 2003. 704 .: .
2. http://msdn.microsoft.com/mobility/
3. http://msdn.microsoft.com/smartclient
4. http://www.microsoft.com/windowsvista
5. http://www.mono-project.com
Curr-P/ 1 Microsoft .NET.doc 1 Microsoft.NET.
Microsoft.NET. , . .NET Framework. CLR. CIL( assembler ). JIT-. . . . . .NET Framework.
11 .
22 .NET
23 Microsoft .NET
2 (Common Language Runtime)
3.NET Framework Class library (FCL)
3
1 .
, , API ( API) ;
, , ;
, .
(legacy). .
(, Windows MacOS).
Windows- , DLL. , , , . .
, , , , , .. .
, . , , , , , , .
Windows- win32 API , , HRESULT. , , .
Microsoft .NET.
2 .NET
, . , , . , . , , , .
.NET , HTTP XML Internet . .NET Framework , , - web, , API .
3 Microsoft .NET
.NET Framework . (Common Language Runtime) .NET Framework Class Library.
(Common Language Runtime)
Common Language Runtime (CLR) , , CLR.
.NET CLR CIL. , .NET . .NET- ( ) . CIL.
CLR . .NET CLR, .
CLR Common Intermediate Language (CIL). ( just-in-time ) . . , . JIT- , .
CIL , JIT- .
, , . , , , . CLR .
, , . , , CLR. , , , - . .
CLR . (application domain). , . , , .
.NET Framework Class library (FCL)
.NET .NET Framework Class library (FCL), , . . , System Object, .
, .NET .
, System , , , , -, , , . System .
FCL- . . , .NET.
.
FCL
System
System.Collections
-,
System.Data
ADO.NET
System.Drawing
(GDI+)
System.IO
-
System.Net
, , HTTP
System.Reflection
System.Runtime.Remoting
System.ServiceProcess
Windows
Sustem.Threading
System.Web
HTTP
System.Web.Services
web-
System.Web.Services.Protocols
web-
System.Web.UI
, ASP.NET
System.Web.UI.WebControls
ASP.NET
System.Windows.Forms
System.Xml
XML
FCL. .
.NET Framework . .NET Framework :
- ;
, ;
( );
, ;
.
.NET Framework : (CLR) .NET Framework.
Curr-P/ 10 WinFS.doc 10 WinFS.
. . WinFS. WinFS API.
1
1
1
1
2 WinFS?
2
2
3 WinFS
3
( ) ( , , , ). 70% . , . . , . , .
, , . . . , , (URL- , , ), , :
;
, ;
, ;
2007 .
, . , . , Microsoft Office Outlook, Microsoft Windows Address Book, MSN Messenger, ICQ, . -, , , .
, :
;
;
;
;
;
.
WinFS?
WinFS Microsoft. -, WinFS . -, WinFS , , . -, WinFS .
WinFS Microsoft Windows XP Windows Vista. , WinFS .
WinFS , , . , . WinFS , (, , , , ..). , , , , .. , WinFS .
WinFS (SQL Server 2005), . WinFS . , , , Windows . , , .
WinFS , . . , WinFS - .
, WinFS Windows. ( ) NTFS. API, NTFS, WinFS .
WinFS. win32 API WinFS API.
WinFS
WinFS , , WinFS, , . , , , WinFS, , . WinFS . WinFS, WinFS .
WinFS WinFS, WinFS. (volume). . WinFS . (items). WinFS . , . . , , .
WinFS . : .
- , (holding links) . , . , - , . , . , , .
. . WinFS. , , . , (nonholding links). (view).
WinFS (embedded items). ( ) . , , . Microsoft Word.
WinFS . . .
, WinFS :
;
( WinFS );
( );
;
.
WinFS API
WinFS API:
WinFS API , ;
ADO.NET XML . T-SQL;
Win32 WinFS.
.
WinFS System.Storage . System.Storage.Core.
WinFS, :
.NET;
;
;
BLOB (streams);
.
. WinFS . (short-term subscription) , , . (long-term subscription) . (watchers) WinFS API , WinFS, , . , , .
, :
1. , , , . . ( Google Mail). , , .
2. ( , , WinFS), , , . , , . .
. , , , (, , ), , .
-
-
-
-
WinFS
Curr-P/ 11 .doc 11 11
. , , . . .
1
2
3
4
4
5
6 -
6 -
6
7 -
7
" " . " " . , , .
" " , , , , .
, , ( - ) , , . " " , , , , .
, , . ( , .)
, .
, , (). .
, , , -, - , , , , . , , .
, "" "". , , , . , - , . , () , .
, , : , .
. , .
, .
( ) ( ()). , , , .
, " ". , , , , . , Web- - .
- .
, , , - . .
(, , ).
, , , , , . , .
, "" , .
( , - ), :
;
;
.
, ; , -, , -, , - .
, - ; . , .
, . , , , , . ( " 2000"), , , , , .
, "" -. , - ; . , , , ( , ).
:
(, , ), ;
, (, , , );
(/ / );
(/ ).
( ), .
( ) , , , .
( , ), , ( ). , 65% - .
- .
, :
;
;
.
:
( );
( , , ..);
( , ..).
:
( ) ;
( , ..);
() ;
;
;
.
:
( ) , , - / , ;
;
/ ( , , , ..).
( ) . USA Today, 1992 882 . , , ; , .
, . .
. ( , ) :
;
.
, - . ; , ( ). , , . : , .
, . "", .
, . , , , ( ..). .
. (, ) , , , , .
, .
, ( ). , , , . , . ; ( - ) , - ( ) .
, ( ) . , , ( , , ), . ( , ..), - , .
, , , . , , , . , .
, - . ; .
- , , , . , , , , , , , , .
, , . , .
- , - , .
, , . ( ) () , .. - . .
() :
- ;
- ;
;
- .
-
- - , . , ; , ; .
, , .
-
- , , , , , :
;
;
(- ) () ;
, ;
;
;
;
;
, .
- , , .
. , , .
( ).
:
, ;
( ) ;
;
( ) ;
( );
.
-
- , ( ) . , - .
:
( , ..);
;
( ).
:
;
.
, . :
;
;
;
( , , . .) , .
, , , . , ( ).
:
( , . .);
( ) , , ;
( );
.
, , , .
Curr-P/ 12 .doc 12 (trustworthy computing)
. . . . . . .
1Trusted computing trustworthy computing
1
1
2
3
3
4
6
6
(Trusted Computing) , , . , . ; , . .
Trusted computing trustworthy computing
"trusted" "trustworthy". NSA ( ) trusted component , , trustworthy component , . , trusted , . , trusted () .
: , , . , . . , . . 100 . .
trusted computing , . trusted computing ( ).
Trusted Computer Group (TCG, TCPA). TCG . TCG - . TCG , . TCG .
TCPA ., . . . , , 1972. - . , , .
AEGIS - : BIOS, . , , , , .. AEGIS , . . . , . , AEGIS BIOS . FreeBSD, IPv6 .
. , WebofTrust, PGP/GnuPG.
, .
1. Endorsement Key
2. Secure Input and Output
3. Memory curtaining / Protected execution
4. Sealed storage
5. Remote attestation
(Endorsement Key)
endorsement key 2048- RSA . , TCG. . , . , . (Trusted Platform Module TPM) . ( , , ).
-
, - , -, . .
Memory curtaining
, (, ), . . .
Sealed storage
, . , (, , ). , , .
Remote attestation
, . , , , , . , . , , - .
. TCG, Internet, , . BIOS PCI, . DMA . (Hardware Certification List, HCL). (Serial Number Revocation List, SRL), , , , . , , . , Internet. , SRL, . , (Document Revoation List, DRL.
Digital rights management (DRM)
, . ?
, . -, (, ). . , . - , .
(cheating) on-line
on-line . , - , .
on-line . . , , , on-line . PIN .
(spyware)
: ICQ, , . ICQ .
, , .
.
. , .
grid computing
, grid computing . ( ) .
, , . . , .
, (, , ) . , . , , , . .
TCG, , , , . , .
, Internet. . , . web- . .
. ? ? , , .
, spyware Internet. , , - , .
, . , .
, (Document Revoation List, DRL), . : , Word , . , .
. , .
, . , , .
- ( ) . . , - . , , , , . , . 5 , , . , .
, , , . , start-up .
, . ?
? , .
. , .
RSA 2048. , , . , , -, . , , RSA . - .
TCG , . , , .
TCG . TCG .
, , . (voluntary mode) , . . . , ( , ).
TCG :
;
;
;
;
;
;
Apple Intel ;.
2004 , , BIOS;
Linux, 2.6.13 . , Linux. 2005 Gentoo Linux's ;
Microsoft Windows, Windows XP.
, , . . , .
Curr-P/ 13 .doc 13
, , , . -, -. , , .
1 : , ,
2-
2-
2
2
3
3
3 (generative patterns)
3
3
4
: , ,
(Christopher Alexander), 70 . .
80 . , , .
, , . . , , . . , , .
. , . :
( ) , , . , , , , , . , , , . , , , , . , , .
- , :
. , , . . , , .
. , . . ( ). , .
. ( , , . ), , . , . , ( , , ).
. . , , . . , . .
-
, , . . , / , . , (-) , . - patlet.
-
, - . - 90 , . -
1. , , ;
2. , .
:
-. . , , , . . .
.
-. - , , , .
.
, , , , .
, . , . , .
, . , . . - . .
(Idioms)
, . . . .
. . , , , , ( ). , , (- ) ( - ).
(generative patterns)
. , , (, ). , , , . , , (, ). , .
.
, . ( ), . . , . , , , , - - ). .
() ( ). . , .
, - (, ). , . , . , .
. . , , . , , (pattern mining), , .
Curr-P/ 14 .doc 14
. . . , (Test Driven Development).
1
1
2
2
3
4
4Test Driven Development
5
.
() . ( - - ), . : 40%-20%-40%.
. , f = f1* f2* f3*... * fn, f1,f2,... fn , .
. , - ( ) (). , . , . .
, , , . . , . , . , , . - , , .
( ) CodeChecker.
( ) Testbed Testbench.
( " "), . , .
( 0) - .
( 1) - .
( 2) - 1 .
( " ") , , . , . - , , ; , , , , , , .
:
;
;
- , , .
;
;
;
, . - (X,Y) .
-.
, P ( ), .. - P1, P2... P (X,Y).
(X,Y) P , , - , (X,Y) , . , (X,Y) .
: , .
- , . , . " ", , .
- , . - , . , , , , .
. . " , , , , , , , .
. , , . .
, - , . . , .
:
1. ( ), : , , ..
2. : () ; , ; . , .
3. ( )
4. : .
5. .
, 4 5 . ( ). build.
- , , , , , , , ( ), , (, , ).
, . , , .
, , , , .
(, , , , , ) .
, .
.
:
1. , ,
2. , ( ), , , ..
3. , , , ..
:
1. , :
.
.
2. , .
3. .
4. .
5. .
6. - .
7. .
8.
Test Driven Development
, . (Test Driven Development TDD) - , . , , .
TDD :
, , , .
, . , .
.
TDD, , , , , .
, , , , , , .. , , . , 100% , .
, ( , ) . , TDD . , , , . , , , .
, , , . , . , . . , . .
, . . , , . , .
, , (, ) . , - . Java- . , web (, ), , .
, , .
Curr-P/ 2 Rotor Mono.doc 2 Rotor Mono
Mono - (Linux, MAC, Windows) .NET Framework. Rotor - .NET . Rotor: , CLI, .
1Mono
1 Mono
2 Mono
2
2
3Just-in-time
3
3 Mono (IDE)
3, Mono
3
3Rotor
4
Mono
Mono , Microsoft .NET Framework. Mono , UNIX, Linux, FreeBSD, Mac OS X, Solaris Windows - .NET. Mono Novell. Mono , , .net-. Mono Linux-.
.NET Mono ECMA C#, (Common Language Runtime) . Microsoft .NET ( ADO.NET, System.Windows.Forms ASP.NET), , Mono . Mono Gtk# .NET gtk+, GNOME. Gnome- Mono. , Glade. Mono (IDE), .
Mono
Mono : 1) ; 2) Mono/Linux/GNOME; 3) Microsoft.
C#, . Ecma-334 Ecma-335. , Mono , (CLI) .
Mono/Linux/GNOME GNOME . : Gtk# (GUI), Mozilla Gecko, Unix, , XML- RelaxNG. Gtk# Mono Gnome Linux-. MySQL, SQLite, PostgreSQL, Firebird, Open Database Connectivity (ODBC), Microsoft SQL Server (MSSQL), Oracle, - db4o .
Microsoft Windows .NET Linux-. ADO.NET, ASP.NET, Windows.Forms .
Mono
. C#, .NET- . . (assemblies).
. . (, connector , ) , Accessibility, Windows System, , System System.IO, System.Net . .
. . . , , , , , , . , , . . , . Mono, .NET. mscorlib.dll, System.dll, System.Data.dll Accessibility.dll. , .
(The Common Language Infrastructure CLI) Mono. .NET-. ECMA-335.
(The Common Language Specification CLS) 6 ECMA-335 CLI. Mono , CLS. (the Common Intermediate Language). Mono .
Just-in-time
(just-in-time compilation (JIT) . , . Mono just-in-time : x86, SPARC, PowerPC, ARM, S390 (32 64 ), x86-64, IA64 SPARC64. just-in-time . .
.NET/Mono . , , , . , .NET/Mono System.Runtime.InteropServices. : , .NET, .. Mono (, Gtk#).
Mono (IDE)
MonoDevelop , GNOME. C# .NET- , Nemerle, Boo Java ( IKVM.NET). , help, , , Stetic ( ), .
MonoDoc , API (samples). wiki- , .
, Mono
, Mono:
Cocoa# Mac OS X toolkit (Cocoa);
Gecko# , Mozilla (Gecko);
Gtk# C# - GTK+ GNOME, C;
Tao .
C# Mono Mono GNU General Public License (GPL), GNU Lesser General Public License (LGPL), MIT. , Mono . , Mono , Novell . .NET, Microsoft FreeBSD, Windows Mac OS X. Shared Source CLI (Rotor). Rotor .
Rotor
Rotor 2002 . Rotor Microsoft Common Language Runtime . Rotor C# Jscript, Common Intermediate Language (CIL), , , . Rotor , .
Rotor (Shared Source Common Language Infrastructure SSCLI) .NET, .
Windows, FreeBSD ( 4.7 ) Mac OS X 10.2. , PAL (platform abstraction layer).
SSCLI 2.0. .NET Framework 2.0.
-, . , Microsoft .NET, rotor mono Linux, UNIX Mac OS X .
Curr-P/ 3 Phoenix.doc 3 Phoenix
Microsoft , , . .
1
2 Phoenix
3 (Intermediate Representation IR)
3
3
4
4
4 Phoenix
4
5
5
5
5 (Garbage Collector GC)
5
6
6 (Aliasing)
6Lifetime ( )
6
6 (plug-in)
7
, () () (). .
, . 1 .
. , (token), .
, . , . .
. , . , , .
, . .
, .
, .
1
. , ( # Pascal) , . , .
, , (load-and-go), , , . , , , , . , .
Phoenix
Phoenix , , .
Phoenix , common intermediate representation ( ), . Phoenix .
(Intermediate Representation IR)
IR . IR : - (HIR) - (LIR).
Phoenix , / .
. , . , .
IR . . Phoenix .
HIR Phoenix . . , .
( C++, C# J#) Phoenix. Phoenix . , , . , , , IR, .
, .
, .
Phoenix ( ) . , . . , .
, Phoenix . Phoenix (plug-in) .
Phoenix . , , , , , Lifetime. , Lifetime.
Phoenix. . , .
. , .
. , , , , , , , .
. , , . . , (CLR) , . , , .
. Phoenix . , . IR.
IR
FuncUnit
,
DataUnit
. (, )
ModuleUnit
PEModuleUnit
PE (portable executable image). , EXE DLL
AssemblyUnit
.NET Framework
ProgramUnit
, EXE DLL
GlobalUnit
Phoenix , (pointer tracking), . , Phoenix, .
Phoenix (, .). . - .
Phoenix , .
.NET Framework, (Microsoft intermediate language MSIL). (on demand) (common language runtime).
, , , (, ), MSIL , .
.
. .NET Framework, , . , .NET Framework, . , Phoenix .
Phoenix
Phoenix C/C++, , . Phoenix . , Phoenix.
- , . LIR, . , - .
. Grand Unified Retargeting Language (GURL) :
;
;
;
;
, Phoenix.
(Compiler Intermediate Language CIL), PE- (Microsoft Portable Executable), COFF- (Microsoft Common Object File Format), MSIL (Microsoft Intermediate Language), ..
Phoenix . , , . Phoenix .
Phoenix . , , Phoenix. , (, ) . , .
Phoenix . .
(Garbage Collector GC)
Phoenix . :
GC;
.
. , , . , . , . .
, . , . Phoenix , . . , , . .
Phoenix Collections, , -, . . , . , .
Collections New(), Delete(), Insert(), Remove(), Iterate(), Count(), Push\Pop. New . Delete . Insert . Remove . Iterate . Count . Push , Pop . Push , . Pop .
(Aliasing)
, . . , , . , .
Lifetime ( )
Lifetime , . . , . , , , . , , . Lifetime .
Phoenix . .
(plug-in)
plug-in Phoenix , . , Phoenix . plug-in. Plug-in Phoenix.
.
, . Plug-in ( ). , , . , plug-in .
Phoenix , . Phoenix , common intermediate representation ( ).
Phoenix .
Phoenix , .
_1238763407.vsd
text
Curr-P/ 4 #3.0.doc 4 # 3.0
: , , , , XSD, XQuery, XSLT, XPath XML.
1 C# 3.0
1
2
2
3-
3
4
4,
4
5
C# 3.0
C# 3.0 ("C# Orcas") C# 2.0, . C# 3.0 API, XML. C# 3.0 :
. , , ;
;
. ;
-. C# 3.0 ;
. ;
. -, ;
, . C# , SQL XQuery;
. - .
C# 1.2 2.0 ( 100) C# 3.0, , http://msdn.microsoft.com/vcsharp/language.
. :
var i = 5;
var numbers = new int[] {1, 2, 3};
var , :
int i = 5;
int[] numbers = new int[] {1, 2, 3};
:
;
. ( new.)
null-.
(, ), .
:
var x; // Error, no initializer to infer type from
var y = {1, 2, 3}; // Error, collection initializer not permitted
var z = null; // Error, null type not permitted
var, , (warning).
for, foreach.
int[] numbers = { 1, 3, 5, 7, 9 };
foreach (var n in numbers) Console.WriteLine(n);
. , , . null-, , . :
var a = new[] { 1, 10, 100, 1000 }; // int[]
var d = new[] { 1, "one", 2, "two" }; // Error
, int string .
?
, . , .
, , php, . , C#, .
.
A, B B.
, . this.:
Namespace Acme.Utilities {
public static class Extensions
{
public static int ToInt32(this string s) {
return Int32.Parse(s);
}
public static T[] Slice(this T[] source, int index, int count) {
if (index < 0 || count < 0 || source.Length index < count)
throw new ArgumentException();
T[] result = new T[count];
Array.Copy(source, index, result, 0, count);
return result;
}
}
}
. using , . :
using Acme.Utilities;
string s = "1234";
int i = s.ToInt32(); // , Extensions.ToInt32(s)
int[] digits = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
int[] a = digits.Slice(4, 3); // , Extensions.Slice(digits, 4, 3)
, , . . , ( ). , . , C# .
-
C# 2.0 , -. , . - .
. , , .
, . . - . , :
public class Point
{
int x, y;
public int X { get { return x; } set { x = value; } }
public int Y { get { return y; } set { y = value; } }
}
:
var a = new Point { X = 0, Y = 1 };
:
var a = new Point();
a.X = 0;
a.Y = 1;
. , . :
List digits = new List { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
-, , , System.Collections.Generic.ICollection T. , T, .
, , . , , , . .
C# 3.0 new . . ( ), object. read/write, . , , null, . ( ), . :
var p1 = new { Name = "Lawnmower", Price = 495.00 };
var p2 = new { Name = "Shovel", Price = 26.95 };
p1 = p2;
,
# 3.0 (, SQL XQuery).
from select group - . from 0 from where -. select group . select group orderby, . Into - . :
using System;
using System.Query;
using System.Collections.Generic;
class app {
static void Main() {
string[] names = { "Burke", "Connor", "Frank",
"Everett", "Albert", "George",
"Harris", "David" };
IEnumerable expr = from s in names
where s.Length == 5
orderby s
select s.ToUpper();
foreach (string item in expr)
Console.WriteLine(item);
}
}
- , . -, - D, System.Query.Expression. - - , . - , . - . .
Func f = x => x + 1; // Code
Expression e = x => x + 1; // Data
f , x + 1, e , x + 1.
C# 3.0 C# 2.0.
.
;
;
-;
;
, ;
.
C# , . , C# 3.0 , , . , , C# , .
Curr-P/ 5 web-. ASP.NET 1.1 2.0.doc 5 web-. ASP.NET 1.1 2.0
ASP.NET. ASP.NET 2.0. AJAX ASP.NET.
1 ASP.NET
1
2 ASP.NET
2
2
2 ASP.NET-
2
3
3 XML Web Services
3 web-
3 web-
3 ASP.NET ?
5ASP.NET Atlas AJAX
5
ASP.NET web-. ASP.NET web-, web-, HTML. web- windows-, , .
ASP.NET .NET Framework. , asp.net- .NET Framework, . ASP.NET ( ). , (common language runtime), , Microsoft Visual Basic, C#, JScript.NET J#.
ASP.NET
ASP.NET :
;
ASP.NET;
;
;
;
;
;
XML Web services;
web-;
web-.
ASP.NET , web- ASP.NET web-. ASP.NET , ASP.NET (HTML). , , ASP.NET , . , web- ASP.NET Web, . ASP.NET web- ( , ).
ASP.NET -. HTML-, , . ASP.NET : , . , ASP.NET .
, UI .
, ASP.NET , . , (, ) . , . XML-. , . .
(master pages) web- ASP.NET, , (, ). web-, web- .
ASP.NET
ASP.NET . , , , . ASP.NET , (common language runtime) , .
ASP.NET , , , ASP.NET .
ASP.NET .NET Framework. ASP.NET . windows ( ). windows .
Web- ASP.NET. NTFS Access Control Lists (ACLs), ASP.NET-.
ASP.NET . ( , , web-. , .) , , , , .
ASP.NET . , web- .
ASP.NET-
ASP.NET- . web-, web- . , web- web-. ASP.NET- XML-, .
ASP.NET . ASP.NET (log) , , . , .
ASP.NET , :
ASP.NET
ASP.NET
ASP.NET , . , .
ASP.NET web-.
XML Web Services
ASP.NET web- XML. Web- XML , . Web- , HTTP XML. Web- XML , web-. web- 6.
web-
ASP.NET . ASP.NET web- (IIS), . ASP.NET , , HTTP- .
web-
ASP.NET , Visual Studio. .
ASP.NET ?
ASP.NET , web- ( ) web-. Web- ASP.NET IIS (Internet Information Services). ASP.NET ISAPI IIS. web- , , ISAPI , . ASP.NET .aspx, .ascx, .ashx .asmx.
ASP.NET , ApplicationManager. . HostingEnvironment, (, ).
, ASP.NET , App_Code.
ASP.NET , HTTP (HttpContext, HttpRequest HttpResponse). HTTPRequest , cookies. HTTPResponse , cookies HTML.
HTTPApplication, web-, Init.
HTTPApplication. , , (, , ), . . , , , , , - ( ..).
ASP.NET Atlas AJAX
Ajax ( Asynchronous JavaScript and XML) web-.
, ( , , ..), .
. , .
Ajax , .
Ajax :
XHTML ( HTML) CSS ;
DOM, , JavaScript Jscript ;
XMLHttpRequest web-. , Ajax, IFrame;
XML . HTML, , JSON EBML. ;
, Ajax, ( ), ( , ).
Ajax , Back . D Ajax- , , Back, , Back. . , 10 , 10-20, 20-30. Back , 10-20, , , . . (IFrame .)
Ajax-. bookmarks . URL-.
Ajax- .
Atlas (ASP.NET AJAX) Ajax Microsoft. ASP.NET AJAX web- . ASP.NET AJAX ECMAScript (JavaScript) web- (ASP.NET 2.0). ASP.NET AJAX web- .
ASP.NET Web, API, . ASP.NET .NET Framework, .NET Framework.
ASP.NET :
;
ASP.NET;
;
;
;
;
;
XML Web services;
web-;
web-.
Curr-P/ 6 XML Web Services.doc 6 XML Web Services.
. . web- .net. web-.
1 XML Web Service?
2 web-
2 web- .NET
3
4 web-
5
XML Web Service?
: , - , - . - .
- - ( ), - ( ). - , . , . , .
(service) , -, :
;
- ;
, .
XML web-.
XML Web- web-,
web-
web-,
HTTP-, web-
web- .
web- web- . , web- (web-), (, Internet). Web- . , web-, .
Web- , . Web- , .
Web- . (SOAP, HTTP ..). Web- ( Windows UNIX). Web- ( Microsoft Visual Studio).
web- HTTP-, SOAP. SOAP XML- (XML vocabulary) HTTP ( SOAP http://www.w3.org/TR/SOAP).
web-
: Microsoft Distributed Component Object Model (DCOM), the Object Management Group's Common Object Request Broker Architecture (CORBA), Sun's Remote Method Invocation (RMI), .NET Remoting, XML Web Services.
- (DCOM, CORBA RMI) Intranet-. , . , Internet . -, . , : , , . , , , RPC- .
, XML Web Services .NET Remoting - web-.
XML Web Service , Internet- API web-. XML , web- . web- , HTTP, XML ( Extensible Markup Language ), SOAP( Simple Object Access Protocol Intenet, , , , HTTP ). web- . UNIX-, windows-. , web-, XML SOAP-. WSDL- web- XSD. . web- , SOAP-.
.NET Remoting . web-, . .NET Remoting , , . , . .NET Remoting SOAP-. , , . (CLR) .NET Remoting SOAP. , .NET Remoting web-.
web- .NET
web-. SOAP-, Microsoft, IBM . web- Microsoft.NET :
.NET Framework ;
Web-, .NET Framework, . , , .
web- AdditionService, . Add, . AdditionService web- Microsoft.NET Framework.
Web- ASMX-. ASMX- , ASP.NET (, HTTP- ASP.NET) ASP.NET Machine.config.
ASMX- @WebService. Class, , web-.
web- WebService. web- , HTML-, AdditionService.asmx.
Web- Web- WebMethod. , , , .
HTTP, XML SOAP . XML- SOAP .NET Framework.
AdditionService.asmx
using System;
using System.Web.Services;
[WebService (Name="Addition Web Service",
Description="WebService for adding integers")]
class AddService
{
[WebMethod (Description="Computes the sum of two integers")]
public int Add (int a, int b)
{
return a + b;
}
}
, AdditionService.asmx web-, web- ASP.NET. SOAP, HTTP GET HTTP POST, SOAP- XML-.
, web- asmx- .
Web- . , XML . , web-, ASP.NET , . , web- HTTP GET POST.
Web- . , , web- . , . , , , . web- , web- ( ).
Web- , Microsoft Visual Studio 2005. web- ASP.NET Web Service. Visual Studio asmx-, web-, web- .. , asmx- .
web-
, AdditionService, , , , web- (URL). WSDL (Web Service Description language).
WDSL XML-, IBM, Microsoft . ( http://www.w3.org/TR/wsdl). WSDL , XML. XML -, , web-. -. - web-, .
, web- . web-, .NET Framework, URL web- ?wsdl. AdditionService.
web-
AdditionService?
- DISCO ( discovery) web-, web- DISCO-, web-. , DISCO- WSDL- . DISCO- XML- .
VSDISCO-, DISCO-, web- . ASP.NET .vsdisco HTTP-, asmx disco disco-. .NET Framework , , Machine.config.
web- ? web- Microsoft, IBM, Ariba UDDI. UDDI (Universal Description Discovery and Integration) , web-. UDDI . UDDI- web-. UDDI. UDDI API . UDDI . - web-.
XML Web- , . Web- , XML HTTP. web- , . Web- , .
_1225724233.vsd
Internet
Web-
-
Curr-P/ 7 .doc 7 .
. . Windows XP Embedded, Windows CE Embedded.
1
1
2
3Windows Embedded
3Windows XP Embedded
3Windows CE
3
, . (, ), . , , . , .
(PDA) , . .
, MP3 , .
. , , . , . , :
NetBSD
Windows CE
Windows XP Embedded
SymbianOS
(real-time computing RTC) , (real-time constraint) , . , (non-real-time system), , .
(real-time operating systems) (synchronous programming languages).
, (mission critical). . , , . , . . .
, , . , (hard immediate real-time system) ( ) . (soft real-time system) , , ( ).
. , , . ( ), , , .
, . , , , .
, . , . , , , . (Earliest Deadline First) , 100%.
, . , . . , . - . , .
, , . , 15 ( ). , , , , - . , .
Windows Embedded
Windows :Windows CE, Windows XP Embedded Windows Embedded for Point of Service.
Windows XP Embedded
Windows XP Embedded (Xpe) Microsoft Windows XP Professional. XPe , XP Pro, XPe OEM, ISV IHV, Win32 API, Professional. XPe windows- 32MB Compact Flash, 32MB RAM P-200.
XPe Windows CE. . , XPe , CE. , CE Win32 API, XPe ( CE Win32 API). CE .
, XPe , , , , , , , , .. XPe , . XPe , XP Pro. .
Windows CE
Windows CE (WinCE) Microsoft Windows . Windows Windows . Win CE , Intel x86, MIPS, ARM Hitachi SuperH.
Windows CE , Windows CE . . , , . ( ). , ROM.
Windows CE ( XPe) . Win CE 256 . . .
Win CE ( Mobile 2003, Mobile 5.0, Smartphone 2003) .
Windows CE . , Platform Builder ( Windows CE) .
. . . .
Windows CE Windows XP Embedded . .NET Compact Framework .
Curr-P/ 8 .doc 8 : Smartphones, PocketPC
. . . .NET Compact Framework.
1
1
2Microsoft .NET Compact Framework
4
(). , , . , , . , , . - .
, Pocket PC, Tablet PC. . Internet. Internet . . .
( Pocket PC Microsoft). - , . . Microsoft , Palm OS PalmSource, Inc. , , , , .
, . , . , . . : ?, .
. , Imagine Cup 2003, Microsoft . , . - -, ( ) . Pocket PC. , - , . . - , . .
Word Excel, . -. , .
. , . GPS (global positioning system). , Pocket PC GPS .
( ?), ( ?). . , . . , , . -, , .
. . Dell Compaq Sony. , , , , . , , . , GPS, .
. , . , , . . 240320 640480 Pocket PC, 176180. 500 . .
Microsoft .NET Compact Framework
Microsoft . Microsoft : Windows XP Embedded Windows CE. Windows CE eMbedded Visual C++ eMbedded Visual Basic. .NET Compact Framework. .NET ( , , ..) .
, .NET Compact Framework . , . , : .
.NET Compact Framework . , . , .NET Compact Framework .NET Framework. ? :
.NET Framework
18 700
80 000
Compact .NET Framework
4 700
13 000
, , . , , . , ( System.Web.UI ) System.Drawing.Imaging . ( Remoting). InteropServices p/Invoke API, COM. Reflection . . , . System.GC.Collect . .
, Compact Framework. , MSDN , Compact Framework . .NET Compact Framework Visual Studio . Visual Studio Pocket PC . , 4-6 . Visual Studio cab- Pocket PC.
. . . , , . .
_1226173862.vsd
Curr-P/ 9 Windows Vista.doc 9 Windows Vista.
Windows Communication Foundation. Windows Presentation Foundation. - Windows Workflow Foundation.
1Windows Communication Foundation
2Windows Presentation Foundation
3Windows Workflow Foundation
5
Windows Vista .
Windows Communication Foundation;
Windows Presentation Foundation;
- Windows Workflow Foundation;
;
CardSpace ;
WCF, WPF, WWF CardSpace .NET Framework 3.0 Windows. .
Windows Communication Foundation
Windows Communication Foundation .NET . WCF , .
WCF - . , . ( ). (endpoints). . , . . :
, (URI);
(binding). (TCP, HTTP), (, ) ;
(contract), , .
, , 1.
1.
. . . , .
WCF , , , . . , WCF , Windows, J2EE-, Sun Station.
WCF , Microsoft. WCF :
web-;
.NET Remoting;
Enterprise Services ( , ..);
( MSMQ);
WS-* ( web-, ).
.
Windows Presentation Foundation
Windows Presentation Foundation (WPF) API, , , . WPF Microsoft (Windows Forms, GDI+, Direct 3D, , Windows Media Player). WPF .
WPF :
, . ;
. , (XAML);
windows- , .
eXtensible Markup Language (XAML)
WPF XAML. XML. , 1.
!
1. XAML-
WPF XAML , ( Visual Studio Expression). , XAML- . XAML XAML- . Windows Forms, WPF , XAML.
XAML , , windows-.
WPF API :
(, , ..). Windows Forms ;
. ; ; , XML; ADO.NET , web-;
, (, ..);
WPF , , , ;
(- , .);
;
. ;
WPF Windows Forms;
WPF . , , XML. , .
WPF . , - .
Windows Workflow Foundation
Windows Workflow Foundation (WF) workflow- Windows. -.
- (workflow) WF , (activities). , (, , ). - . , .
-, (orchestration), - (workflow) , . , , . - .
- 3.
3. - .
WF workflow- Windows ( BizTalk Server, Exchange Server .).
- XAML- WF API. , Visual Studio . - , . .
- . , -, , windows-, .
WF -. ( , ).
WF , , , . ,
, , . , , ;
(, XML), (, ).
WF -: .
WF . , , , , . WF - . WF API , . WF , .
WF -. ( ) . . . .
, Windows Vista, . , -. .NET Framework, . XML- . , . , .
(Contract)
(Binding)
B
C
EMBED Visio.Drawing.11
B
C
A
B
C
A
A
_1237835014.vsd
_1237238914.vsd
Message