SlideShare a Scribd company logo
The Basics - II
 Silverlight   and JS Demo
 MVVM
 Binding
 Change Notification
  • INotifyPropertyChanged
  • Dependency Properties
  • ObservableCollection
 XAML
 Silverlight
            and Web Services
 RIA Services
 Demos
Basics of Silverlight 2
Basics of Silverlight 2
 Model   – Domain Object
  • Actual Data
  • Holds information, not behavior or services that
   manipulate the information
 View Model – converter between View and
  Model
 View – Presentation
 Separation  between View and ViewModel
 Test driven development
 Better data binding - two way data-binding
  possible
 ViewModel can aggregate parts of model
  present in separate classes
 One   Way
 • GUI element is updated whenever the object to
   which element is bound is updated
 Two   Way
 • GUI element is updated whenever the object to
   which element is bound is updated. Also, object is
   updated whenever GUI changes.
 One   Time
 • The object to which the UI element is bound can
   change the value of GUI element only once.
 INotifyPropertyChanged
 Dependency       Properties

        Button 1
                                 Shared Default Value
        Button 2                   Grid.Column = 0

        Button 3
                                Instance Specific Value

        Button 4                   Grid.Column = 1
Basics of Silverlight 2
Basics of Silverlight 2
 Separating   Design from Development
 Portability between Web and Windows
  • Logical Tree – XAML as is
  • Visual Tree – representation of actual code
     Every element of visual tree is a dependency property
 Demo
 Demo
 Simplifies development of N-tier RIA
 No need to focus on service plumbing
 Client is automatically updated with latest
  logic every time the solution is re-compiled
 Demo
Basics of Silverlight 2

More Related Content

PDF
TechEvent 2019: Whats new in biGENiUS; Robert Kranabether - Trivadis
PPTX
Integration Best Practices
PPTX
Contract-Based Web Services API Deep Dive
PPT
PowerBuilder 11 .Net Application Deployment
PPTX
Kentico+
PDF
(English) Introducing JMap 4.0
PPTX
Running your CMS in the Cloud
PDF
Building a serverless app
TechEvent 2019: Whats new in biGENiUS; Robert Kranabether - Trivadis
Integration Best Practices
Contract-Based Web Services API Deep Dive
PowerBuilder 11 .Net Application Deployment
Kentico+
(English) Introducing JMap 4.0
Running your CMS in the Cloud
Building a serverless app

What's hot (10)

PPTX
High Level Overview of Windows Azure - EPC Group
PDF
Cloud Computing Architecures
PPTX
Rubix - Serverless architecture
PPTX
Alex Thissen (Xpirit) - Een verschuiving in architectuur: op weg naar microse...
PPT
Presentation by Richard McMahon - Senior Support Consultant of Geowise
PPTX
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
PDF
Building Rich Internet Apps with Silverlight 2
PPTX
Logic app x microsoft flow
PDF
EUGM 2013 - Gabor Guta (ChemAxon) - JChem Web Services
PPTX
iDN Web Portal 2014
High Level Overview of Windows Azure - EPC Group
Cloud Computing Architecures
Rubix - Serverless architecture
Alex Thissen (Xpirit) - Een verschuiving in architectuur: op weg naar microse...
Presentation by Richard McMahon - Senior Support Consultant of Geowise
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
Building Rich Internet Apps with Silverlight 2
Logic app x microsoft flow
EUGM 2013 - Gabor Guta (ChemAxon) - JChem Web Services
iDN Web Portal 2014
Ad

Viewers also liked (20)

PPTX
מצגת1
PPT
О Погорєлов "Інструменти для візуалізації"
PDF
Clinical materials for medicine IV
PDF
ск
PPTX
Rural Urban Child Migration Prject (RUCMP) Link
PPT
Nutrition for Tissue Rejuvenation
PPTX
Project Management Presentation
PPT
Nutrition for Injury Prevention
PPT
למידה שיתופית
PDF
Best practices of emerging tools
PPTX
Впровадження електронних технології в місті львові
PDF
PPTX
ElectionMall Campaign Cloud Powered By Microsoft Webinar March 8th
PPTX
Restauració i cloud computing by ignacio martínez
DOC
Ichci13 submission 104 (1)
PPTX
Final evaluation.1
PDF
secret base~jeff pattonがくれたもの~
PDF
Gestor de proyectos docent tic
PDF
もうアジャイルなんて言わないよ絶対 - Developers Summit 2012 FB -
PDF
программа будущее для всех
מצגת1
О Погорєлов "Інструменти для візуалізації"
Clinical materials for medicine IV
ск
Rural Urban Child Migration Prject (RUCMP) Link
Nutrition for Tissue Rejuvenation
Project Management Presentation
Nutrition for Injury Prevention
למידה שיתופית
Best practices of emerging tools
Впровадження електронних технології в місті львові
ElectionMall Campaign Cloud Powered By Microsoft Webinar March 8th
Restauració i cloud computing by ignacio martínez
Ichci13 submission 104 (1)
Final evaluation.1
secret base~jeff pattonがくれたもの~
Gestor de proyectos docent tic
もうアジャイルなんて言わないよ絶対 - Developers Summit 2012 FB -
программа будущее для всех
Ad

Similar to Basics of Silverlight 2 (20)

PPTX
AngularJS
PPTX
Advanced MVVM in Windows 8
PPTX
Knockout implementing mvvm in java script with knockout
PPTX
Building databound JavaScript apps with Knockoutjs
PPTX
Introduction to XAML and its features
PPTX
Knockout js
PPTX
Training: MVVM Pattern
PDF
Backbone.js
PDF
Single page application
PDF
Real World Windows Phone Development
PDF
How to grow your own Microservice?
PPTX
What is AngularJS and Describe it in Details
PPTX
The Magic of WPF & MVVM
PPTX
New Approaches to Faster Oracle Forms System Performance
PDF
Build Java Web Application Using Apache Struts
PPTX
Mobile App Architectures & Coding guidelines
PPTX
E-Commerce Applications Development
PPSX
Pivot viewer
PPTX
How to Develop Highly Customizable Off-the-Shelf Software (Aleksey Stukalov)
PPTX
D3 : Data driven documents with Data visualization principles .
AngularJS
Advanced MVVM in Windows 8
Knockout implementing mvvm in java script with knockout
Building databound JavaScript apps with Knockoutjs
Introduction to XAML and its features
Knockout js
Training: MVVM Pattern
Backbone.js
Single page application
Real World Windows Phone Development
How to grow your own Microservice?
What is AngularJS and Describe it in Details
The Magic of WPF & MVVM
New Approaches to Faster Oracle Forms System Performance
Build Java Web Application Using Apache Struts
Mobile App Architectures & Coding guidelines
E-Commerce Applications Development
Pivot viewer
How to Develop Highly Customizable Off-the-Shelf Software (Aleksey Stukalov)
D3 : Data driven documents with Data visualization principles .

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PDF
KodekX | Application Modernization Development
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
MYSQL Presentation for SQL database connectivity
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
Teaching material agriculture food technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
cuic standard and advanced reporting.pdf
KodekX | Application Modernization Development
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Empathic Computing: Creating Shared Understanding
MYSQL Presentation for SQL database connectivity
“AI and Expert System Decision Support & Business Intelligence Systems”
Digital-Transformation-Roadmap-for-Companies.pptx
Understanding_Digital_Forensics_Presentation.pptx
Electronic commerce courselecture one. Pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
The AUB Centre for AI in Media Proposal.docx
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Network Security Unit 5.pdf for BCA BBA.
Dropbox Q2 2025 Financial Results & Investor Presentation
Teaching material agriculture food technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf

Basics of Silverlight 2

  • 2.  Silverlight and JS Demo  MVVM  Binding  Change Notification • INotifyPropertyChanged • Dependency Properties • ObservableCollection  XAML  Silverlight and Web Services  RIA Services  Demos
  • 5.  Model – Domain Object • Actual Data • Holds information, not behavior or services that manipulate the information  View Model – converter between View and Model  View – Presentation
  • 6.  Separation between View and ViewModel  Test driven development  Better data binding - two way data-binding possible  ViewModel can aggregate parts of model present in separate classes
  • 7.  One Way • GUI element is updated whenever the object to which element is bound is updated  Two Way • GUI element is updated whenever the object to which element is bound is updated. Also, object is updated whenever GUI changes.  One Time • The object to which the UI element is bound can change the value of GUI element only once.
  • 9.  Dependency Properties Button 1 Shared Default Value Button 2 Grid.Column = 0 Button 3 Instance Specific Value Button 4 Grid.Column = 1
  • 12.  Separating Design from Development  Portability between Web and Windows • Logical Tree – XAML as is • Visual Tree – representation of actual code  Every element of visual tree is a dependency property
  • 15.  Simplifies development of N-tier RIA  No need to focus on service plumbing  Client is automatically updated with latest logic every time the solution is re-compiled