so , my users suddenly changed their minds and decided to go for a networked application , I have
views and viewmodels on the same project (UI) , a BLL layer dll in a ClassLibrary project and my DAL was generate开发者_运维百科d using EF in another ClassLibrary project, In my development machine all these projects are on the same Solution and thus the BLL is referncing the DAL dll and the UI project(view and viewmodels) references the BLL dll ,now I want to deploy the UI project in the client machine and make it to reference the BLL dll which is located on the server where we also have the DAL dll and the database itself. the UI make a call to the BLL on the server and the BLL ask the DAL for some data, the DAL connets to the Database and get the data back, is it possible ? if yes how can I make my client to reference a dll located on another machine (the Server)
Thanks in Advance
Create a WCF Service which will use your BLL and deploy WCF on a server which is accessible to your clients then consume WCF in your WPF application.
精彩评论