Summary
In this chapter, you’ve learned how to properly implement the application services and design the DTOs. I’ve covered DTO design in detail, such as validating input DTOs and mapping entities to DTOs, and provided suggestions based on best practices and my experience.
We’ve learned that mixing the responsibilities of the layers makes layering meaningless. We’ve investigated some fundamental responsibilities to understand at which layer we should implement these responsibilities.
As we’re at the end of this chapter, we’ve completed the third part of the book. The purpose of this part was to demonstrate how you can implement domain-driven design (DDD) building blocks with ABP Framework. I’ve provided rules, best practices, and suggestions to make your code base more maintainable when you follow them.
The next part of the book will explore the UI and API development with ABP Framework. In the next chapter, we will learn the...