Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Enterprise Architecture with .NET

You're reading from   Enterprise Architecture with .NET Expert-backed advice for information system design, down to .NET and C# implementation

Arrow left icon
Product type Paperback
Published in May 2024
Publisher Packt
ISBN-13 9781835085660
Length 772 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jean-Philippe Gouigoux Jean-Philippe Gouigoux
Author Profile Icon Jean-Philippe Gouigoux
Jean-Philippe Gouigoux
Arrow right icon
View More author details
Toc

Table of Contents (30) Chapters Close

Preface 1. Part 1: Business-Aligned Architecture and the Problems It Solves FREE CHAPTER
2. Chapter 1: The Sad State of Information Systems 3. Chapter 2: Applying Industrial Principles to Software 4. Chapter 3: Reaching Business Alignment 5. Chapter 4: Dealing with Time and Technical Debt 6. Chapter 5: A Utopic Perfect IT System 7. Part 2: Architecture Frameworks and Methods
8. Chapter 6: SOLID Principles, from Code to Systems 9. Chapter 7: C4 and Other Approaches 10. Chapter 8: Service Orientation and APIs 11. Chapter 9: Exploring Domain-Driven Design and Semantics 12. Chapter 10: Master Data Management 13. Chapter 11: Business Processes and Low Code 14. Chapter 12: Externalization of Business Rules 15. Chapter 13: Externalization of Authorization 16. Part 3: Building a Blueprint Application with .NET
17. Chapter 14: Decomposing the Functional Responsibilities 18. Chapter 15: Plugging Standard External Modules 19. Chapter 16: Creating a Write-Only Data Referential Service 20. Chapter 17: Adding Query to the Data Referential Service 21. Chapter 18: Deploying Data Referential Services 22. Chapter 19: Designing a Second Data Referential Service 23. Chapter 20: Creating a Graphical User Interface 24. Chapter 21: Extending the Interfaces 25. Chapter 22: Integrating Business Processes 26. Part 4: Validating the Architecture
27. Chapter 23: Applying Modifications to the System 28. Index 29. Other Books You May Enjoy

Adding features to the first version of the data referential service

The first version of the data referential service that was created in the previous chapter is for now only able to create data. In this section, we will first check that it works fine using a more industrial approach than the simple manual tests shown before, and then we’ll discuss the delete operation.

Testing the data referential service

Having a more industrial approach to validation is really about automatic testing, and this is what we will do in this present section. The very first test is to run the application and check that the OpenAPI/Swagger interface works fine:

Figure 17.1 – The OpenAPI interface for the books controller

Figure 17.1 – The OpenAPI interface for the books controller

After that, we can test a creation operation on Postman by using the following setup, in which we choose the POST operation to send a creation command to the /Books URL of the server host you want to test (in a normal Postman setup, we...

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 $19.99/month. Cancel anytime
Banner background image