为Web和桌面创建应用程序 [英] Creating an Application For Web And Desktop

查看:83
本文介绍了为Web和桌面创建应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以设计一个在网页上以相同方式运行的程序,以及下载到计算机上的程序吗?



TheRedGuy90

Can I design a program that runs the same way on a web page, as well as downloaded onto the computer?


TheRedGuy90

推荐答案

是的,你使用松散耦合来解耦BLL来自UI的DAL,因此其中一个UI可以使用后端,后端不关心前端使用它。 BLL和DAL需要位于Web服务之后。 N层将允许这个
解耦UI。

yes, you use loose coupling where you decouple the BLL and DAL from the UI so either one of the UIs can use the backend, and the backend doesn't care what frontend is using it. The BLL and DAL need to sit behind a Web service. N-tier will allow this the decoupling of the UI.

http://www.dotnet-stuff.com/tutorials/c-sharp/understanding-loose-coupling - 和 - 紧耦合

http://www.dotnet-stuff.com/tutorials/c-sharp/understanding-loose-coupling-and-tight-coupling

http://www.c-sharpcorner.com/UploadFile/dacca2/design-pattern-for-beginner-part-11-implement-decouple-cl /

http://www.c-sharpcorner.com/UploadFile/dacca2/design-pattern-for-beginner-part-11-implement-decouple-cl/

你可以通过将bll和dal放在Web服务后面并使Windows UI客户端使用Web服务来播放。然后,您可以通过调用Web服务来开发ASP.NET表单项目执行相同的功能。

you can play, by putting the bll and dal behind a Web service and make the Windows UI client use the Web service. You can then develop a ASP.NET form project do the same functionality by calling the Web service.

https://www.codeproject.com/Articles/36847/Three-Layer-Architecture -in-C-NET

https://www.codeproject.com/Articles/36847/Three-Layer-Architecture-in-C-NET


这篇关于为Web和桌面创建应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆