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

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.

主站蜘蛛池模板: 济阳县| 阳山县| 德昌县| 永泰县| 丰台区| 德州市| 南涧| 隆昌县| 庐江县| 荃湾区| 会同县| 闵行区| 麻栗坡县| 尉氏县| 香格里拉县| 定陶县| 水富县| 嘉义县| 洪泽县| 方正县| 浦江县| 兴义市| 门源| 东港市| 剑川县| 雅安市| 贵德县| 仁寿县| 阿拉善右旗| 凌源市| 湟中县| 清水河县| 尼木县| 论坛| 迭部县| 鄂伦春自治旗| 炉霍县| 衡水市| 萨迦县| 长泰县| 门源|