What You’ve Done So Far
Your first Component. How does it feel? Hopefully exciting. In the previous chapter you constructed a Component’s message contract, and an application was able to use that contract even before the backing Component was in place. In this chapter you put that Component in place and were able to start processing messages that had already been written. Our system can now register users, which means we can get our user counts up and make the business team very happy when they’re shopping around to investors.
You implemented an idempotent message handler. Your Component does this by fetching the current state of the entity it cares about and seeing if the message under consideration has already been handled. Its effect would ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access