我们可以从BO调用webservice吗? [英] Can we call webservice from BO
本文介绍了我们可以从BO调用webservice吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以告诉我,我们可以在BO上调用服务
Hi can anyone tell me that can we call service on BO
推荐答案
是的,你可以但不是一个好方法。
Web服务应位于单独的层或DAL内。
在.NET中构建N层应用程序(有用的概念) [ ^ ]
在3层架构中使用Web服务 [ ^ ]
问候。
Yes, you can but is not a good approach.
The Web Service should be located in a separate tier or inside DAL.
Building an N-Tier Application in .NET (Useful concepts)[^]
Using Web Services in a 3-tier architecture[^]
Regards.
您可以从任何层呼叫Web服务。
因为你正在调用外部接口,所以你应该是ca.尽管如此仍然关注安全。
You can call a web service from any layer.
Since you are calling an external interface, you should be careful about security though.
这篇关于我们可以从BO调用webservice吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文