What to choose? ASMX web service or WCF in .net 3.5? -


The current project on which I am working is extensively using web services and 3.5 Now that we are going to implement the second phase, are we confused if we already have to use WCF or web service? Apart from this, there is something new that can be useful and about Web 4.0 or WCF. Coming with 4.0

We have completed a brand new project using WCF for the first time instead of ASMX Web Services . We are very happy with the result, but know that there was a great learning curve. However, we are very pleased with the overall results and know that everything is moving forward for Microsoft and it is totally worth the pain - warts and all.

Quick

2) We have enabled a net: TCP Endpoint and "web" endpoint on the same service with only one configuration file update (no code changes) 3) We were able to create AJAX-support only the configuration changes and lush web services using only the previously created data compressor serializer. Otherwise, we had to write an HTTP handler (ashx) and handle most Jason's serialization and URL parsing hand.

4) As our site needs to be scaled for performance optimization and stability, we are converting to use an MSMQ-based messaging structure that is deep in async transactions and Guaranteed and participates; WCF provides an MSMQ binding that does not require any code change in our services - just updating updates with existing references and establishing MSMQ (and adding attributes for transaction boundaries).

But the warning: actually invest in learning this (Buy and go through the Blue O-Really Book). There are things like logic-name-change during development that do not really break the context of service, but as a result the meaningless arguments are being passed (underlying version oblique management), to consider the hosting model (Windows Service vs. IIS ), And immediately all models and flaw exceptions were actually not going into us and we had some pain. But we move forward and are very happy with our learning and flexibility and development opportunities which we have not tied with ASMX!


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -