surpavan
surpavan

Reputation: 1412

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 this 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.

Upvotes: 0

Views: 609

Answers (2)

Bob Wintemberg
Bob Wintemberg

Reputation: 3252

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

Upvotes: 2

marc_s
marc_s

Reputation: 754210

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.

Upvotes: 5

Related Questions