Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have a solution with 3 projects.

- one for Entity framework that contains my edmx diagram (App.Config)
- one for my core business (App.Config)
- and one for my web API (Web.Config)

When I publish my project on my hosting service or my personal server I also publish my web.config file but each of my project contains is own app.config. Are these app.config also integrated to the published project? I think no because all my app.config file are with build action set to none. I would like to know what connection string of which config file Entity Framework is using.

I guess that during my coding the connection string of the app.config of my entity framework is used to generate and update my edmx file. But at run time it's the connection string of my web.config file that is used. Correct?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900