AppSettings

BasicCRUD Insert Query with Bridge

Now let us look at the app settings that is given by default.

"FlexBase": {
"EndPoint": "ECommerceDemo-EndPoint-WebAPI",
"AppDbConnection": "Data Source=.;Initial Catalog=ECommerceDb;User ID=demouser;Password=YourPassword;",
"AppReadDbConnection": "Data Source=.;Initial Catalog=ECommerceDb;User ID=demouser;Password=YourPassword;",
"AzureStorageConnectionString": ""
}

When we use the bus service is defined by this parameter EndPoint . Every endpoint needs to be unique across your solution. Then we have AppDbConnection which is mostly used for the Write Db and AppReadDbConnection for Read DB connection . When you are doing the development, you can have both the connections and also it can refer to the same DB for the both, but this makes it convenient to have separate Read Db for scaling.

‚Äč