In this chapter, we will take a look at some examples of being more efficient as a developer when it comes to debugging your code. We will also be looking at how to write secure code. Writing secure code can be a challenge, but consider the following: if part of your code security involves making sure that passwords are securely stored, why write that code over and over between projects? Write the code once and implement it in every new project you create. The concepts we will be looking at are as follows:
- Encrypting and storing passwords correctly
- Using SecureString in code
- Securing sensitive parts of the App.config/web.config
- Preventing SQL injection attacks
- Using IntelliTrace, diagnostic tools, and historical debugging
- Setting conditional breakpoints
- Using PerfTips to identify bottlenecks in code