none
Data Points - EF Core in a Docker Containerized App RRS feed

  • General discussion

  • Given the time she’s spent learning about EF Core and Docker, Julie Lerman thought it wouldn’t be too difficult to use them together to build a containerized app and add a data persistence mechanism. It turned out to be harder than she thought. Learn how and why, and use her experiences to ease your pain.

    Read this article in the April 2019 issue of MSDN Magazine

    Monday, April 1, 2019 5:54 PM
    Owner

All replies

  • I had a question about the article.

    How would you connect from the application running in a docker linux container to local SQL server that is running outside the container? I am assuming that would be a very common scenario for someone trying things out on a local machine before deploying the application in the cloud. 


    Thanks, Ajit Goel

    Friday, June 28, 2019 1:58 AM
  • Hi Ajit, I did this in Part 2 of the series which is the May issue. https://msdn.microsoft.com/magazine/mt833438?wa=wsignin1.0 . (there is also a part 3 where I then had the app in one container and the database in another...that's the June issue)

    Hope it helps!

    Julie


    Julie Lerman, Author of Programming Entity Framework, MVP

    Monday, July 8, 2019 6:25 PM
    Answerer