Reputation:
I have an opportunity here to get into WCF but have a limitation on time on deliverable. I can provide my services in iteration and if WCF is the way to go I can buy extra time to get over the learning curve.
What is the norm now? Is WCF the way to go?
Upvotes: 8
Views: 846
Reputation: 161773
This should be a no-brainer. Too bad it isn't.
The answer is WCF. It replaces the old ASMX web services. It's no longer accurate to say that WCF is the future - it's the present, and ASMX is the past, rapidly becoming ancient history.
The subset of WCF that you need to learn to do the same as you were doing with an ASMX service is really very easy.
That's about all, really. You'll learn it very quickly. The rest of it is "gravy". It's a very rich gravy, with a lot of "meat" in it, but you can leave it on the side, or just take a little if you want it.
Upvotes: 3
Reputation: 7169
Once you get WCF setup, its fantastic! Using SQL & LINQ via WCF to return your data is (for me) SO much quicker!!
One thing of note: Certificates!
We had a lot of issues there! This link helped.
Good luck!
Upvotes: 0
Reputation: 6588
Seriously, grab a copy of Juval Lowy's excellent "Programming WCF Services" and read the first chapter. Create a few services and pretty soon you're realize it's not as difficult as it seems at first glance.
WCF is the future of components in .NET. Web Services are the past.
Upvotes: 4
Reputation: 25260
If your service need to be available over multiple communication protocols and you need to configure security, WCF is the way to go.
If the service just needs to be available over HTTP and/or HTTPS, ASMX web service would be the way to go if you have a time constrain
Upvotes: 1
Reputation: 10503
I've run into this question a few times now, so from my own experience and others, go with WCF only if you're willing to take on the learning curve. Creating the objects is a no brainer, really straight forward and easy to use. But...
Some common pitfalls:
Upvotes: 6