Course 2609: Introduction to C# Programming with Microsoft .NET Five daysInstructor-led Introduction

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

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

521 εμφανίσεις

Course 2609:
Introduction to C# Programming with Microsoft .NET

Five days



In this five
day instructor
led course, developers learn the fundamental skills that are required to design and develop object
oriented applications for

the Web and Microsoft Windows® by using Microsoft Visual C#® .NET and the Microsoft Visual Studio®
.NET development environment. This course provides an alternative entry point for less experienced programmers who are not
familiar with object
oriented des
ign and programming with Windows or the Web.


This course is intended for:

Devel潰ers wh漠are n潴 familiar with 潢ject
潲iented pr潧ramming.

Devel潰ers wh漠understand c潭puter pr潧ramming, but may have learned pr潧ramming by using a n潮
ical language in a

These devel潰ers want t漠build highly functi潮al Web and Wind潷s s潬uti潮s and Web Services by using Micr潳潦t Visual C⌠.NET

and the Micr潳潦t .NET Framew潲k.

At Course Completion

After completing this course, students wi
ll be able to:

Explain the .NET platf潲m.

C潮figure and use Visual Studi漠.NET.

Pr潧ram with C⌮

Implement meth潤s.

Implement encapsulati潮, inheritance, and p潬ym潲phism in C⌮

Use C⌠within the .NET Framew潲k.

Use Micr潳潦t ADO.NET to

access and manipulate data in a database.

Create feature
rich Wind潷s
based applicati潮s.

Create a Web applicati潮 by using Web F潲ms.

Use XML Web services in a C⌠applicati潮.

Experiment with m潲e advanced features 潦 C⌮


rience with object
oriented programming and concepts is not required for this course. Before attending this course, students
must have competency in the following areas:

Familiarity and c潭f潲t with basic 潰erating system functi潮s such as file manipulat

Understanding 潦 the basics 潦 structured pr潧ramming, including c潮cepts such as fl潷 c潮tr潬, variables and parameters, and

functi潮 calls.

At least three m潮ths experience devel潰ing applicati潮s in either a graphical 潲 n潮
graphical envir潮
ment, 潲 equivalent

C潵rse ㄵ㠷
: Intr潤ucti潮 t漠Pr潧ramming with Micr潳潦t Visual Basic 㘠may help students gain basic skills in pr潧ramming

Course Outline

Module 1: Getting Started

This module presents the concepts that are cen
tral to the Microsoft .NET Framework and platform, and the Microsoft Visual Studio
.NET integrated development environment (IDE); describes how to work in the development environment; and explains how to use
Visual Studio .NET to create and build applicati
ons based on Microsoft .NET.


Intr潤ucti潮 t漠.NET and the .NET Framew潲k

Expl潲ing Visual Studi漠.NET

Creating a Wind潷s Applicati潮 Pr潪ect

After c潭pleting this m潤ule, students will be able t漺

Identify c潭p潮ents 潦 the .NET platfo
rm and the .NET Framew潲k by their functi潮.

Expl潲e the Visual Studi漠devel潰ment envir潮ment.

Create a basic applicati潮 based 潮 Micr潳潦t Wind潷s.

Module 2: Understanding C# Language Fundamentals

This module explains the syntax and structure of

the C# programming language. These topics are essential for students to
understand in order to be successful in the remainder of the course; however, it is likely that most students will come into
the class
with some experience applying these concepts in
other languages.


Understanding the Fundamentals 潦 a C⌠Pr潧ram

Using C⌠Predefined Types

Writing Expressi潮s

Creating C潮diti潮al Statements

Creating Iterati潮 Statements

Lab 2.1: Writing a Savings Account Calculator

Write a Sav
ings Calculat潲

Extending the Savings Calculator

After c潭pleting this m潤ule, students will be able t漺

Understand the fundamentals 潦 a C⌠pr潧ram.

Use C⌠predefined types.

Write expressi潮s.

Create c潮diti潮al statements.

Create itera
ti潮 statements.

Module 3: Creating Objects in C#

This module introduces the fundamentals of object
oriented programming, including the concepts of objects, classes, and methods.


Defining a Class

Declaring Meth潤s

Using C潮struct潲s

sing Static Class Members

Lab 3.1: Creating Classes in C#

Creating the Bank Acc潵nt Objects

After c潭pleting this m潤ule, students will be able t漺

Define a class.

Declare meth潤s.

Use c潮struct潲s.

Use static class members.

Module 4: Impl
ementing Object
Oriented Programming Techniques in C#

This module introduces the fundamentals of object
oriented programming, including the concepts of objects, classes, and methods.


Designing Objects

Using Inheritance

Using P潬ym潲phism

Lab 4.1: Creating Classes in C#

Creating the Bank Acc潵nt Objects

After c潭pleting this m潤ule, students will be able t漺

Encapsulate inf潲mati潮 in an 潢ject.

Create an 潢ject that inherits functi潮ality fr潭 an潴her 潢ject.

Implement p潬ym潲
phism t漠use abstract classes.

Module 5: Programming with C#

This module introduces various data structures, including arrays (the System.Array class) and collections (classes in the
System.Collections namespace), and explains when to use each of these d
ata structures in an application. The module also
introduces interfaces, describes the concepts and syntax of exception handling, and explains delegates and their use in event



Using Arrays

Using C潬lecti潮s

Using Interfaces

ing Excepti潮 Handling

Using Delegates and Events

Lab 5.1: Using Arrays

S潲ting Numbers in an Array

Lab 5.2 (optional): Using Indexers and Interfaces

Writing the Check Pick
up Applicati潮

Using Interfaces

Lab 5.3 (optional): Using Delegates

and Events

W潲king with Events and Delegates

After c潭pleting this m潤ule, students will be able t漺

Create and use arrays.

Use classes in the System.C潬lecti潮s namespace.

Use the ArrayList class.

Use interfaces.

Handle excepti潮s.

reate and call a delegate.

Use delegates t漠handle events.

Module 6: Building .NET
based Applications with C#

This module presents the Microsoft .NET Framework class library, the Object Browser, and methods that are inherited from the
System.Object cl
ass. This module also explains how to format strings and numbers and how to use streams and files.


Examining the .NET Framew潲k Class Library

Overriding Meth潤s fr潭 System.Object

F潲matting Strings and Numbers

Using Streams and Files

Lab 6.1: Using Streams

C潮verting a Binary File t漠a Text File

After c潭pleting this m潤ule, students will be able t漺

Identify a namespace in the .NET Framew潲k class library by its functi潮.

Override and implement the T潓tring meth潤.


strings, currency, and date values.

Read and write b潴h binary and text files.

Module 7: Using ADO.NET to Access Data

This module explains how to use Microsoft ADO.NET and the objects in the System.Data namespace to access data in a database.
ribes how to create an application based on Microsoft Windows that uses ADO.NET. This module also describes how to use that
application to connect to a database, create a query, and use a DataSet object to manage the data, bind data to controls, and

, update, and delete records in a database.


ADO.NET Architecture

Creating an Applicati潮 That Uses ADO.NET t漠Access Data

Changing Database Rec潲ds

Lab 7.1: Creating a Data Access Application with ADO.NET

Creating a Simple Database Ta
ble Viewer

Writing a Simple Database Table Viewer

(If time permits): Creating a Simple Database Table Viewer

Lab 7.2 (optional): Creating a Windows Application That Uses ADO.NET

Creating a Wind潷s Applicati潮 That Uses ADO.NET

(If time permits)
: Writing an ADO.NET Applicati潮 with Wind潷s F潲ms

After c潭pleting this m潤ule, students will be able t漺

Describe ADO.NET.

Create a Wind潷s
based applicati潮 that uses ADO.NET.

C潮nect t漠a database.

Create a query.

Use a DataSet 潢ject
t漠manage data.

Bind a DataGrid 潢ject t漠a data s潵rce.

Insert, update, and delete a database rec潲d.

Module 8: Creating Windows
based Applications

This module describes how to create menus, common and custom dialog boxes, status bars, and toolbar
s to enhance the usability
of an application based on Microsoft Windows. The purpose of this module is to allow the students to apply their newly acquir
ed C#
language skills and develop useful Windows
based applications.


Creating the Main Menu

Creating and Using C潭m潮 Dial潧 B潸es

Creating and Using Cust潭 Dial潧 B潸es

Creating and Using T潯lbars

Creating the Status Bar

Creating and Using C潭b漠B潸es

Lab 8.1: Building Windows Applications

Adding C潭m潮 Dial潧 B潸es t漠an Appli

Creating and Using Cust潭 Dial潧 B潸es

Creating a Status Bar

(If Time Permits): Using C潭b潂潸 C潮tr潬s

After c潭pleting this m潤ule, students will be able t漺

Create the main menu.

Create and use c潭m潮 dial潧 b潸es.

Create and u
se cust潭 dial潧 b潸es.

Create and use t潯lbars.

Create the status bar.

Create and use c潭b漠b潸es.

Module 9: Using XML Web Services in a C# Program

The module introduces the System.Web.Services namespace and the process of building and consumin
g XML Web services in a C#



C潮suming an XML Web Service

Building an XML Web Service

Lab 9.1: Using XML Web Services

Writing the Office Building Estimati潮 Applicati潮

After c潭pleting this m潤ule, students will be able t漺

Request data fr潭 an XML Web service fr潭 within a C⌠applicati潮.

Build an XML Web service.

Module 10: Creating a Web Application with Web Forms

In this module, students learn that in Microsoft Visual Studio .NET, you can use Web Forms to create p
rogrammable Web pages.
This module introduces the System.Web.UI namespace and describes how to create a Web application with a Web Form. Students
learn how to add controls to a Web Form and then use the Web Form to submit data and respond to events. The mo
dule also
covers Microsoft ASP.NET state management, security, and configuration settings.


Creating a Web F潲ms Applicati潮

Accessing Data by Using a Web F潲ms Applicati潮

C潮figuring ASP.NET Applicati潮 Settings

Lab 10.1: Developing an
ASP.NET Web Application

C潭pleting the User Authenticati潮 Validati潮 C潤e

C潭pleting the C潤e f潲 the Master.aspx F潲m

Testing the Applicati潮

After c潭pleting this m潤ule, students will be able t漺

Create a Web F潲ms applicati潮.

Handle ev
ents 潮 a Web F潲ms applicati潮.

Access data fr潭 a Web F潲ms applicati潮.

C潮figure ASP.NET applicati潮 settings.

Module 11: Application Settings and Deployment

This module introduces the procedures that are involved in deploying a C# application
by using Microsoft Visual Studio .NET. It
explains how to deploy both Web
based applications and applications that are based on Microsoft Windows. It also describes how to
store user preferences and configure application settings.


W潲king with A
pplicati潮 Settings

Depl潹ing Applicati潮s

Lab 11.1: Deploying an Application

Adding a Setup Pr潪ect t漠an Existing Applicati潮

Installing and Testing the Setup Applicati潮

Lab 11.2 (optional): Working with Application Settings

Adding the Use
rPreferences Class

Adding User Preferences t漠the F潲m L潡d Event

Adding User Preferences t漠the l潡dItem彃lick Event

Declaring an Instance 潦 the UserPreferences Class in the Opti潮s F潲m

Setting the Checkb潸 C潮tr潬s t漠the Values C潮tained
in the Registry

Save the Checkb潸 C潮tr潬s Values t漠the Registry

Testing the Z潯 Inf潲mati潮 Applicati潮

After c潭pleting this m潤ule, students will be able t漺

W潲k with applicati潮 settings.

Depl潹 an applicati潮.

Module 12: Exploring Fut
ure Learning

This module provides an opportunity for students to explore some of the more advanced

capabilities of C#, to practice the knowledge and skills that they acquired during the course,

and discuss their questions as a group.


ng Additi潮al Features 潦 C#

After c潭pleting this m潤ule, students will be able t漺

L潣ate res潵rces f潲 additi潮al C⌠features.

Use th潳e res潵rces t漠further devel潰 any 潦 the

pr潪ects that they started earlier in this c潵rse.

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

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

dB Wizards Inc.

28/F 88 Corporate Center

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

For inquiries, please contact Neri Castro

) or
Nanette Samson

) at Tel. (632)