Summary

In this chapter, we went through the OWASP Top 10 initiative, analyzing the risks and consequences of each of the threats, along with the possible prevention methods.

We also included some code for those threats that are either already addressed in Visual Studio templates or are easily implemented and are common in use.

In the next chapter, we will cover the optimization of applications and the different techniques that .NET offers for compilation to native code, optimization via the configuration of the assemblies, parallelism, and so on.

Get Mastering C# and .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.