Most breaches are not caused by genius hackers. They are caused by ordinary code mistakes. A query built from user input. A missing permission check. A vulnerable NuGet package nobody updated.
This secure coding in C# course teaches you to find those mistakes before attackers do. You will work on BrokenShop, a deliberately vulnerable ASP.NET Core store, and for each flaw you will see the vulnerable code, run the exploit in your own lab, then write the fix and prove it with an automated test.
What you will learn
- Prevent SQL injection, XSS, CSRF, SSRF, and command injection in ASP.NET Core
- Build safe authentication with ASP.NET Core Identity, MFA, cookies, and correct JWT validation
- Enforce authorization and stop IDOR with policies and resource-based checks
- Use cryptography, the Data Protection API, and secrets management correctly
- Avoid deserialization, XML, and mass-assignment traps
- Audit NuGet dependencies, secure CI/CD, and generate an SBOM
- Use Roslyn analyzers, CodeQL, and ZAP to catch problems automatically
- Write a threat model and a professional remediation report
Course features
- About 35 short lessons across 10 modules
- One continuous lab app, with starter and solution branches for every module
- Failing security tests that you turn green
- Real-world case studies such as Equifax, Log4Shell, and MOVEit
- A graded capstone on an unseen vulnerable app
- Built on .NET 8 LTS, with update notes for each new release
Who this course is for
- C# and ASP.NET Core developers who want to write safer code
- Backend and full-stack engineers preparing for security reviews or audits
- Teams that need practical secure development training
- Developers moving toward application security roles
Requirements: basic C# and ASP.NET Core knowledge, the .NET 8 SDK, Docker, and a code editor. No prior security experience needed.
Curriculum
- 10 Sections
- 40 Lessons
- 20 Weeks
Expand all sectionsCollapse all sections
- Module 1: Foundations4 Items
- Module 2: Input Handling and Injection5 Items
- Module 3: Web Security in ASP.NET Core5 Items
- Module 4: Authentication and Sessions5 Items
- Module 5: Authorization4 Items
- Module 6: Cryptography and Secrets4 Items
- Module 7: Serialization and XML3 Items
- Module 8: Memory, Runtime, and Availability3 Items
- Module 9: Dependencies and Supply Chain3 Items
- Module 10: Testing, Tooling, and Capstone4 Items

Leave a Reply