Introduction to C# Programming with Microsoft .NET
Revision: TE4508_20081015
- Course Length:
- 5 Days
- Course Description:
- 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 design and programming with Windows or the Web.
- Who Should Attend:
- This course is intended for developers who are not familiar with object-oriented programming and developers who understand computer programming, but may have learned programming by using a non-graphical language in a university. These developers want to build highly functional Web and Windows solutions and Web Services by using Microsoft Visual C# .NET and the Microsoft .NET Framework.
- Benefits of Attendance:
-
Upon completion of this course, students will be able to:
- Explain the .NET platform.
- Configure and use Visual Studio .NET.
- Program with C#.
- Implement methods.
- Implement encapsulation, inheritance, and polymorphism in C#.
- Use C# within the .NET Framework.
- Use Microsoft ADO.NET to access and manipulate data in a database.
- Create feature-rich Windows-based applications.
- Create a Web application by using Web Forms.
- Use XML Web services in a C# application.
- Experiment with more advanced features of C#.
- Prerequisites:
- Experience with object-oriented programming and concepts is not required for this course. Before attending this course, students must be familiar and comfortable with basic operating system functions such as file manipulation. They should also have an understanding of the basics of structured programming, including concepts such as flow control, variables and parameters, and function calls. At least three months experience developing applications in either a graphical or non-graphical environment, or equivalent knowledge is also required.
- Course Outline:
-
- Module 1: Getting Started
- Introduction to .NET and the .NET Framework
- Exploring Visual Studio .NET
- Creating a Windows Application Project
- Module 2: Understanding C# Language Fundamentals
- Understanding the Fundamentals of a C# Program
- Using C# Predefined Types
- Writing Expressions
- Creating Conditional Statements
- Creating Iteration Statements
- Lab 2.1: Writing a Savings Account Calculator
- Write a Savings Calculator
- Extending the Savings Calculator
- Module 3: Creating Objects in C#
- Defining a Class
- Declaring Methods
- Using Constructors
- Using Static Class Members
- Lab 3.1: Creating Classes in C#
- Creating the Bank Account Objects
- Module 4: Implementing Object-Oriented Programming Techniques in C#
- Designing Objects
- Using Inheritance
- Using Polymorphism
- Lab 4.1: Creating Classes in C#
- Creating the Bank Account Objects
- Module 5: Programming with C#
- Using Arrays
- Using Collections
- Using Interfaces
- Using Exception Handling
- Using Delegates and Events
- Lab 5.1: Using Arrays
- Sorting Numbers in an Array
- Lab 5.2 (optional): Using Indexers and Interfaces
- Writing the Check Pick-up Application
- Using Interfaces
- Lab 5.3 (optional): Using Delegates and Events
- Working with Events and Delegates
- Module 6: Building .NET-based Applications with C#
- Examining the .NET Framework Class Library
- Overriding Methods from System.Object
- Formatting Strings and Numbers
- Using Streams and Files
- Lab 6.1: Using Streams
- Converting a Binary File to a Text File
- Module 7: Using ADO.NET to Access Data
- ADO.NET Architecture
- Creating an Application That Uses ADO.NET to Access Data
- Changing Database Records
- Lab 7.1: Creating a Data Access Application with ADO.NET
- Creating a Simple Database Table 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 Windows Application That Uses ADO.NET
- (If time permits): Writing an ADO.NET Application with Windows Forms
- Module 8: Creating Windows-based Applications
- Creating the Main Menu
- Creating and Using Common Dialog Boxes
- Creating and Using Custom Dialog Boxes
- Creating and Using Toolbars
- Creating the Status Bar
- Creating and Using Combo Boxes
- Lab 8.1: Building Windows Applications
- Adding Common Dialog Boxes to an Application
- Creating and Using Custom Dialog Boxes
- Creating a Status Bar
- (If Time Permits): Using ComboBox Controls
- Module 9: Using XML Web Services in a C# Program
- Consuming an XML Web Service
- Building an XML Web Service
- Lab 9.1: Using XML Web Services
- Writing the Office Building Estimation Application
- Module 10: Creating a Web Application with Web Forms
- Creating a Web Forms Application
- Accessing Data by Using a Web Forms Application
- Configuring ASP.NET Application Settings
- Lab 10.1: Developing an ASP.NET Web Application
- Completing the User Authentication Validation Code
- Completing the Code for the Master.aspx Form
- Testing the Application
- Module 11: Application Settings and Deployment
- Working with Application Settings
- Deploying Applications
- Lab 11.1: Deploying an Application
- Adding a Setup Project to an Existing Application
- Installing and Testing the Setup Application
- Lab 11.2 (optional): Working with Application Settings
- Adding the UserPreferences Class
- Adding User Preferences to the Form Load Event
- Adding User Preferences to the loadItem_Click Event
- Declaring an Instance of the UserPreferences Class in the Options Form
- Setting the Checkbox Controls to the Values Contained in the Registry
- Save the Checkbox Controls Values to the Registry
- Testing the Zoo Information Application
- Module 12: Exploring Future Learning
- Exploring Additional Features of C#
- Module 1: Getting Started













