3
Answers

WCF in .Net 3.5 (or 2)

Elvis

Elvis

14y
1.7k
1
Hi.

I have WCF that works fine when asp.net configured to 4.
Not working if .Net is 2

What can I do?

thanks.
Answers (3)
0
Suthish Nair
NA 31.7k 4.6m 14y
Yes.. you can.. WCF is built on top of .net 2.0 but does not have WCF. Add your service as "add web reference" not "add service reference" and try. Also, set the target .NET FW to 2.0.
0
Amit Choudhary
NA 27.7k 3m 14y
Hi friend,

 .Net 2.0 doesn't provide support to WCF classes. This is new feature in 3.5 and later on versions.
 In 3.5 it should be working fine. You might have used the 4.0 library function which are not available in 3.5.

 Thanks.
0
Vulpes
NA 98.3k 1.5m 14y
You can't run WCF in .NET 2.0 because it wasn't introduced until .NET 3.0.