Course Outline
Module 1: Review of Visual C# Syntax
The Microsoft .NET Framework version 4.7 provides a robust development platform for building, deploying, and managing applications and services for government. Utilizing the .NET Framework, developers can create visually appealing applications that facilitate seamless communication across technology boundaries and support various business processes. This module will introduce some of the core features provided by the .NET Framework and Microsoft Visual Studio. It will also cover essential Visual C# constructs necessary for developing .NET Framework applications.
Lessons
- Overview of Writing Applications Using Visual C#
- Data Types, Operators, and Expressions
- Visual C# Programming Language Constructs
Module 2: Creating Methods, Handling Exceptions, and Monitoring Applications
Applications often consist of logical units of functionality that perform specific tasks, such as providing data access or initiating logical processes. Visual C#, an object-oriented language, uses methods to encapsulate these functional units. It is crucial to consider the state of your application when exceptions occur in a method. This module will cover creating and using methods, handling exceptions, and utilizing logging and tracing to record exception details.
Lessons
- Creating and Invoking Methods
- Creating Overloaded Methods and Using Optional and Output Parameters
- Handling Exceptions
- Monitoring Applications
Module 3: Basic Types and Constructs of Visual C#
To develop effective applications using Windows Presentation Foundation (WPF) or other .NET Framework platforms for government, it is essential to understand basic Visual C# constructs. This includes creating simple structures to represent data items, organizing these structures into collections, and subscribing to events to respond to user actions. This module will cover creating and using structs and enums, managing data in collections, and handling events.
Lessons
- Implementing Structs and Enums
- Organizing Data into Collections
- Handling Events
Module 4: Creating Classes and Implementing Type-Safe Collections
In this module, you will learn how to use interfaces and classes to define and create custom, reusable types for government applications. You will also explore creating and using enumerable, type-safe collections of any type.
Lessons
- Creating Classes
- Defining and Implementing Interfaces
- Implementing Type-Safe Collections
Module 5: Creating a Class Hierarchy by Using Inheritance
In this module, you will learn how to use inheritance to create class hierarchies and extend .NET Framework types for government applications.
Lessons
- Creating Class Hierarchies
- Extending .NET Framework Classes
Module 6: Reading and Writing Local Data
In this module, you will learn how to read and write data using transactional file system I/O operations for government applications. You will also cover serializing and deserializing data to the file system and reading and writing data using streams.
Lessons
- Reading and Writing Files
- Serializing and Deserializing Data
- Performing I/O by Using Streams
Module 7: Accessing a Database
In this module, you will learn how to create and use entity data models (EDMs) for government applications and query various types of data using Language-Integrated Query (LINQ).
Lessons
- Creating and Using Entity Data Models
- Querying Data by Using LINQ
Module 8: Accessing Remote Data
In this module, you will learn how to use the request and response classes in the System.Net namespace to manipulate remote data sources for government applications. You will also explore using Windows Communication Foundation (WCF) Data Services to expose and consume an entity data model (EDM) over the web.
Lessons
- Accessing Data Across the Web
- Accessing Data by Using OData Connected Services
Module 9: Designing the User Interface for a Graphical Application
In this module, you will learn how to use Extensible Application Markup Language (XAML) and Windows Presentation Foundation (WPF) to create engaging user interfaces for government applications.
Lessons
- Using XAML to Design a User Interface
- Binding Controls to Data
Module 10: Improving Application Performance and Responsiveness
In this module, you will learn how to enhance the performance of your applications for government by distributing operations across multiple threads.
Lessons
- Implementing Multitasking
- Performing Operations Asynchronously
- Synchronizing Concurrent Access to Data
Module 11: Integrating with Unmanaged Code
In this module, you will learn how to interoperate unmanaged code in your applications for government and ensure that your code releases any unmanaged resources.
Lessons
- Creating and Using Dynamic Objects
- Managing the Lifetime of Objects and Controlling Unmanaged Resources
Module 12: Creating Reusable Types and Assemblies
In this module, you will learn how to consume existing assemblies using reflection for government applications and add metadata to types and type members using attributes. You will also explore generating code at runtime using the Code Document Object Model (CodeDOM) and ensuring that your assemblies are signed, versioned, and available to other applications using the global assembly cache (GAC).
Lessons
- Examining Object Metadata
- Creating and Using Custom Attributes
- Generating Managed Code
- Versioning, Signing, and Deploying Assemblies
Module 13: Encrypting and Decrypting Data
In this module, you will learn how to implement symmetric and asymmetric encryption for government applications and use hashes to generate mathematical representations of your data. You will also cover creating and managing X509 certificates and using them in the asymmetric encryption process.
Lessons
- Implementing Symmetric Encryption
- Implementing Asymmetric Encryption