简体   繁体   中英

How to deploy MVVM WPf N-tier application

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 generated 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

创建一个WCF服务,它将使用您的BLL并在客户端可访问的服务器上部署WCF,然后在您的WPF应用程序中使用WCF。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM