Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required
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
ASP.NET Core 2 Fundamentals

You're reading from   ASP.NET Core 2 Fundamentals Build cross-platform apps and dynamic web services with this server-side web application framework

Arrow left icon
Product type Book
Published in Aug 2018
Publisher
ISBN-13 9781789538915
Pages 298 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Onur Gumus Onur Gumus
Author Profile Icon Onur Gumus
Onur Gumus
Mugilan T. S. Ragupathi Mugilan T. S. Ragupathi
Author Profile Icon Mugilan T. S. Ragupathi
Mugilan T. S. Ragupathi
Arrow right icon
View More author details
Toc

Adding the Registration Feature


Since we will start adding logic to our application, this is a good time to add our application layer to the project. As we discussed in the previous chapter, we are designing our application to be layered and abiding by domain-driven design standards.

In domain-driven design, a common approach in layering is Onion Architecture. In onion architecture, each layer can make use of the inside layer but the outside layer has to adapt itself to the inside. And we try to design our application from inside out. That's why we have designed our application starting with entities:

In the preceding figure, we have a domain model at the core, and on top of it we have application services. The purple rectangles are interfaces, the black arrows denote compile-time dependencies, and the magenta circles are external dependencies on infrastructure.

Application Services are for handling commands and requests.

Note

There is an on-going discussion on whether entities in the domain...

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