Programming in C#: Debugging and Security Implementation

This course is included in our On-demand training solution.


Debugging and securing your applications is crucial prior to deployment. This course describes how to implement debugging and security features in C# applications. You’ll also learn about validation of application input, symmetric and asymmetric encryption, managing an assembly, using compiler directives, and implementing diagnostics.

Target Audience

Individuals with knowledge of object-oriented programming who want to learn the fundamentals of Microsoft Visual C#; individuals preparing for the exam 70-483 Programming in C#



Expected Duration

60 min.

Course Objectives

Course Introduction

Using Regex

  • use regular expressions
  • Validating Connection Strings

  • use the SQLConnection and the SQLConnectionStringBuilder classes to guard against attacks on your database
  • Basic Encryption

  • use the AesCryptoServiceProvider class and the Common Language Runtime’s CryptoStream object to implement encryption
  • Managing Certificates

  • use the Microsoft Windows Certificates Manager to locate Certification Authorities and manage user and local machine X.509 certificates
  • Hashing

  • verify the integrity of data by using hashing on the contents of a file
  • Symmetric vs Asymmetric Encryption

  • use either faster symmetric or more secure asymmetric algorithms
  • Debugging and Security – Strongnaming

  • generate a unique key pair and assign it to an assembly
  • The Global Assembly Cache

  • use Microsoft Visual Studio’s Global Assembly Cache (GAC) to store and deploy strong-named components
  • Compiler Directives

  • use compiler directives
  • Diagnostics and Tracing

  • configure tracing functionality
  • Working with Trace Switches

  • work with trace switches and listeners
  • Creating Performance Counters

  • configure performance counters
  • Writing to Event Logs

  • write to the event log




    Multi-license discounts available for Annual and Monthly subscriptions.