Secure Programming for C#


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
In this course, you'll explore techniques for writing secure code, including how to use assertions, create defensible methods, write proper if and switch statements, use exceptions, and anticipate and handle errors in your C# code. During the course you will discover how to employ iterative design, pseudo code, assertions, pre- and post-conditions, testable code, parameters, return values, and variable declarations. Find out how to apply IF and SWITCH statements. Learn to create a C# application that incorporates error codes and messages into its error handlers. Recognize how to anticipate errors. Finally, learn to develop error processes, use global objects, and apply local error handlers.

Target Audience
Individuals interested in learning the fundamental concepts of secure programming, or experienced programmers wishing to refresh or improve their skills. Previous programming experience with C/C++ or .NET may be beneficial.

Prerequisites
None

Expected Duration (hours)
1.4

Lesson Objectives

Secure Programming for C#

  • start the course
  • recognize what clean code is and the best techniques for writing clean code
  • identify the key features of iterative design
  • use pseudo-code to develop programming solutions
  • use assertions in your programming code
  • apply pre and post conditions to C# code
  • recognize how to write testable C# code
  • create examples of defensible methods
  • identify how to apply defensive techniques for method parameters and return values
  • recognize how to implement variable declarations for defendable code
  • identify how to use if and switch statements in creating defendable code
  • demonstrate how to use exceptions to handle errors
  • create a C# application that incorporates error codes and messages into its error handling
  • recognize how to use error processing and global objects in your programs
  • identify how to handle errors locally in C# code
  • recognize how to anticipate potential errors in C# code
  • use defensive coding techniques to create clean, testable methods
  • Course Number:
    sd_secp_a02_it_enus

    Expertise Level
    Intermediate