Course 462:
Advanced C# Programming with Visual Studio

(5 days)

 

Course Description

The Advanced C# Programming course provides students with the knowledge and skills needed to develop applications using .NET Framework technologies with C# and Visual Studio. Students start with an accelerated language review, followed by core features of the Foundation Class Libraries (FCL), CLR memory management, events and delegates, async tasks, and dependency injection techniques. The class then covers development topics such as working with different System.IO classes, parsing XML data, and creating Windows Services. Finally, the course covers serializing data, exchanging data using WCF services, security classes, and transaction management.

Learning Objectives

  • Learn best practices
  • Review object-oriented principles
  • Learn how to build classes with custom events and delegates
  • Understand how Func<T, TResult>, and Action<T> can be used
  • Understand the role of dependency injection
  • Learn more about how the CLR manages memory
  • Write asynchronous code with async and await
  • Learn how to selectively compile code
  • Drill into .NET XML parsing APIs
  • Build distributed applications using Windows Communication Foundation (WCF)
  • Apply transaction management techniques

Who Should Attend

This course is valuable for developers who are interested in enhancing their existing C# programming skills.

Prerequisites

It is highly recommended that students take the C# Programming course before taking this course or have at least six months of hands-on programming experience with C# and feel comfortable working with C# syntax.


Course Outline

Chapter 1: Accelerated C# Concepts

  • Object-Oriented Programming
    • Abstraction
    • Polymorphism
    • Inheritance
    • Encapsulation
  • Type Conversions
  • Operator Overloading
  • Using Attributes

Chapter 2: Best Practices

  • Exception Management
  • String Manipulation
  • Thread Synchronization
  • Generics and Constraints

Chapter 3: CLR Memory Management

  • The Common Type System
  • Understanding CLR Generations
  • The Role of IDisposable
  • Using the CLR Profiler

Chapter 4: Foundation Class Library Features

  • IO Classes
  • Using System.Net Classes
  • Asynchronous Operations with async/await
  • Pattern Matching with RegEx
  • Dynamic Code Inspection/Invocation with Reflection

Chapter 5: Conditional Compilation

  • Defining Debug Symbols
  • Conditional Compilation using the Conditional Attribute

Chapter 6: Events and Delegates

  • What Are Events, Delegates, and Event Handlers?
  • Working with Delegates and Events
  • Creating Custom EventArgs Classes
  • Using Lambda Expressions
  • Using Func<T,TResult>

Chapter 7: Using Dependency Injection

  • What Is Dependency Injection (DI)?
  • What Is an IoC Container?
  • The Role of Interfaces
  • Dependency Injection Techniques
  • Using an Ioc Container for DI

Chapter 8: Monitoring, Debugging, and Tracing

  • Using the Debugger Class
  • Tracing Operations
  • Performance Counters

Chapter 9: Working with XML Data

  • Using System.Xml Classes
  • Using XML APIs
  • Monitoring XML Files Using Windows Services and the FileSystemWatcher

Chapter 10: Serializing Data

  • Binary Serialization
  • XML Serialization

Chapter 11: .NET Security and Cryptography

  • Symmetric and Asymmetric Encryption Techniques
  • WindowsPrincipal and GenericPrincipal

Chapter 12: Exposing Data with WCF

  • Web Services Architecture
  • Creating and Consuming a WCF Service
  • Self-Hosted Services
  • Modifying WCF Bindings
  • Debugging Services

Chapter 13: Working with Transactions

  • Getting Started with Transactions
  • ADO.NET Transactions
  • Using TransactionScope

Please Contact Your ROI Representative to Discuss Course Tailoring!