MOC 20483 – Programming in C#

This 5 day instructor-led training class is presented by Microsoft training partners to their end customers. Channel Partners nationwide hire proven AMS Subject Matter Expert Microsoft Certified Trainers (MCT’s) to teach on-site or on-line classes.

This class 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 class 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.

This course is not designed for students who are new to programming; it is targeted at professional developers with at least one month of experience programming in an object-oriented environment.

Goals

  • 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.

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
  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 and the StudentPhoto Control
  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

To Hire a proven AMS Microsoft C# Subject Matter Expert Developer and Instructor who also teaches this class, call 800-798-3901 today!

Leave a Reply