Yes, you can use ASMX in .NET 4.0 also.
I think WCF is great in situations where you can take advantage of its strengths, like when you can use the tcpBinding mode. However, WCF’s complexity makes it hard to seriously consider for simple AJAX callback functionality where a better targeted, more mature solution already exists.
ASMX is by no means deprecated or obsolete, even in .NET 4. That’s actually one of the misconceptions I’m going to cover in this series.
ASMX Web Services would fall under the .NET framework lifecycle. The .NET framework 4.0 and 4.5 support ASMX web services. Microsoft recomends that no new code be created using ASMX as pointed in the earlier answers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With