开发者

How to deploy MVVM WPf N-tier application

开发者 https://www.devze.com 2023-04-06 11:57 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消