how can I future-proof migration of a ADO.net local data layer to a future web based interface (web-
Posted
by Greg
on Stack Overflow
See other posts from Stack Overflow
or by Greg
Published on 2010-03-25T06:05:25Z
Indexed on
2010/03/25
6:13 UTC
Read the original article
Hit count: 427
Hi,
BACKGROUND: I am working on a .NET WinForms application now (C#) with an ADO.net database for the data layer.
QUESTION: How an I develop this now such that it would be easy to migrate to a model where the data layer is abstracted via a HTTP web-service or REST interface?
For example would just use of a standard C# interface with a Factory to obtain a concrete implementation of the interface where this uses ADO.net be the best?
thanks
© Stack Overflow or respective owner