Please give a comparative analysis. Should I use asmx in .NET 4.0 projects?

    2 answers 2

    WCF provides an abstraction from the data transfer protocol. In addition, WCF allows you to more flexibly manage the message format.

    On the other hand, asmx has fewer problems in terms of scalability. In WCF, you will constantly struggle with timeouts out of the blue, and Web Services normally work right out of the box.

    • 2
      I read somewhere that WCF replaced веб-службам . Last used only to support old services. When creating new, apply WCF . And what kind of timeouts out of the blue? - Ildar
    • There the default load settings are pretty hard. Somewhere I read an article about the black testing of these technologies, and Web Services gave the best results. Now I did not find the link to this article. In general, if Web Services is enough, it’s better to use them. - Modus
    • I would be glad if you can provide this link. - Ildar

    In these two English-language topics, it says:

    https://stackoverflow.com/questions/2448472/wcf-vs-asmx-web-service

    https://stackoverflow.com/questions/1229705/asmx-versus-wcf

    PS: if anything, I can translate

    • I didn’t go deep into it, I do not know the language well. The meaning is clear, it is better to use WCF . And to solve this problem , which is better? - Ildar
    • I understand that for this task WCF is better. Moreover, judging by what was said on Wikipedia, WCF allows you to wrap the same asmx. But I don’t understand the perfect web technologies, so you can not listen to me. - Maxim Kamalov
    • Understood thanks. - Ildar