Publication date : 08/28/2024

Course : .NET, securing your code

Practical course - 3d - 21h - Ref. NZE
Price : 1940 CHF E.T.

.NET, securing your code




This practical training course lists the resources and services of the .NET platform for securing code: from cryptography and assembly protection to code obfuscation and secure execution. These techniques and tools are presented in practical hands-on exercises.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Available in English on request

Ref. NZE
  3d - 21h
1940 CHF E.T.




This practical training course lists the resources and services of the .NET platform for securing code: from cryptography and assembly protection to code obfuscation and secure execution. These techniques and tools are presented in practical hands-on exercises.


Teaching objectives
At the end of the training, the participant will be able to:
Be able to secure assemblies
How to secure your C# code
Securing access to code execution
Managing encryption in .Net applications

Intended audience
Experienced .Net developers.

Prerequisites
Good knowledge of the C# language.

Course schedule

1
.Net application security

  • Definition of code security.
  • Types of threats when coding .Net.
  • Patterns proposed by Microsoft.
  • .Net framework security tools.

2
Encryption, certificates and signatures

  • Cryptography models and engines.
  • Hatching, imprint and signature.
  • Symmetrical/asymmetrical encryption.
  • Windows encryption API.
  • Signature and certificate mechanisms.
Hands-on work
Encrypt/decrypt a message by hashing.

3
.Net code execution security

  • Secure access to code via roles (RBS).
  • Secure code when elevating privileges.
  • Secure critical and transparent access to code (CAS of .net 4).
  • Isolated storage environments.
Hands-on work
Implement an elevation of privileges and the related security mechanisms.

4
C# code security

  • The problem of exceptions.
  • Dangers and management of state sharing in multithreading.
  • Securing the interoperability code.
  • Access to program execution tampering via System.Reflection.
Hands-on work
Secure examples of C# code in relation to the issues presented.

5
Assembly safety

  • Protection against source code tampering.
  • Encryption of configuration information.
  • Protection of assembly contents.
  • Code obfuscation and ecosystem tools.
  • Deployment to the GAC.
Hands-on work
Implement DLL signing. Use code obfuscation techniques.


Customer reviews
4,5 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
ONDER A.
29/10/25
4 / 5

This is a vast subject that can only be skimmed over, but the introduction to the fundamental concepts was very interesting.



Dates and locations

Dernières places
Date garantie en présentiel ou à distance
Session garantie
From 15 to 17 June 2026
FR
Remote class
Registration
From 26 to 28 October 2026
FR
Remote class
Registration

REMOTE CLASS
2026 : 15 June, 26 Oct.