Simple data-driven/CRUD microservice design It also stores its related data in a database running in SQL Server (as another container for dev/test purposes), but could also be any regular SQL Server host, as shown in Figure 6-5.įigure 6-5. This type of service implements all its functionality in a single ASP.NET Core Web API project that includes classes for its data model, its business logic, and its data access code. Internal design for simple CRUD microservicesĪn example of this kind of simple data-drive service is the catalog microservice from the eShopOnContainers sample application. Perhaps the problem to solve is simple, or perhaps the implementation is only a proof of concept.įigure 6-4. Designing a simple CRUD microserviceįrom a design point of view, this type of containerized microservice is very simple. This section outlines how to create a simple microservice that performs create, read, update, and delete (CRUD) operations on a data source.
0 Comments
Leave a Reply. |