Debugging and securing your applications is crucial prior to deployment. Discover input validation, symmetric and asymmetric encryption, managing an assembly, using compiler directives, and implementing diagnostics.
Learning Objectives
Programming in C#: Debugging and Security Implementation
- use regular expressions
- validate data in the JSON format
- use the SQLConnection and the SQLConnectionStringBuilder classes to guard against attacks on your database
- use the AesCryptoServiceProvider class and the Common Language Runtime's CryptoStream object to implement encryption
- use the Microsoft Windows Certificates Manager to locate Certification Authorities and manage user and local machine X.509 certificates
- verify the integrity of data by using hashing on the contents of a file
- use either faster symmetric or more secure asymmetric algorithms
- generate a unique key pair and assign it to an assembly
- create and use WinMD assembly
- use Microsoft Visual Studio's Global Assembly Cache (GAC) to store and deploy strong-named components
- use compiler directives
- configure tracing functionality
- work with trace switches and listeners
- configure performance counters
- write to the event log
Framework Connections
Specialty Areas
- Software Development
Feedback
If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.