Windows Form .Net 1.1 & WCF
I've been tasked with finding out if it's possible to have a WCF service that can be hooked into by a Windows .Net 1.1 application, as well as newer web applications and one mobile app.
I've done a fair bit of reading on the subject but I've got next to no experience on winforms or the .net framework prior to 2.0.
Any help would be appreciated.
Thanks,
开发者_如何学PythonJames
I don't have any experience of this myself, but I've found a post on Rob Windsor's Weblog which indicates that it is possible.
This, in turn, points to an MSDN article on ASMX Client with a WCF Service and points out a further thing you need to consider.
The MSDN article is a general sample that
... demonstrates how to create a service using Windows Communication Foundation (WCF) and then access the service from a non-WCF client, such as an ASMX client.
WCF requires minimum Framework 3.0.
But WCF basicHttpBinding is SOAP 1.1, ASMX is also SOAP 1.1
So your .net 1.1 client can use a WCF basicHttpBinding service as if it was a standard web service.
See also: WCF Service instead of ASMX Web Service?
精彩评论