MOC 20483 - Programming in C# - Windows Applications

MOC 20483 - Programming in C# - Windows Applications

4.9 out of 5 - Read Testimonials
Course Length: 5 days
Delivery Methods: Multiple delivery options
Course Benefits
  • Learn about the core syntax and features of C#.
  • Learn to create and call methods, catch and handle exceptions, and describe the monitoring requirements of large-scale applications.
  • Learn to implement the basic structure and essential elements of a typical desktop application.
  • Learn to create classes, define and implement interfaces, and create and use generic collections.
  • Learn to use inheritance to create a class hierarchy, extend a .NET Framework class, and create generic classes and methods.
  • Learn to read and write data by using file input/output and streams, and serialize and deserialize data in different formats.
  • Learn to create and use an entity data model for accessing a database and use LINQ to query and update data.
  • Learn to use the types in the System.Net namespace and WCF Data Services to access and query remote data.
  • Learn to build a graphical user interface by using XAML.
  • Learn to improve the throughput and response time of applications by using tasks and asynchronous operations.
  • Learn to integrate unmanaged libraries and dynamic components into a C# application.
  • Learn to examine the metadata of types by using reflection, create and use custom attributes, generate code at runtime, and manage assembly versions.
  • Learn to encrypt and decrypt data by using symmetric and asymmetric encryption.
Available Delivery Methods
Public Class
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Private Class
Private classes are delivered for groups at your offices or a location of your choice.
Course Overview

This C# training course teaches developers the programming skills that are required for developers to create Windows applications using the C# language. During this training, students review the basics of C# program structure, language syntax, and implementation details, and then consolidate their knowledge throughout the week as they build an application that incorporates several features of the .NET Framework 4.5.

This course is intended for experienced developers who already have programming experience in C, C++, JavaScript, Objective-C, Microsoft Visual Basic, or Java and understand the concepts of object-oriented programming.

Microsoft Certified Partner

Webucator is a Microsoft Certified Partner for Learning Solutions (CPLS). This class uses official Microsoft courseware and will be delivered by a Microsoft Certified Trainer (MCT).

Course Outline
  1. Review of C# Syntax
    1. Overview of Writing Applications using C#
    2. Datatypes, Operators, and Expressions
    3. C# Programming Language Constructs
    4. Lab: Developing the Class Enrolment Application
      1. Implementing Edit Functionality for the Students List
      2. Implementing Insert Functionality for the Students List
      3. Implementing Delete Functionality for the Students List
      4. Displaying the Student Age
  2. Creating Methods, Handling Exceptions, and Monitoring Applications
    1. Creating and Invoking Methods
    2. Creating Overloaded Methods and Using Optional and Output Parameters
    3. Handling Exceptions
    4. Monitoring Applications
    5. Lab: Extending the Class Enrolment Application Functionality
      1. Refactoring the Enrolment Code
      2. Validating Student Information
      3. Saving Changes to the Class List
  3. Developing the Code for a Graphical Application
    1. Implementing Structs and Enums
    2. Organizing Data into Collections
    3. Handling Events
    4. Lab: Writing the Code for the Grades Prototype Application
      1. Adding Navigation Logic to the Application
      2. Creating Data Types to Store User and Grade Information
      3. Displaying User and Grade Information
  4. Creating Classes and Implementing Type-safe Collections
    1. Creating Classes
    2. Defining and Implementing Interfaces
    3. Implementing Type-safe Collections
    4. Lab: Adding Data Validation and Type-safety to the Grades Application
      1. Implementing the Teacher, Student, and Grade Types as Classes
      2. Adding Data Validation to the Grade Class
      3. Displaying Students in Name Order
      4. Enabling Teachers to Modify Class and Grade Data
  5. Creating a Class Hierarchy by Using Inheritance
    1. Creating Class Hierarchies
    2. Extending .NET Framework Classes
    3. Creating Generic Types
    4. Lab: Refactoring Common Functionality into the User Class
      1. Creating and Inheriting from the User Base Class
      2. Implementing Password Complexity by Using an Abstract Method
      3. Creating the ClassFullException Class
  6. Reading and Writing Local Data
    1. Reading and Writing Files
    2. Serializing and Deserializing Data
    3. Performing I/O Using Streams
    4. Lab: Generating the Grades Report
      1. Serializing the Data for the Grades Report as XML
      2. Previewing the Grades Report
      3. Persisting the Serialized Grades Data to a File
  7. Accessing a Database
    1. Creating and Using Entity Data Models
    2. Querying Data by Using LINQ
    3. Updating Data by Using LINQ
    4. Lab: Retrieving and Modifying Grade Data
      1. Creating an Entity Model from the The School of Fine Arts Database
      2. Updating Student and Grade Data Using the Entity Framework
      3. Extending the Entity Model to Validate Data
  8. Accessing Remote Data
    1. Accessing Data Across the Web
    2. Accessing Data in the Cloud
    3. Lab: Retrieving and Modifying Grade Data in the Cloud
      1. Creating a WCF Data Service for the SchoolGrades Database
      2. Integrating the WCF Data Service into the Application
      3. Retrieving Student Photographs Over the Web (if time permits)
  9. Designing the User Interface for a Graphical Application
    1. Using XAML to Design a User Interface
    2. Binding Controls to Data
    3. Styling a User Interface
    4. Lab: Customizing Student Photographs and Styling the Application
      1. Customizing the Appearance of Student Photographs
      2. Styling the Logon View
      3. Animating the StudentPhoto Control (If Time Permits)
  10. Improving Application Performance and Responsiveness
    1. Implementing Multitasking by using Tasks and Lambda Expressions
    2. Performing Operations Asynchronously
    3. Synchronizing Concurrent Access to Data
    4. Lab: Improving the Responsiveness and Performance of the Application
      1. Ensuring that the User Interface Remains Responsive When Retrieving Data for Teachers
      2. Providing Visual Feedback During Long-Running Operations
  11. Integrating with Unmanaged Code
    1. Creating and Using Dynamic Objects
    2. Managing the Lifetime of Objects and Controlling Unmanaged Resources
    3. Lab: Upgrading the Grades Report
      1. Generating the Grades Report by Using Microsoft Office Word
      2. Controlling the Lifetime of Word Objects by Implementing the Dispose Pattern
  12. Creating Reusable Types and Assemblies
    1. Examining Object Metadata
    2. Creating and Using Custom Attributes
    3. Generating Managed Code
    4. Versioning, Signing and Deploying Assemblies
    5. Lab: Specifying the Data to Include in the Grades Report
      1. Creating the IncludeInReport Attribute
      2. Generating the Report
      3. Storing the Grades.Utilities Assembly Centrally
  13. Encrypting and Decrypting Data
    1. Implementing Symmetric Encryption
    2. Implementing Asymmetric Encryption
    3. Lab: Encrypting and Decrypting Grades Reports
      1. Encrypting the Grades Report
      2. Decrypting the Grades Report
Class Materials

Each student will receive a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this C# class:

  • Developers attending this course should already have gained some limited experience using C# to complete basic programming tasks. More specifically, students should have hands-on experience using C# that demonstrates their understanding of the following:
    1. How to name, declare, initialize and assign values to variables within an application.
    2. How to use:
      1. arithmetic operators to perform arithmetic calculations involving one or more variables;
      2. relational operators to test the relationship between two variables or expressions;
      3. logical operators to combine expressions that contain relational operators.
    3. How to create the code syntax for simple programming statements using C# language keywords and recognize syntax errors using the Visual Studio IDE.
    4. How to create a simple branching structure using an IF statement.
    5. How to create a simple looping structure using a For statement to iterate through a data array.
    6. How to use the Visual Studio IDE to locate simple logic errors.
    7. How to create a Function that accepts arguments (parameters and returns a value of a specified type.
    8. How to design and build a simple user interface using standard controls from the Visual Studio toolbox.
    9. How to connect to a SQL Server database and the basics of how to retrieve and store data.
    10. How to sort data in a loop.
    11. How to recognize the classes and methods used in a program.
Prerequisite Courses

Courses that can help you meet these prerequisites:

Register for a Live Class
Please select a class.
Request a Private Class
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors
Request Pricing