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
Mastering ABP Framework

You're reading from   Mastering ABP Framework Build maintainable .NET solutions by implementing software development best practices

Arrow left icon
Product type Paperback
Published in Feb 2022
Publisher Packt
ISBN-13 9781801079242
Length 526 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Halil İbrahim Kalkan Halil İbrahim Kalkan
Author Profile Icon Halil İbrahim Kalkan
Halil İbrahim Kalkan
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface 1. Part 1: Introduction
2. Chapter 1: Modern Software Development and ABP Framework FREE CHAPTER 3. Chapter 2: Getting Started with ABP Framework 4. Chapter 3: Step-By-Step Application Development 5. Chapter 4: Understanding the Reference Solution 6. Part 2: Fundamentals of ABP Framework
7. Chapter 5: Exploring the ASP.NET Core and ABP Infrastructure 8. Chapter 6: Working with the Data Access Infrastructure 9. Chapter 7: Exploring Cross-Cutting Concerns 10. Chapter 8: Using the Features and Services of ABP 11. Part 3: Implementing Domain–Driven Design
12. Chapter 9: Understanding Domain-Driven Design 13. Chapter 10: DDD – The Domain Layer 14. Chapter 11: DDD – The Application Layer 15. Part 4: User Interface and API Development
16. Chapter 12: Working with MVC/Razor Pages 17. Chapter 13: Working with the Blazor WebAssembly UI 18. Chapter 14: Building HTTP APIs and Real-Time Services 19. Part 5: Miscellaneous
20. Chapter 15: Working with Modularity 21. Chapter 16: Implementing Multi-Tenancy 22. Chapter 17: Building Automated Tests 23. Other Books You May Enjoy

Exception handling

One of the most important quality indicators of an application is how it responds to errors and exceptional cases. A good application should handle errors, return a proper response to the client, and gracefully inform the user about the problem.

In a typical web application, we should care about exceptions in every client request, which makes it a repetitive and tedious task for developers.

ABP Framework completely automates error handling in every aspect of your application. Most of the time, you don't need to write any try-catch statement in your application code, as it does the following:

  • Handles all exceptions, logs them, and returns a standard-formatted error response to the client for an API request or shows a standard error page for a server-rendered page
  • Hides internal infrastructure errors while allowing you to return user-friendly, localized error messages when you need them
  • Understands standard exceptions such as validation and...
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