Creating Secure C# Code

Intermediate
  • 10 videos | 43m 21s
  • Includes Assessment
  • Earns a Badge
Rating 4.2 of 19 users Rating 4.2 of 19 users (19)
During this course, you'll explore techniques that help you secure your C# code, and a number of best practices. You'll begin by learning how to safely connect strings and apply common data validation techniques for C# applications. Next, you will identify why casting in the C# style is preferred to the C style. From there, learn how to recognize proper C# operator overloading, and how to follow the correct way to access internal class data. Other topics include working with loops, and understanding why for-loops are preferred to while-loops. Other topics include how to study concise, focused, readable C# function examples; how to identify the best way to use references and pointers. Finally, as a review exercise, you will create a C# application that casts correctly, uses proper data validation, and offers concise functions and methods.

WHAT YOU WILL LEARN

  • Recognize how to properly interface with data in c#
    Demonstrate some common data validation techniques employed to create secure c# applications
    Identify why casting in the c# style is preferred to the c style
    Recognize how to properly use operator overloading in c#
    Identify the correct way to access internal class data
  • Describe why for-loops are preferred to while-loops
    Recognize how to keep functions focused and concise
    Identify the best way to use references and pointers and why you should avoid raw pointers
    Recognize the importance of good readability for planning and maintaining code
    Use defensive coding techniques to create a secure c# application

IN THIS COURSE

  • 6m 24s
    Upon completion of this video, you will be able to recognize how to properly interface with data in C#. FREE ACCESS
  • 4m 41s
    In this video, find out how to apply some common data validation techniques employed to create secure C# applications. FREE ACCESS
  • Locked
    3.  Casting
    5m 31s
    In this video, you will learn why casting in the C# style is preferred to the C style. FREE ACCESS
  • Locked
    4.  Operator Overloading
    3m 28s
    Upon completion of this video, you will be able to recognize how to properly use operator overloading in C#. FREE ACCESS
  • Locked
    5.  Working with Accessor Methods
    2m 53s
    In this video, find out how to identify the correct way to access data from within a class. FREE ACCESS
  • Locked
    6.  Working with Loops
    2m 54s
    Upon completion of this video, you will be able to describe why for-loops are preferred to while-loops. FREE ACCESS
  • Locked
    7.  Functions in C#
    3m 46s
    After completing this video, you will be able to recognize how to keep functions focused and concise. FREE ACCESS
  • Locked
    8.  References and Pointers
    4m 9s
    Find out how to identify the best way to use references and pointers, and why you should avoid raw pointers. FREE ACCESS
  • Locked
    9.  Code Readability
    5m 1s
    After completing this video, you will be able to recognize the importance of good readability for planning and maintaining code. FREE ACCESS
  • Locked
    10.  Exercise: Creating a Secure C# Application
    4m 33s
    In this video, you will use defensive coding techniques to create a secure C# application. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 179 users Rating 4.4 of 179 users (179)
Rating 4.3 of 139 users Rating 4.3 of 139 users (139)
Rating 4.5 of 20 users Rating 4.5 of 20 users (20)