-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add part-04 of microservice tutorial covering the creation of the Ord…
…ering microservice and additional options for configuration
- Loading branch information
1 parent
9fb2302
commit dc655ed
Showing
5 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
Binary file added
BIN
+39.3 KB
.../en/tutorials/microservice/images/abp-studio-add-new-microservice-command-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.5 KB
docs/en/tutorials/microservice/images/abp-studio-add-new-microservice-dialog-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Microservice Tutorial Part 04: Creating the initial Ordering Microservice | ||
|
||
````json | ||
//[doc-nav] | ||
{ | ||
"Previous": { | ||
"Name": "Building the Catalog Microservice", | ||
"Path": "tutorials/microservice/part-03" | ||
}, | ||
"Next": { | ||
"Name": "Building the Ordering module", | ||
"Path": "tutorials/microservice/part-05" | ||
} | ||
} | ||
```` | ||
|
||
In the previous part, we implemented the Catalog microservice functionality using ABP Suite. In this part, we will create the Ordering microservice, and the following part will cover implementing its functionality manually. | ||
|
||
## Creating the Ordering Microservice | ||
|
||
Right-click the `services` folder in the *Solution Explorer* panel, select the *Add* -> *New Module* -> *Microservice* command: | ||
|
||
![abp-studio-add-new-microservice-command](images/abp-studio-add-new-microservice-command-2.png) | ||
|
||
This command opens a new dialog to define the properties of the new microservice. You can use the following values to create a new microservice named `OrderingService`: | ||
|
||
![abp-studio-add-new-microservice-dialog](images/abp-studio-add-new-microservice-dialog-2.png) | ||
|
||
When you click the *Next* button, you are redirected to the database provider selection step. | ||
|
||
### Selecting the Database Type | ||
|
||
Here, you can select the database provider to be used by the new microservice: | ||
|
||
![abp-studio-add-new-microservice-dialog-database-step](images/abp-studio-add-new-microservice-dialog-database-step.png) | ||
|
||
Select *Entity Framework Core* option and proceed the *Next* step. | ||
|
||
### Integrating to the Solution | ||
|
||
In this step, we can select the options for integrating the new microservice to the rest of the solution components: | ||
|
||
![abp-studio-add-new-microservice-dialog-integration-step](images/abp-studio-add-new-microservice-dialog-integration-step.png) | ||
|
||
ABP Studio intelligently selects the right values for you, but you should still check them carefully since they directly affect what we will do in the next parts of this tutorial. | ||
|
||
**Ensure the options are configured the same as in the preceding figure**, and click the *Next* button. | ||
|
||
### Additional Options | ||
|
||
![abp-studio-add-new-microservice-dialog-additional-options-step](images/abp-studio-add-new-microservice-dialog-additional-options-step.png) | ||
|
||
In this step, you can select additional options for the new microservice. You can leave them as default and click the *Create* button. | ||
|
||
That's all, ABP Studio creates the new microservice and arranges all the integration and configuration for you. | ||
|
||
## Exploring the New Ordering Microservice | ||
|
||
In this section, we will investigate the new microservice in overall. |