I have an application for Windows Forms (C #) and an asp.NET web application that provides access to a Sql Server database. I want to centralize access to the database. What metadologies should I follow? What is the general approach to this problem?
- Writing DALs and model libraries and using them in both applications
- Writing a WCF service, including the DAL model, and using this service with both applications
- None of the above?
Can you give me an idea?
Thank.
source
share