Module 1: Overview of the Microsoft .NET Framework - 4Learn

quiverlickforkSoftware and s/w Development

Nov 2, 2013 (3 years and 8 months ago)

124 views

Module 1:
O Ove ver rvi vie ew w of of t th he e
Microsoft .NET
FrameworkWhat Is the Microsoft .NET Platform?
IIn ntte er rn ne ett
Visual Studio .NET
O Or rc ch he es sttr ra attiio on n
IIIIn n n ntttte e e er r r rn n n ne e e etttt
..N NE ET T
B B B Bu u u uiiiilllld d d diiiin n n ng g g g
....N N N NE E E ET T T T
B Bllo oc ck k
Enterprise
F Fr ra am me ew wo or rk k
C CO OM M+ +
S Se er rv viic ce es s
Servers
Windows
A Av va aiilla ab blle e W Wiitth h ..N NE ET T N Ne ew w
T To od da ay y E En nh ha an nc ce em me en ntts s C Ca ap pa ab biilliittiie es sWhat is the .NET Framework?
Developer
Clients
Tools
ASP.NET Web
Applications
Databases
XML Web
User
Services
.NET
Experiences
FrameworkThe .NET Framework Components
Visual
C++ C# Perl Python …
Basic
X XM ML L W We eb b S Se er rv viic ce es s U Us se er r IIn nt te er rf fa ac ce e
A AS SP P..N NE ET T
A AD DO O..N NE ET T a an nd d X XM ML L
..N NE ET T F Fr ra am me ew wo or rk k C Clla as ss s L Liib br ra ar ry y
C Co om mm mo on n L La an ng gu ua ag ge e R Ru un nt tiim me e
C CO OM M+ +
M Me es ss sa ag ge e
( (T Tr ra an ns sa ac ct tiio on ns s,, P Pa ar rt tiit tiio on ns s,, IIIIS S W WM MII
Q Qu ue eu uiin ng g
O Ob bjje ec ct t P Po oo olliin ng g) )
W Wiin n3 32 2The Common Language Runtime
 One runtime for all . NET-Based Languages
 Manages threads and memory
 Garbage collection
 E En nf fo or rc ce es s c co od de e s se ec cu ur riit ty y
 Eliminates DLL versioning problems
 Multiple versions of a DLL can run simultaneously
 Applications can specify a version of a DLL to useCommon Language Runtime
B Ba as se e C Clla as ss s L Liib br ra ar ry y S Su up pp po or rtt
T Th hr re ea ad d S Su up pp po or rtt C CO OM M M Ma ar rs sh ha alle er r
T Ty yp pe e C Ch he ec ck ke er r E Ex xc ce ep pttiio on n M Ma an na ag ge er r
S Se ec cu ur riitty y E En ng giin ne e D De eb bu ug g E En ng giin ne e
M MS SIIL L tto o N Na attiiv ve e C Co od de e G Ga ar rb ba ag ge e
C Co om mp piille er rs s M Ma an na ag ge er r C Co olllle ec cttiio on n
C Clla as ss s L Lo oa ad de er rBenefits of Using the .NET Framework
 Based on Web standards and practices
 Functionality of .NET classes is universally available
 Code is organized into hierarchical namespaces and
classes
 L La an ng gu ua ag ge e iin nd de ep pe en nd de en nt t
M MF FC C//A AT TL L
..N NE ET T
W Wiin nd do ow ws s
V Viis su ua all B Ba as siic c
F Fr ra am me ew wo or rk k
A AP PII
A AS SP P
1990’s 2000’s
1980’s.NET Framework Class Library
S Sy ys stte em m S Sy ys stte em m..S Se ec cu ur riitty y S Sy ys stte em m..R Ru un nttiim me e..
IIn ntte er ro op pS Se er rv viic ce es s
S Sy ys stte em m..N Ne ett S Sy ys stte em m..T Te ex xtt S Sy ys stte em m..G Gllo ob ba alliiz za attiio on n
S Sy ys stte em m..T Th hr re ea ad diin ng g S Sy ys stte em m..C Co on nffiig gu ur ra attiio on n
S Sy ys stte em m..R Re efflle ec cttiio on n
S Sy ys stte em m..D Diia ag gn no os sttiic cs s S Sy ys stte em m..C Co olllle ec cttiio on ns s
S Sy ys stte em m..IIO OUser Interface
S Sy ys stte em m..W Wiin nd do ow ws s..F Fo or rm ms s
S Sy ys stte em m..D Dr ra aw wiin ng gADO.NET: Data and XML
S Sy ys stte em m..X Xm mll
S Sy ys stte em m..D Da atta a
S S S Sy y y ys s s stttte e e em m m m....X X X Xm m m mllll....S S S Sc c c ch h h he e e em m m ma a a a
D Da atta aS Se ett D Da atta aR Ro ow w
S Sy ys stte em m..X Xm mll..S Se er riia alliiz za attiio on n
D Da atta aT Ta ab blle e D Da atta aV Viie ew wASP.NET: Web Forms and Services
A AS SP P ..N NE ET T
S Sy ys stte em m..W We eb b
S Se er rv viic ce es s U UII
D D D De e e es s s sc c c cr r r riiiip p p pttttiiiio o o on n n n H H H Httttm m m mllllC C C Co o o on n n nttttr r r ro o o olllls s s s
D Diis sc co ov ve er ry y W We eb bC Co on nttr ro olls s
P Pr ro otto oc co olls s
C Ca ac ch hiin ng g
S Se ec cu ur riitty y
S Se es ss siio on nS Stta atte e
C Co on nffiig gu ur ra attiio on nWhat Are the Visual Basic .NET Enhancements?
 Major language enhancements
 Enhanced object-oriented support
 Structured exception handling
 Full access to the .NET Framework
 New threading options
 Garbage collection
 Enhanced Web development
 Create Web Forms as easily as Windows Forms
 Create Web Services quicklyVisual Studio .NET: The Tool for .NET Development
Web Forms Windows
Tools Forms Tools
Multiple
Visual Studio .NET
Error
Languages
Handling
Web
Data
Services
Access
Tools
Design Develop Debug DeployMultiple Language Support
 The .NET Framework is designed to support many
languages
 More than 20 languages currently supported
 Microsoft provides Visual Basic .NET, C#,
V Viis su ua all J J# # ..N NE ET T,, a an nd d J JS Sc cr riip ptt ..N NE ET T
 Benefits of multiple-language support
 Code modules are reusable
 API access is the same for all languages
 The right language is used for the right task
 Performance is roughly equal between all languagesLanguages in the .NET Framework
 Visual Basic .NET
New version of Visual Basic with substantial language innovations
 C# – designed for .NET
New component-oriented language
 M Ma an na ag ge ed d E Ex xt te en ns siio on ns s t to o V Viis su ua all C C+ ++ +
Provides more power and control
 J# .NET
Takes full advantage of the .NET Framework
 Third-party languagesWhat is ASP.NET?
 Evolutionary, more flexible successor to Active Server
Pages
 Dynamic Web pages that can access server resources
 Server-side processing of Web Forms
 XML Web services let you create distributed Web
applications
 Browser-independent
 Language-independentASP.NET Web Application
ASP.NET Web Server
Clients
Web
Forms
Web.
Page1.
config
Code-
aspx
behind
pages
P Pa ag ge e2 2..
m ma ac ch hiin ne e..
IIn nt te er rn ne et t
aspx
config
global.
asax
Web
XML
Components
Database
Services
Data
O Ou uttp pu utt C Ca ac ch he eASP.NET Execution Model