forked from vekeshkumar/Idea
/
MVVM.txt
192 lines (96 loc) · 2.96 KB
/
MVVM.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
1.Introduction
2.Business Apps for WinRT
3.Windows Store apps / WinRT Terminology
Business Application Requirements
What is Prism for Windows Runtime?
What is Included in Prism for Windows Runtime?
Demo: AdventureWorks Shopper Sample Solution Architecture
Demo: AdventureWorks Shopper Walkthrough
Prism for Windows Runtime vs Prism 4
Summary
Start playing at first clip Getting Started Building WinRT Apps with Prism
Introduction
MVVM and WinRT
Getting Started with a Prism App
Demo: Setting up your solution with Prism
Demo: Using the Prism MvvmAppBase class
Demo: Basic MVVM with Prism
ViewModelLocator
Demo: ViewModelLocator Hookup
Demo: Overriding ViewModelLocator Conventions
Summary
Start playing at first clip Commands and Dependencies
Introduction
Commands Overview
Commands and MVVM
Prism DelegateCommand
Demo: Commands Demo Setup
Demo: Hooking Up Commands
Demo: Passing Command Parameters
Managing Dependencies
Demo: Manual Dependency Injection in Prism
IOC/DI Containers
Demo: Using and IOC/DI Container with Prism
Summary
Start playing at first clip Navigation and Application Lifecycle State Management
Introduction
WinRT Navigation Schemes
WinRT Navigation Objects
Commanding Navigation in Prism
Prism Navigation Aware ViewModels
Demo: Commanding and Participating in Navigation in ViewModels
Demo: Managing Event Subscriptions on Suspend
WinRT Application Lifecycle
WinRT Application State Management
Prism State Management
Demo: Using RestorableState on ViewModel Properties
Demo: Using ISessionStateService in Client-side Services
Summary
Start playing at first clip PubSubEvents and EventAggregator
Introduction
Loosely Coupled Communications
EventAggregator Pattern
Demo: PubSubEvents Basics
Weak References
Demo: Using WeakReferences with PubSubEvents
Other EventAggregator Features
Demo: Thread Dispatching
Demo: Filtering Subscriptions
Summary
Start playing at first clip Validation
Introduction
WPF and Silverlight Validation
WinRT Validation
Prism Validation Support
Demo: Supporting Validation on Model Objects
Demo: Implementing a Validation Display Behavior
Demo: Dislaying Validation Errors
Demo: Implementing Custom Validation Rules
Summary
Start playing at first clip Calling Web APIs
Introduction
WCF vs Web APIs
ASP.NET Web API
Consuming Web APIs
Demo: Data retrieval with Web APIs
Demo: Saving an Order with Web APIs
Web API Security
Demo: Windows Authentication with Web API
Demo: Forms Authentication with Web API
Performing Server Validation
Demo: Server Validation
Demo: Custom Business Logic Server Validation
Demo: AdventureWorks Shopper Service Validation
Summary
Start playing at first clip Leveraging WinRT Platform Features
Introduction
Search Charm
Demo: Search Charm
Settings Charm
Demo: Settings Charm
Flyout Views
Demo: Using Flyout Views
Live Tiles
Demo: Supporting Live Tiles
Summary
Course Closing