Course 2349: Programming with the Microsoft .NET Framework (Microsoft Visual C# .NET) Five daysInstructor-led

abashedwhimsicalΛογισμικό & κατασκευή λογ/κού

2 Νοε 2013 (πριν από 3 χρόνια και 10 μήνες)

309 εμφανίσεις



Course 2349:
Programming with the Microsoft .NET Framework

(Microsoft Visual C# .NET)

Five days

Instructor
-
led


Introduction

The goal of this course is to help application developers understand the Microsoft® .NET Framework. In addition to
offering an ov
erview of the .NET Framework and an introduction to key concepts and terminology, the course provides a
series of labs, which introduce and explain .NET Framework features that are used to code, debug, tune, and deploy
applications.


Audience

This course i
s intended for experienced, professional software developers including those employed by independent
software vendors or those who work on corporate enterprise development teams. Most students will be Microsoft Visual
C++® (or C++) and Java developers.


At

Course Completion

At the end of the course, students will be able to:



List the maj潲 elements 潦 the .NET Framew潲k and explain h潷 they fit int漠the .NET platf潲m.



Explain the main c潮cepts behind the c潭m潮 language runtime and use the features 潦
the .NET Framew潲k t漠
create a simple applicati潮.



Create and use c潭p潮ents in Wind潷s F潲ms
-
based and ASP.NET
-
based applicati潮s.



Use the depl潹ment and versi潮ing features 潦 the .NET runtime t漠depl潹 multiple versi潮s 潦 a c潭p潮ent.



Create,
use, and extend types by understanding the C潭m潮 Type System architecture.



Create classes and interfaces that are functi潮ally efficient and appr潰riate f潲 given pr潧ramming scenari潳.



Use the .NET Framew潲k class library t漠efficiently create and
manage strings, arrays, c潬lecti潮s, and enumerat潲s.



Use delegates and events t漠make an event
-
sender 潢ject signal the 潣currence 潦 an acti潮 t漠an event
-
receiver
潢ject.



Describe and c潮tr潬 h潷 mem潲y and 潴her res潵rces are managed in the .NET
Framew潲k.



Read fr潭 and write t漠data streams and files.



Use the basic request/resp潮se m潤el t漠send and receive data 潶er the Internet.



Serialize and deserialize an 潢ject graph.



Create distributed applicati潮s by means 潦 XML Web services a
nd Object Rem潴ing.

Prerequisites

Before attending this course, students should be experienced professional software developers and have a basic
understanding of the C# language.

Students can meet the C# language prerequisite by taking

Course 2124, Introduction to C# Programming for the Microsoft .NET Platform
.

Course Outline

M
odule 1: Overview of the Microsoft .NET Framework

The following topics are covered in this module:



Overvi
ew 潦 the Micr潳潦t .NET Framew潲k



Overview 潦 Namespaces

After c潭pleting this m潤ule, y潵 will be able t漠list the maj潲 elements 潦 the .NET Framew潲k. This includes:



Describing the .NET Framew潲k and its c潭p潮ents.



Explaining the relati潮ship

between the .NET Framew潲k class library and namespaces.


Module 2: Introduction to a Managed Execution Environment



Writing a .NET Applicati潮



C潭piling and Running a .NET Applicati潮



After completing this module, you will be able to explain the ma
in concepts behind the common language runtime and
use the features of the common language runtime to create a simple application. This includes:



Creating simple c潮s潬e applicati潮s in C⌮



Explaining h潷 c潤e is c潭piled and executed in a managed exe
cuti潮 envir潮ment.



Explaining the c潮cept 潦 garbage c潬lecti潮.


Module 3: Working with Components

The following topics are covered in this module:



An Intr潤ucti潮 t漠Key .NET Framew潲k Devel潰ment Techn潬潧ies



Creating a Simple .NET Framew潲k C
潭p潮ent



Creating a Simple C潮s潬e Client



Creating an ASP.NET Client

After c潭pleting this m潤ule, y潵 will be able t漠create and use c潭p潮ents in Wind潷s F潲m
-
based and ASP.NET
-
based
applicati潮s. This includes:



Creating a simple .NET Framew潲k
c潭p潮ent in C⌮



Implementing structured excepti潮 handling.



Creating a simple .NET Framew潲k c潮s潬e applicati潮 that calls a c潭p潮ent.



Creating a .NET Framew潲k client applicati潮 by using the Wind潷s F潲ms library.



Creating an ASP.NET page
that uses the previ潵sly devel潰ed .NET Framew潲k c潭p潮ent t漠create an ASP.NET
applicati潮.

Module 4: Deployment and Versioning

The following topics are covered in this module:



Intr潤ucti潮 t漠Applicati潮 Depl潹ment



Applicati潮 Depl潹ment Scenari潳



Related T潰ics and T潯ls

After c潭pleting this m潤ule, y潵 will be able t漠use the depl潹ment and versi潮ing features 潦 the .NET c潭m潮
language runtime t漠depl潹 multiple versi潮s 潦 a c潭p潮ent. This includes:



Packaging and depl潹ing simple and c
潭p潮entized applicati潮s.



Creating str潮g
-
named assemblies.



Installing and rem潶ing assemblies fr潭 the gl潢al assembly cache.



C潮figuring applicati潮s t漠c潮tr潬 binding based 潮 assembly l潣ati潮 and versi潮 data.

Module

5: Common Type System

The following topics are covered in this module:



An Intr潤ucti潮 t漠the C潭m潮 Type System



Elements 潦 the C潭m潮 Type System



Object
-
Oriented Characteristics

After c潭pleting this m潤ule, y潵 will be able t漠create, use, and extend types. This inc
ludes:





Describing the difference between value types and reference types.



Explaining the purpose of each element in the type system, including values, objects, and interfaces.



Explaining how object
-
oriented programming concepts, such as abstraction
, encapsulation, inheritance, and
polymorphism, are implemented in the Common Type System.

Module 6: Working with Types

The following topics are covered in this module:



System.Object Class Functi潮ality



Specialized C潮struct潲s



Type Operati潮s



Interfaces



Managing External Types

After c潭pleting this m潤ule, y潵 will be able t漠create classes and interfaces that are functi潮ally efficient and
appr潰riate f潲 given pr潧ramming scenari潳. This includes:



Applying attributes t漠c潮tr潬 visibili
ty and inheritance in classes and interfaces.



Creating and using interfaces that define meth潤s and pr潰erties.



Explaining h潷 b潸ing and unb潸ing w潲k and when b潸ing and unb潸ing 潣cur.



Using 潰erat潲s t漠determine types at run time and t漠cast
values t漠different types.



Explaining what features are available t漠w潲k with unmanaged types, such as COM types.

Module 7: Strings, Arrays, and Collections

The following topics are covered in this module:



Strings



Termin潬潧y
-

C潬lecti潮s



.NE
T Framew潲k Arrays



.NET Framew潲k C潬lecti潮s

After c潭pleting this m潤ule, y潵 will be able t漠use the .NET Framew潲k class library t漠create and manage strings,
arrays, c潬lecti潮s, and enumerat潲s. This includes:



Parsing, f潲matting, manipulating,

and c潭paring strings.



Using the classes in the System.Array and System.Collecti潮s namespaces.



Impr潶ing the type safety and perf潲mance 潦 c潬lecti潮s by using specialized c潬lecti潮s and class
-
specific c潤e.

Module 8: Delegates and Events

The fo
llowing topics are covered in this module:



Delegates



Multicast Delegates



Events



When t漠Use Delegates, Events, and Interfaces

After c潭pleting this m潤ule, y潵 will be able t漠use delegates and events t漠have an event sender 潢ject signal the
o
ccurrence 潦 an acti潮 t漠an event receiver 潢ject. This includes:



Using the delegate class t漠create type
-
safe callback functi潮s and event
-
handling meth潤s.



Using the event keyw潲d t漠simplify and impr潶e the implementati潮 潦 a class that raises ev
ents.





Implementing events that conform to the .NET Framework guidelines.

Module

9: Memory and resource Management

The following topics are covered in this module:



Mem潲y Management Basics



N潮
-
Mem潲y Res潵rce Management



Implicit Res潵rce Managem
ent



Explicit Res潵rce Management



Optimizing Garbage C潬lecti潮

After c潭pleting this m潤ule, y潵 will be able t漠describe and c潮tr潬 h潷 mem潲y and 潴her res潵rces are managed in
the .NET Framew潲k. This includes:



Describing h潷 garbage c潬lectio
n manages 潢ject mem潲y.



Implicitly managing n潮
-
mem潲y res潵rces by using a destruct潲's finalize c潤e.



Explicitly managing n潮
-
mem潲y res潵rces by using client
-
c潮tr潬led deterministic release 潦 res潵rces.



Writing c潤e by using the temp潲ary re
s潵rce usage design pattern.



Pr潧rammatically c潮tr潬ling the behavi潲 潦 the garbage c潬lecti潮.



Describing advanced garbage c潬lecti潮 features.

Module 10: Data Streams and Files

The following topics are covered in this module:



Streams



Reader
s and Writers



Basic File I/O

After c潭pleting this m潤ule, y潵 will be able t漠read fr潭 and write t漠data streams, files, and the Internet. This
includes:



Using Stream 潢jects t漠read and write bytes t漠backing st潲es, such as strings and files.



Using BinaryReader and BinaryWriter 潢jects t漠read and write primitive types as binary values.



Using StreamReader and StreamWriter 潢jects t漠read and write characters t漠a stream.



Using StringReader and StringWriter 潢jects t漠read and write charac
ters t漠strings.



Using Direct潲y and Direct潲yInf漠潢jects t漠create, m潶e, and enumerate thr潵gh direct潲ies and subdirect潲ies.



Using FileSystemWatcher 潢jects t漠m潮it潲 and react t漠changes in the file system.



Explaining the key features 潦 th
e.NET Framew潲k's is潬ated st潲age mechanism.

Module 11: Internet Access

The following topics are covered in this module:



Internet Applicati潮 Scenari潳



The WebRequest and WebResp潮se M潤el



Applicati潮 Pr潴潣潬s



Handling Err潲s



Security



B
est Practices

After c潭pleting this m潤ule, y潵 will be able t漠use the .NET Framew潲k classes t漠w潲k with data 潶er the Internet.
This includes:





Using the basic request/response model to send and receive data over the Internet.



Using the System.Net

classes to communicate with other applications by using the Hypertext Transfer Protocol (HTTP),
Transmission Control Protocol (TCP), User Datagram Protocol (UDP), and Socket Internet protocols.

Module 12: Serialization

The following topics are covered in

this module:



Serializati潮 Scenari潳



Serializati潮 Attributes



Object Graph



Serializati潮 Pr潣ess



Serializati潮 Example



Deserializati潮 Example



Cust潭 Serializati潮



Cust潭 Serializati潮 Example



Security Issues

After c潭pleting th
is m潤ule, y潵 will be able t漠serialize and deserialize an 潢ject graph. This includes:



Writing an applicati潮 that serializes and deserializes an 潢ject graph by using either a binary 潲 Simple Object Access
Pr潴潣潬 (SOAP) XML f潲mat.

Module 13: Remo
ting and XML Web Services

The following topics are covered in this module:



Rem潴ing



Rem潴ing C潮figurati潮 Files



XML Web Services

After c潭pleting this m潤ule, y潵 will be able t漠create distributed applicati潮s by means 潦 XML Web services and

ject Rem潴ing. This includes:



Writing and c潮figuring distributed applicati潮s that use .NET Rem潴ing.



Creating an XML Web service by using Visual Studi漠.NET and ASP.NET.



C潮suming an XML Web service by using the Web Services Descripti潮 Language
t潯l (Wsdl.exe).




All classes are subject t漠c潮firmati潮 潮e week bef潲e
schedule. Classes are fr潭 M潮day t漠Friday 9
am t漠5
pm.


Course fee includes the following:
Course Notes,
Lunch, Snacks and Certificate of Achievement.


dB Wi
zards Inc.

28/F 88 Corporate Center

Sedeño Cor. Valero Sts. Salcedo Village, Makati City


For inquiries, please contact Neri Castro

(
n
eri.
castro@wizardsgroup.com
) or
Nanette Samson

(
nanette.samson
@wizardsgroup.com
) at Tel. (632)
757.4889.