WCF vs Web Services

I need to develop an API that will return data from a database.  Which is the best technology to use - WCF or Web Services?  Which is easier to build?  I need to keep security in mind.  

I've developed internal web services before but have not developed any WCF apps.

Thx
LVL 2
CipherISAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vel EousResearch & Development ManagerCommented:
WCF is Microsofts replacement for DCOM, .NET remoting and legacy asmx web services, it provides a framework for developing and deploying interoperable services on the Windows platform.  It promotes SOA design principles and supports numerous transport and message protocols such as TCP, HTTP, Named Pipes, SOAP, JSON and REST.

WCF declares several system-providedbindings that document how communication between a service and consumer should be handled, such as transport protocol, message protocol and security.   Bindings such as netTcpBidning provide a means for securing communications at the transport or message level.  Securing the actual service, it can be used in conjunction with the MembershipProvider and RolesProvider classes.  Alternatively you can also roll your own binding configurations either entirely from scratch, or taking your preferred bits from the system-provided bindings.

System-provided bindings: http://msdn.microsoft.com/en-us/library/ms730879.aspx

WCF services are not complex to build, there is however potentially a lot to learn if you wish to take full advantage of its potential.  There would be a learning curve for you initially (obviously), however, it will be to your benefit as you learn to develop reusable and scalable services.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WCF

From novice to tech pro — start learning today.