An app I’m currently working on uses Entity Framework 4 which connects to a database on the local network. We now need this database to be hosted on a server at a different location. Obviously our client apps (Windows Forms) will still need to access the data. Using a VPN would be the easiest, but that is not an option in this case. With that said, what are my options? Is there a way I can expose the entity data model via web services that would require minimal rework of the client application?
Share
Research into WCF Data Services: http://msdn.microsoft.com/en-us/library/cc668794.aspx
And have a quick read through this, to get an idea of how easy it is to setup wrapper service for EF. http://blogs.msdn.com/b/adonet/archive/2011/03/21/using-wcf-data-services-with-entity-framework-4-1-and-code-first.aspx