Book Image

Mastering LOB Development for Silverlight 5: A Case Study in Action

Book Image

Mastering LOB Development for Silverlight 5: A Case Study in Action

Overview of this book

Microsoft Silverlight is fully established as a powerful tool for creating and delivering Rich Internet Applications and media experiences on the Web. This book will help you dive straight into utilizing Silverlight 5, which now more than ever is a top choice in the Enterprise for building Business Applications. "Mastering LOB Development for Silverlight 5: A Case Study in Action" focuses on the development of a complete Silverlight 5 LOB application, helping you to take advantage of the powerful features available along with expert advice. Fully focused on LOB development, this expert guide takes you from the beginning of designing and implementing a Silverlight 5 LOB application, all the way through to completion. Accompanied by a gradually built upon case study, you will learn about data access via RIA and Web services, architecture with MEF and MVVM applied to LOB development, testing and error control, and much more.With "Mastering LOB Development for Silverlight 5: A Case Study in Action" in hand, you will be fully equipped to expertly develop your own Silverlight Line of Business application, without dwelling on the basics of Enterprise Silverlight development.
Table of Contents (19 chapters)
Mastering LOB Development for Silverlight 5: A Case Study in Action
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we have learned how to create a simple WCF web service and how to consume it from a Silverlight client. You can explore all the power of WCF, but keep in mind that the Silverlight WCF client can set some limitations to this power, as sometimes only some bindings and channels are supported. Anyway, it is being improved in every new version.

We have seen how easily Visual Studio generates all proxy classes (Client classes) in Silverlight from the WDSL definition of a web service. We have also learned how to consume an existing web service without WSDL facilities, passing parameters on URL and receiving and parsing the JSON response, close to REST principles. You can also apply this model with your own web services when it doesn't fit the WCF standard, that is, not publishing a WSDL guide to the service. For instance, those services created as actions in ASP.NET MVC, or those implemented using other platforms such as PHP, Java, and so on.

Finally, we have implemented...