Your hands-on, step-by-step guide to building connected, service-oriented applications. Teach yourself the essentials of Windows Communication Foundation (WCF) 4 -- one step at a time. With this practical, learn-by-doing tutorial, you get the clear guidance and hands-on examples you need to begin creating Web services for robust Windows-based business applications. Discover how to: Build and host SOAP and REST services Maintain service contracts and data contracts Control configuration and communications ...
Read More
Your hands-on, step-by-step guide to building connected, service-oriented applications. Teach yourself the essentials of Windows Communication Foundation (WCF) 4 -- one step at a time. With this practical, learn-by-doing tutorial, you get the clear guidance and hands-on examples you need to begin creating Web services for robust Windows-based business applications. Discover how to: Build and host SOAP and REST services Maintain service contracts and data contracts Control configuration and communications programmatically Implement message encryption, authentication, and authorization Manage identity with Windows CardSpace Begin working with Windows Workflow Foundation to create scalable and durable business services Implement service discovery and message routing Optimize performance with service throttling, encoding, and streaming Integrate WCF services with ASP.NET clients and enterprise services components Your Step by Step digital content includes: Practice exercises Downloadable code samples Fully searchable online edition of the book -- with unlimited access on the Web
Read Less
Add this copy of Windows Communication Foundation 4 Step By Step [With to cart. $13.14, good condition, Sold by ThriftBooks-Dallas rated 5.0 out of 5 stars, ships from Dallas, TX, UNITED STATES, published 2010 by Microsoft Press.
Add this copy of Windows Communication Foundation 4 Step By Step (Step to cart. $13.21, very good condition, Sold by Orphans Treasure Box rated 3.0 out of 5 stars, ships from Champaign, IL, UNITED STATES, published 2010 by Microsoft Press.
Choose your shipping method in Checkout. Costs may vary based on destination.
Seller's Description:
Very Good. Minimal wear. Voucher code in back hasn't been scratched off. Orphans Treasure Box sells books to raise money for orphans and vulnerable kids.
Add this copy of Windows Communication Foundation 4 Step By Step to cart. $43.74, good condition, Sold by Bonita rated 4.0 out of 5 stars, ships from Newport Coast, CA, UNITED STATES, published 2010 by Microsoft Press.
Book review - "Windows Communication Foundation 4 ? Step by Step?, by John Sharp
ISBN-13: 978-0-735-64556-1
Hi, This book is about WCF (Windows Communication Foundation) which is Microsoft?s API for building SOA (service oriented application) infrastructures. SOA is very important because todays devices (especially tablets, smartphones, IPADS). all need to make HTTP calls to some URL addressable endpoint, whether it be SOAP based, REST based or just simple HTTP xml services. HTTP over TCP/IP is the universal transport mechanism for all these web-enabled devices. Lest we forget, SOA?s also can serve as the building blocks for calls to get data for websites, Silverlight or FLASH based apps as well.
I am very interested in SOA architectures and believe that they are very important to any organization?s IT department as a mechanism to eventually have ?building blocks? of services which make the application of business logic or some type of workflow process easier to consistently apply this logic across the organization.
It also allows organizations to more rapidly build applications because once you have an SOA architecture in place, these services can be called from any client-side environment such as a web page, mobile device, tablet or whatever else may come down the pike.
Another key advantage is the fact that SOA?s usually use standardized data exchange formats such as XML or JSON so that different devices from different manufacturers (android/IOS/Blackberry/Windows Phone) all can understand the data while abstracting away concepts such as operating system type or CPU architecture etc.. In other words, SOA?s when correctly built are platform agnostic.
The first several chapters of the book cover pretty much what you would expect from any WCF book, things like what WCF is, what is SOA, how and where can WCF be hosted (for example WCF is designed to be very flexible, the services built within WCF can be hosted in IIS, run as a windows service and can also use different protocols (HTTP, TCP/IP, PEER to PEER) and also can be secured in a variety of ways (WINDOWS security, FORMS authentication, SSL certificates, custom authentication hooks)).
Fairly complex topics such as service endpoints, hosting services, bindings, fault propagation are covered in an easy to understand manner in the first couple of chapters.
Chapters 4 and 5 deal with a critical topic which is how to protect your services (authentication and authorization). These chapters do a pretty good job of describing the challenges for services that may be hosted on an internal corporate network as opposed to services which will be URL accessible across the internet. These topics are critical to the success of any SOA architecture because if you do not have a way of identifying and granting access to who may call your services, you can run the risk of exposing your data in a manner which you did not intend to. Remember, these SOA architectures are exposed as http endpoints across the world wide web! Make sure you understand security implications before you get too far. In my opinion implementing SSL for your service endpoints exposed in the WWW is a must for most organizations unless you have in mind very simple services such as returning the current temperature for a given zip code (in other words, things that you do not necessarily want secured, maybe something like the time a movie is showing at a particular theatre).
One topic dealing with authentication/authorization is called federated (claims based authentication/authorization). This was given very little coverage in the book, I can understand why though, because there are entire books written about the subject. I did find it disappointing that so little mention was made of federated (claims based authentication/authorization). For excellent coverage of this topic look for the book titled Programming Windows Identity Foundation by Vittorio Bertocci.
Chapter 6 deals with service contracts and data contracts which are a way of structuring your WCF programming. Service contracts describe the operations your service supports (it basically defines an implementation interface) and data contracts are important because that is how you get the ?platform neutrality? that maximizes the usage of your WCF services. In prior programming projects using regular ?web services?), I was guilty of sending back very .net specific data structures such as ado.net datasets. In today?s world, it?s much more critical that you use data contracts (and data members) which will cause WCF to generate very neutral generic return data structures that are recognizable by all platforms. This is because today we see the rise of android, IOS (ipad), Windows Phone, java devices, blackberry etc? The future will see the advent of many more connected devices, some we have not yet even dreamed of as of yet.
Chapters 7 deals with WCF state and how to preserve state, usually http based services are stateless, but there are ways of persisting session state between calls.
Chapter 8 brings into the picture, mind blowing power which comes from integrating WCF with Windows Workflow foundation services, which is a true workflow API built into the .net framework, this is how you can truly build stateful service calls built upon the concept of ?workflows? by using the workflow engine. The windows workflow engine can persist a workflow inside of sql server and ?rehydrate? that workflow right back where it left off, very powerful!
The rest of the book covers topics such as transactional processing with WCF services, reliable sessions and asynchronous calls. There is a nice chapter (Chapter 13) on how to support features such as service throttling, MTOM protocol (sending binary objects efficiently across HTTP) and streaming data (such as video streaming).
One of the more interesting topics is the SOAP protocol versus RESTFUL services debate raging in today?s world. (read some of the links below)
http://www.devx.com/DevX/Article/8155
http://geeknizer.com/rest-vs-soap-using-http-choosing-the-right-webservice-protocol/
http://devcentral.f5.com/weblogs/macvittie/archive/2008/12/05/soap-vs-rest-the-war-between-simplicity-and-standards.aspx
http://blogs.captechconsulting.com/blog/jack-cox/soap-vs-rest-mobile-services
Chapter 15 has a nice chapter on RESTFUL services based upon ODATA (AKA WCF data services). I read this chapter and got a lot of useful information about it, as mentioned many of these chapters are topics that actually have whole books written about them. WCF by default is SOAP based, but it also supports the concept of building REST services. I encourage you to read more about REST services, because I believe ultimately most SOA?s are going to be built using this type of architecture. As a matter of fact, for those of you interested in SharePoint, SharePoint 2010 now has a REST based callable SOA based upon WCF data services. It has a few quirks, but once I understood it, I was amazed at how powerful and easy to use the SharePoint REST based API is.
Not covered at all is another WCF based technology called WCF RIA services, which is mostly used from what I have seen in Silverlight projects. I was a little disappointed that no mention was made of this technology, at least a paragraph or two should have been included.
There is also an exciting new WCF based api they are calling WCF web api which was too new for the author to include in this book, I am following this WCF web api because it looks very promising, I predict really powerful and useful things to come from this WCF web api.
(see
http://wcf.codeplex.com/wikipage?title=WCF%20HTTP
)
CONCLUSION
All in all, I would consider this book an intermediate level book on WCF, the book gives a nice overview of WCF although it?s missing a few topics I would have liked to at least have seen mentioned. I did like the REST chapter of the book a lot, because you