Coding reactive microservices
Now, let's try to sum up everything and see how it actually looks in the code. We will use Visual Studio 2017 for this. The first step is to create a reactive microservice, and then we will move onto creating a client for consuming the service created by us.
Creating the project
We will now go ahead and create our reactive microservice example. In order to do this, we need to create a project of the ASP.NET web application type. Just follow these steps and you should be able to see your first reactive microservice in action:
- Start Visual Studio.
- Create a new project by navigating to
File
|New
|Project
. - From the installed templates, select
.NET Core
|ASP.NET Core Web Application
. - Name it
FlixOne.BookStore.ProductService
and click onOK
:

- From the
New ASP.NET Core Web Application
screen, select.NET Core
andASP.NET Core 2.0
and then selectWeb Application (Model-View-Controller)
and click onOK
:

Note
You can enable Docker support for Windows if you enable the container...