Microsoft .NET Framework Overview - PowerPoint PPT Presentation

About This Presentation
Title:

Microsoft .NET Framework Overview

Description:

... hash table IO: file, streams NET: stuff that allows you to do tcpip, sockets On top of the base classes we have the Data and Xml support. – PowerPoint PPT presentation

Number of Views:44
Avg rating:3.0/5.0
Slides: 45
Provided by: Svet83
Category:

less

Transcript and Presenter's Notes

Title: Microsoft .NET Framework Overview


1
(No Transcript)
2
Microsoft .NET Framework
???????????? ?? .NET Framework
http//www.nakov.com/dotnet/
?????? ?????
??????? ?????
?????????? ???????? ?? ?????????? ?? ???????
academy.devbg.org
3
??????? ?? Microsoft ?? .NET
  • ???????????
  • ?? ????? ??????????
  • ?????????
  • ?? ????? ?????

XML Web ???????????????? ?? ?????? ????????? ?
????????????
Authentication
Scheduling
Notification
Back Office??????????? ?????????????? ?? ???????
Sales
Customer Service
ERP Billing
4
.NET Framework
  • ????? ?? ???????????? ?? .NET
  • ????????? ?? ?????????? ?? .NET ??? ? ???????????
    ?????
  • ?????? ????? ?? ?????????? ? ?????????? ??
    ??????? ?????????? ? Web ??????
  • ????????? API ? ?????? framework, ????????? ??
    ??????? ?? ????????????
  • ????? ?????? ?? ???????? ????????? (Windows,
    Linux, FreeBSD, )

5
??????? ?? .NET Framework FCL CLR
  • Common Language Runtime
  • ?????????? ?? ??????? (garbage collection)
  • ?????????? ?? ???????? ?????
  • ???????? ????????? ?????? ?? ???????????? (?.
    ???. assemblies) ???? ???? ?????????
  • ??????????? ?????????
  • Framework Class Library
  • ?????????? ????????? ?????????????? ??
    ??????????
  • ASP.NET, Web Services, ADO.NET, Windows Forms,
    IO, XML, ...

6
.NET Framework Common Language Runtime
  • CLR ????????? ??????? ?? ?????????? ?? ????
  • ????????? ???????, ???????????????, ...
  • Code-based security
  • Role-based security

Common Language Runtime
Operating System
7
.NET Framework Base Class Library
  • ?????? ???????-??????????? ?????????? ??
    ?????????????? ??????
  • ????????, ????-?????, ?????? ??? ???????? ??????,

.NET Framework (Base Class Library)
Common Language Runtime
Operating System
8
.NET Framework Data Access Layer
  • ?????? ?? ?????????? ???? ?????
  • Disconnected ????? ?? ???????
  • ?????? ? XML

ADO .NET and XML
.NET Framework (Base Class Library)
Common Language Runtime
Operating System
9
.NET Framework ASP.NET Windows Forms
  • ????????????? ????????? ?? ????????????
    Web-???????, Windows GUI, Web ??????,

ASP .NET Web Forms Web Services Mobile Internet
Toolkit
Windows Forms
ADO .NET and XML
.NET Framework (Base Class Library)
Common Language Runtime
Operating System
10
.NET Framework Programming Languages
  • ?????????? ??????? ?? ????!

C
C
VB.NET
Perl
J

Common Language Runtime
Operating System
11
.NET Framework Common Language Specification
Common Language Specification
Common Language Runtime
Operating System
12
.NET Framework Visual Studio .NET
C
C
VB.NET
Perl
J

Visual Studio .NET
Common Language Specification
Common Language Runtime
Operating System
13
????????? ?? ????? ?????
  • IL (MSIL or CIL) Intermediate Language
  • ???? ?? ????? ???? (??????? ????), ???? ????????,
    ?? ???????-??????????
  • CTS ??????? ?? ??????, ???????? ? CLR
  • ???????????? ?????? (int, float, string, )
  • ? ?????????? ???????? ??? ???? ??????
  • ??? ???? Value types ? Reference types
  • CLS ????????? ?? ????????????, ????? ?????? ??
    ?? ??????? ?? ?????? ????? ? ??????????
  • ???? ?? ????????? ???????????? ?? ??????????????
    ????? ?????????? ?????

14
???????? ???????? ?? MSIL
.method private hidebysig static void Main() cil
managed .entrypoint // Code size 11
(0xb) .maxstack 8 ldstr "Hello, world!"
call void mscorlibSystem.ConsoleWriteLine
(string) ret // end of method HelloWorldMain
15
.NET ???????
  • ?????, ???????????? ?? Microsoft
  • C, C, J, VB.NET, JScript
  • ????? ?? ????? ??????????
  • Perl, Python, Pascal, APL, COBOL, Eiffel,
    Haskell, ML, Oberon, Scheme, Smalltalk
  • ???????? ?? ???????????? ?????
  • ???????????? ??????????? ?? ?????? ? ??????????
    ?? ??????????
  • ???? ?????? ???? ?? ??????? ??? ?? ???????? ?????
  • ???????????? ? ????????, ? ?? ????????
  • ???? ???????????? ?????????? ??? ????? API ??
    ?????

16
?????? C
  • ??????? ????? C, Java ? Delphi
  • ???????????-??????????o ????????????
  • ????????, ??????, ???????
  • ????????, XML-???????? ????????????
  • ?????? ?????, ??? header ???????, IDL ? ?.?.
  • ???? ?? ?? ?????? ? Web-??????????
  • ?????? ? ?????!
  • ???????????? ?????? ?? ??????, ????. 5.ToString()
    ? ??????? ?????????
  • ?????? ??????? ?????? ??????? ?? ??????
  • ????? ???????????? ? ?????????? ?? ?????????????

17
?????? C ??????
using System class HelloWorld public
static void Main() Console.WriteLine("H
ello!, world!")
18
?????????? ? ??????????
??????????
?????? ?? assembly (.EXE ??? .DLL ????)
- ?????? ????? ????? ?? ?????? ?? ????? ???
??????????
- ????????????? ??? ???????????
19
VS.NET ?????? ????? ?? ?????????? ??????
??????
  • ?? Visual Studio.NET ??????
  • ?? ?????? ???
  • ?? ???????? ????????????? ?????????
  • ?? ??????????? ??????????????
  • ?? ??????????? ? ????????
  • ?? ?????????
  • ?????? ????? ?? ?????? ?????
  • ?????? ????? ?? ?????? ?????????
  • ?????? ????? ?? ?????? ??????????

20
Visual Studio .NET
21
.NET Framework Library
ADO.NET ? XML
Base Class Library
22
.NET Framework ??????
23
???????? ?? Base Class Library
System
Security
Collections
ServiceProcess
Configuration
Text
Diagnostics
Threading
Globalization
IO
Runtime
InteropServices
Net
Remoting
Reflection
Serialization
Resources
24
Base Class Library
  • ?????? ?????, ????????????, ???????????
  • ???????? ArrayList, Hashtable, ...
  • ??????????????????? ???????, ?????????
  • I/O ??????? ? ???????? ??????, ???????, ...
  • ??????? ???????????? TCP/IP, HTTP, ...
  • Reflection ????????? ? ????????? ?? MSIL
  • ????????? ????????????, ????? ?? ??????
  • ????? ?????????, ????????? ??????, ...
  • Remoting ? Serialization ?????????? ?????????
  • ?????????????? ? ?????????????

25
???????? Data ? XML
26
ADO.NET ? XML
  • ADO.NET ?????? ???????? ?????? ?????
  • XML (??????????), ??????????, ...
  • ????? ???????? ? ??????? (DataSet)
  • DataSet ???? ?? ??????? ???????? ?????? ???????,
    ???????, ???????, constraints, ...
  • ???, stateless, disconnected ?????
  • ???????? ???????? ?????????? ? XML ??????
  • ??????????????? ???????-?????????? ?????? ??
    ???????
  • ????? ????????? ?? XML
  • W3C DOM, XPath, XSLT ? XSchema

27
VS.NET DataSet ????????
28
???????? ?? Windows Forms
System.Windows.Forms
Design
ComponentModel
System.Drawing
Drawing2D
Printing
Imaging
Text
29
Windows Forms
  • Windows Forms ? framework ?? ????????? ??
    ?????????? ? ??????????-??????? ????????
    ????????????? ?????????
  • RAD (Rapid Application Development)
  • ???????????-??????????
  • ??????? ?? ???????
  • ????? ????? ?? ????????
  • Data-aware ??????????
  • ????????? ?? ????????
  • ???????? ????????? ?? Unicode
  • ????????? ??????????? ?? ????????????? ?????????

30
VS.NET Windows Forms ????????
31
???????????? 1
  • ????????? ?? ?????? ?????????? ?? ?????? ?? ????
    ?? ????? ????
  • Windows Forms
  • ADO.NET
  • MS SQL Server
  • Visual Studio .NET

32
???????????? 1 ???????????
Database Microsoft SQL Server
SqlConnection
SqlDataAdapter
Update
Fill
33
???????? ?? ASP.NET
System.Web
Services
UI
HtmlControls
Description
WebControls
Discovery
Protocols
Caching
Security
Configuration
SessionState
34
ASP.NET
  • Framework ?? ????????? ?? Web-???????? ??????????
    ? Web-?????? ?? ????? .NET ????
  • C, C, VB.NET, JScript, ...
  • ???????? ?? ???????? ???????
  • DHTML, HTML 3.2, WML, ??????? ??????????
  • ASP.NET Web-???????????? ?? ?????????? ??
    assemblies
  • ??????? ?? ??? ????? ????????? ? ???? ???? ??
    ?????????? ?? ???? ???????
  • ??? ????????? ?? ???? ?? Web-???????
  • ????????????? ? ??????????? ????? ?? ???????
    ??????????

35
ASP.NET
  • ????? ????? ?? ASP.NET server ????????
  • ????????? ?? ???????
  • Data-bound grids
  • Event-driven ????? ?? ??????????
  • ??????? ????????? ?? Web-??????
  • ????? ?????????? (deployment)
  • ?????? ??????????
  • ?????? ???????????????? ? ????????????
  • ?????????? ?????????? ?? ???????????? ??
    ??????????? (session state management)

36
VS.NET Web Forms ????????
37
???????????? 2
  • ????????? ?? ?????? Web-???????? ?????????? ??
    ?????? ?? ???? ????? ????
  • ASP.NET (Web Forms)
  • ADO.NET
  • MS SQL Server
  • MS Internet Information Server
  • Visual Studio .NET

38
???????????? 2 ???????????
Database Microsoft SQL Server
SqlConnection
SqlDataAdapter
Update
Fill
39
Web-??????
  • Web-???????? ?? ????????? ??????????, ????????
    ?????????? ???? Web
  • ????????? ??????????? HTTP, XML ? SOAP
  • ???? ?????????? ???????? ?? ????? WSDL
  • ???????? ?? ? ?????? ?? ????? ?????? ?? ?????
    ?????????
  • ??????? ?? ?????????? ? ??????-??????? ???????
    ?? ???????????-????????????? ????????????, ??
    ?????? ???? Web
  • ASP.NET ????????? ????? ?? ?????????? ??
    Web-??????
  • ????? .ASMX ??????? ? ?????????? ??????? ? ??????
    ? ???
  • ASP.NET ?? ????????? ??? ?????????, ???????? ??
    WSDL ? ??????? ?? ??????? ????????

40
Web Service ?????? ?? C
ParcelTracker.asmx
lt_at_ WebService Language"C" gt using
System using System.Web.Services public class
ParcelTrackerWebService WebMethod
public string GetOrderStatus( int
orderNumber) // Implementation here
// return some_result
41
???????????? 3
  • ????????? ?? ?????? Web-?????? ????
  • ASP.NET (Web Services)
  • MS Internet Information Server
  • Visual Studio .NET

42
.NET Framework ???????
  • Web-???????
  • ????????? ???? ?? .NET Framework
    http//msdn.microsoft.com/netframework/
  • Microsoft .NET Framework Community
    http//www.gotdotnet.com/
  • ASP.NET http//www.asp.net/
  • .NET Windows Forms http//www.windowsforms.net/
  • OReilly .NET Community Site http//www.ondotnet
    .com/
  • Microsoft Patterns and Practices
    http//msdn.microsoft.com/practices/
  • Code Project http//www.codeproject.net/

43
.NET Framework ???????
  • Web-???????
  • Mono Open Source .NET Framework
    http//www.go-mono.org/
  • Rotor MS Shared Source .NET CLI
    http//msdn.microsoft.com/net/sscli/
  • ???? ?? .NET Framework ? ???????? ???????????
    http//www.nakov.com/dotnet/
  • ????????
  • ?????????? ?? .NET Framework news//msnews.micro
    soft.com/microsoft.public.dotnet.framework
  • ??????????? ???????? ?? Microsoft
    news//msnews.microsoft.com/microsoft.public.bg.d
    eveloper

44
Microsoft .NET Framework?????? ?????
  • ????????
Write a Comment
User Comments (0)
About PowerShow.com