S
S
Sergey Korolkov2019-02-20 22:39:40
ASP.NET
Sergey Korolkov, 2019-02-20 22:39:40

How to connect two sites to one localB database?

On one site-project, I accept data from the form and write the data to the database, on the other I want to take the data. For example, take the structure of the model and output it in json format. What needs to be configured for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Q
QSandrew, 2019-02-22
@QSandrew

If EntityFrameWork then create two DBContexts and specify a connection string for each

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question