-1

I need to create separate database for area in a project. I don't want to join two database together. is it possible or not ?

Actually I wanted to have totally separated projects in one solution but this way I have some issue with routes (only one of them is accessible by routes) so i decided to try area but still I need to have more than one DBs in a project

iDeveloper
  • 1,699
  • 22
  • 47

1 Answers1

1

Yes, of course.

I do not know how you connect to your database, but in your appsettings.json file, put two connection strings with different names for different DB's.

baruchiro
  • 5,088
  • 5
  • 44
  • 66