官术网_书友最值得收藏!

Transitioning to our product service

We already have our product module in place. We are going to pull back this module now and start with a new ASP.NET Core MVC project. To do this, follow all the steps we discussed in the preceding sections and in Chapter 1An Introduction to Microservices, Let's examine the technology and database we will use:

  • Technology stack: We have already selected this for our product service; we will go with ASP.NET Core, C#, Entity framework (EF), and so on. Microservices can be written using different technology stacks and can be consumed by clients created by different technologies. For our product service, we will go with ASP.NET Core.
  • Database: We have already discussed this in Chapter 1, An Introduction to Microservices, when talking about a monolithic application and segregating its database. Here, we will go with SQL Server, and the database schema will be Product instead of dbo.

Our product database is segregated. We will use this database in our product service, as shown in the following screenshot:

We have created a separated product database for our product service. We did not migrate the entire data. In the following sections, we will discuss product database migration as well. Migration is important as we have numerous existing records of FlixOne bookstore customers. We can't ignore these records, and they need to be migrated to our modified structure. Let's get started.

主站蜘蛛池模板: 永定县| 定襄县| 石首市| 宁波市| 老河口市| 濮阳市| 克拉玛依市| 越西县| 兖州市| 安泽县| 上饶市| 博乐市| 扬州市| 黔江区| 三河市| 防城港市| 姜堰市| 宜城市| 安康市| 青神县| 抚宁县| 衡南县| 子洲县| 靖远县| 莲花县| 乐平市| 永春县| 定安县| 昭平县| 琼海市| 嘉善县| 蛟河市| 阿拉善右旗| 冕宁县| 高平市| 寿阳县| 澄迈县| 彰化市| 宁都县| 囊谦县| 罗城|