I have two applications, one is a Web API, and the other is a scheduled job.
Web API
- First I run this service
- There is an entity called 'User'
- I'm adding some fake users using a DB Context called 'ApplicationContext'
- The data will be persisted in an in-memory DB
Scheduled Job service (Background service)
- Now I'm running this service and trying to access the same
DbContext - But I don't see the fake users in the new context
How can I access the data in another application?