Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 21, 2012 02:07 PM by radamanthys
Dec 18, 2012 07:46 AM|LINK
During my tiny technology research, I came accross that ASP.NET Web Service is not available for the .Net 4.0 framework and only available in .net 3.5, and that in 4.0 it has been replaced with WCF, I am just wondering, does the same applies to .NET 4.5
or am I totally heading in the wrong direction here?
Dec 18, 2012 07:53 AM|LINK
It is considered obsolete from 4.0
The basic idea (and a good advice) is to build a WCF service instead. More flexible and WCF incorporates (multiple versions of) SOAP.
If you still want to make a Fx4 WebService, just create the Fx3.5 one and upgrade it to Fx4.
It's also possible to start with the Empty WebProject and add 1 or more WebServices through the
Add new Item menu.
Dec 18, 2012 08:09 AM|LINK
Dec 18, 2012 08:55 AM|LINK
I am not completely getting what you are tyring to say. If i understood correctly, yes you can use WCF and Webservice in a same project. But accessing Webservice is different than accessing WCF service. If you are trying to write a brand new functionality
try use WCF instead of Webservice. Hope the following links will help you.
Dec 21, 2012 02:07 PM|LINK
You can create and add web services references in .NET Framework 4.0 and 4.5, but as on the previous comments was mention, Microsoft is trying to establish the WCF standar as the common pattern at services, but using the web services legacy, keeps easier
the integration with other platforms for services consumers.