Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Enterprise Application Development with C# 9 and .NET 5

You're reading from   Enterprise Application Development with C# 9 and .NET 5 Enhance your C# and .NET skills by mastering the process of developing professional-grade web applications

Arrow left icon
Product type Paperback
Published in Mar 2021
Publisher Packt
ISBN-13 9781800209442
Length 610 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (5):
Arrow left icon
Ravindra Akella Ravindra Akella
Author Profile Icon Ravindra Akella
Ravindra Akella
Suneel Kumar Kunani Suneel Kumar Kunani
Author Profile Icon Suneel Kumar Kunani
Suneel Kumar Kunani
Bhupesh Guptha Muthiyalu Bhupesh Guptha Muthiyalu
Author Profile Icon Bhupesh Guptha Muthiyalu
Bhupesh Guptha Muthiyalu
Arun Kumar Tamirisa Arun Kumar Tamirisa
Author Profile Icon Arun Kumar Tamirisa
Arun Kumar Tamirisa
Rishabh Verma Rishabh Verma
Author Profile Icon Rishabh Verma
Rishabh Verma
+1 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface 1. Section 1: Architecting an Enterprise Application and its Fundamentals
2. Chapter 1: Designing and Architecting the Enterprise Application FREE CHAPTER 3. Chapter 2: Introducing .NET 5 Core and Standard 4. Chapter 3: Introducing C# 9 5. Section 2: Cross-Cutting Concerns
6. Chapter 4: Threading and Asynchronous Operations 7. Chapter 5: Dependency Injection in .NET 8. Chapter 6: Configuration in .NET Core 9. Chapter 7: Logging in .NET 5 10. Chapter 8: Understanding Caching 11. Section 3: Developing Your Enterprise Application
12. Chapter 9: Working with Data in .NET 5 13. Chapter 10: Creating an ASP.NET Core 5 Web API 14. Chapter 11: Creating an ASP.NET Core 5 Web Application 15. Section 4: Security
16. Chapter 12: Understanding Authentication 17. Chapter 13: Understanding Authorization 18. Section 5: Health Checks, Unit Testing, Deployment, and Diagnostics
19. Chapter 14: Health and Diagnostics 20. Chapter 15: Testing 21. Chapter 16: Deploying the Applications in Azure 22. Assessments 23. Other Books You May Enjoy

Understanding best practices to secure client and server applications

There are several best practices recommended for securing your web application. .NET Core and Azure services make it easy to ensure their adoption. The following are key ones you may consider:

  • Enforce HTTPS for web applications. Use UseHttpsRedirection middleware to redirect requests from HTTP to HTTPS.
  • Use modern authentication frameworks based on OAuth 2.0 and OIDC to secure your web or API app.
  • If you are using the Microsoft identity platform, use open source libraries such as MSAL.js and MSAL.NET to acquire or renew tokens.
  • Configure strong password requirements and lock your account in the case of continuous failed login attempts—for example, five consecutive failed attempts. This can prevent a brute-force attack.
  • Enable MFA for privileged accounts such as back office admin or back office staff accounts, and so on.
  • Configure session timeouts; invalidate session on logout; clear...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime