Mastering LOB Development for Silverlight 5: A Case Study in Action. Develop a full LOB Silverlight 5 application from scratch with the help of expert Rybnik

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 …

od 161,10 Najbliżej: 22 km

Liczba ofert: 1

Oferta sklepu

Opis

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. Spis treści: Mastering LOB Development for Silverlight 5: A Case Study in Action Table of Contents Mastering LOB Development for Silverlight 5: A Case Study in Action Credits Foreword About the Authors About the Reviewers www.PacktPub.com Support files, eBooks, discount offers and more Why Subscribe? Free Access for Packt account holders Instant Updates on New Packt Books Preface LOB application case study: applying what we have learned What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions 1. Express Introduction to Silverlight Introduction to Silverlight Installation Silverlight architecture Creating the Hello World project Creating a new project Coding directly into the markup language Dragging-and-dropping controls Interacting with Code-Behind XAML basic concepts What is XAML? Basic elements for layout definition Canvas StackPanel Grid Controls LOB application case study: applying what we have learned Summary Additional resources 2. Forms and Browsing Controls definitions Creating windows and controls UserControl Example of UserControl Instantiating the control from code (Code-Behind) Page control Creating modal dialogs Example of modal dialogs Navigation Navigating the Web Silverlight Navigation Framework Integrating Navigation Framework in the browser UriMapper Frame Creating a sample Navigation Application Adding a new page Navigation control services URI parameters Deep Linking LOB application case study: applying what we have learnt MapView.XAML page AdminView.XAML Page Modal AdminEditionView.xaml dialog Summary Additional resources 3. Data Binding Understanding DataSource Path Binding sources DataContext Change notifications Data binding modes Introducing the ViewModel ViewModel example Dependency properties Data binding from Code-Behind Adding validations BindingValidationError DataAnnotations Converters IValueConverter LOB application case study: applying what we have learned Entity classes ObservableCollection AdminViewModel object Data binding Summary Additional resources 4. Architecture Patterns MVVM pattern Creating an MVVM-based sample application Creating the project structure Coding the project MyTweet.Model MyTweet.ViewModel MyTweet.View MVVM Light Toolkit ViewModelBase RelayCommand Messenger Managed Extensibilty Framework (MEF) MEF definitions Parts and contracts Composition Creating a mock model using MEF Solution and folder structure LOB application case study: applying what we have learned Project structure Folder structure Main solution structure Libraries Packt.Libs.Navigation Packt.Libs.Threading Packt.Libs.Utils Packt.Libs.Windows Summary Additional resources 5. RIA Services Data Access Accessing data RIA Services pieces Creating a Domain Service and consuming it from a Silverlight application CRUD Read Create Update Delete Error control Simple data binding Validation DataAnnotations Simple validations Custom and shared validations Entity-level validations Domain Services validations Server validations Asynchronous validations Advanced topics Cancelling changes Transactions Domain Service and partial classes Include Composition Solving the many-to-many relationship issue RIA Services and MVVM Encapsulating RIA Services in a model Context lifetime discussion and model factory LOB application case study: applying what we have learned Server Test Model Modules Summary Additional resources 6. Out of Browser (OOB) Applications Out of Browser (OOB) Executing an application in OOB mode Enhancing the experiencetooling up and updating In-browser/OOB detection Detecting the application installed Installing the custom interface Uninstalling an OOB application Offline installation Updates Offline work How it works Breaking the sandboxtrusted applications Enabling trusted mode Advantages of trusted applications Accessing files Making calls to COM+ Writing an entry on the registry Executing notepad from our application P/Invoke Cross-domain calls WebBrowser control How it works Real windows In-browser trusted applications LOB application case study: applying what we have learned Summary Additional resources 7. Testing your LOB Application Types of testing Methodologies Unit testing with Silverlight Testing server code Testing client code with MSTest Libraries to test Silverlight code Testing synchronous client code with Silverlight Unit Testing Testing asynchronous client code with Silverlight Unit Testing Isolating unit tests via substitutes LOB application case study: applying what we have learned Summary Additional resources 8. Error Control Following best practices Exception handling Getting started Try and catch The "finally" expression Strategies Asynchronous patterns AsyncCompletedEventArgs ExceptionRoutedEventArgs/UnhandledExceptionEventHandler Global exception handling Understanding the exception types Fatal exception Boneheaded exceptions Vexing exceptions Exogenous exceptions Logging Enterprise application framework Architecture Practice Exception handling PostSharp Reporting bugs Architecture Service implementation Client implementation LOB application case study: applying what we have learned Server side Client side Summary Additional resources 9. Integration with other Web Applications Page architecture Communication between an ASPX page and Silverlight Accessing Silverlight from JavaScript Exposing methods and functions Returning complex data Registering a Silverlight object Accessing JavaScript from Silverlight HtmlPage object DOM handling from Silverlight HtmlDocument HtmlElement Interaction between Silverlight and JavaScript Address book Visual Studio solution Login page Contact list Contact edition Calling JavaScript code LOB application case study: applying what we have learned Summary Additional resources 10. Consuming Web Services Definitions Implementing and consuming a WCF service Proposal for sample projects Building the server Enabling WCF service for Silverlight 4 Designing the client UI Referencing a WCF service from client Consuming a WCF service from Silverlight Using complex types via WCF Consuming a public API web service Twitter API Starting the Twitter project Calling the Twitter API Processing JSON format LOB application case study: applying what we have learned Implementation of the service client Summary 11. Security Client-side security Critical information Signing assemblies XAP and certificates XAP and obfuscation Server-side and communication security Validations Cross-domain calls Security in our communications Authentication and authorization with RIA Services Authentication Authorization Authentication and authorization in WCF Services Protecting communications with SSL LOB application case study: applying what we have learned Server side Client side Summary Additional resources Index

Specyfikacja

Podstawowe informacje

Autor
  • Jose Fernando Almoguera, Reyes Garc?É!!=a Rosado, Sebastian Stehle, Pablo N?É!??É!+-ez Navarro, Jos?É!(C) Fernando Almoguera, Rocio Serrano, Braulio D?É!!=ez, Pablo Navarro Castillo, Braulio Diez, Reyes Garcia Rosado
Kategorie
  • Programowanie
Wybrane wydawnictwa
  • Packt Publishing