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

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.

主站蜘蛛池模板: 长治县| 游戏| 郁南县| 信阳市| 平定县| 晋城| 无极县| 建昌县| 哈尔滨市| 濉溪县| 六安市| 宁都县| 安陆市| 宁远县| 宁远县| 高安市| 大丰市| 通化县| 四子王旗| 万全县| 巧家县| 称多县| 巴南区| 霍邱县| 沿河| 六枝特区| 璧山县| 库伦旗| 思南县| 桂阳县| 奎屯市| 徐州市| 天气| 阳江市| 报价| 黔南| 长宁区| 苍梧县| 弥渡县| 图片| 澜沧|