开发者

Could we use WCF over intranet?

I am trying to build a small app for a college with WPF, it is not a net app, and I am using the sql server 2008 for th开发者_开发问答is purpose, and I am interested to know if WCF could be used for this purpose, and please let know why and why not to use WCF for this purpose.

The DB is processed in a Code library project that has all the classes etc.

Thank you for the time.


SURE! Why would you think it's not suited for this??

WCF can be used for almost anything - especially internet and intranet usages.

In intranet settings, you might want to look into using Windows authentication for simple auth, and the netTcpBinding protocol for top speed.


WCF is merely an API to help you create hosted services and clients to consume those services or other services. You could use WCF to implement a SOAP service that would be interopable with other languages such as Java, or you could do as marc_s suggested as use the Net TCP binding to create a service that is not interoperable, but that performs well in an intranet environment.

MSDN actually has a decent introduction to WCF its uses: What is Windows Communication Foundation

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜