Disclaimer:• I am NOT a Microsoft employee and all opinions  expressed are solely my own.
The MVC pattern:                                              Messages                    DataBinding   Commands     View ...
BindingBehaviour
No behaviors in Windows 8 workaround: Use properties and binding PropertyChanged event                    Binding       ...
ISelectFilesService             injectioninjection INavigationService                         action
Probably not a replacement for “desktop apps”Very similar to Windows Phone appsA companion for your richer application
public async void Get(Uri uri)                              {                                  var request                ...
Use callbacks to async codeUse interfaces even for simple model classesShare common classes, overload other classesExtend ...
Demo
call to action• Check your code for possible asynchronous workflows• Check the developer preview• Stay tuned for the beta!
http://aka.ms/mbl-win8                   http://aka.ms/mbl-win8/build                             http://aka.ms/mbl-win8/d...
MVVM Applied: From Silverlight to Windows Phone to Windows 8
MVVM Applied: From Silverlight to Windows Phone to Windows 8
MVVM Applied: From Silverlight to Windows Phone to Windows 8
MVVM Applied: From Silverlight to Windows Phone to Windows 8
MVVM Applied: From Silverlight to Windows Phone to Windows 8
MVVM Applied: From Silverlight to Windows Phone to Windows 8
MVVM Applied: From Silverlight to Windows Phone to Windows 8
Upcoming SlideShare
Loading in...5
×

MVVM Applied: From Silverlight to Windows Phone to Windows 8

2,002

Published on

More info on http://www.techdays.be.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,002
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
35
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

MVVM Applied: From Silverlight to Windows Phone to Windows 8

  1. 1. Disclaimer:• I am NOT a Microsoft employee and all opinions expressed are solely my own.
  2. 2. The MVC pattern: Messages DataBinding Commands View Service PropertyChanged Controller Events
  3. 3. BindingBehaviour
  4. 4. No behaviors in Windows 8 workaround: Use properties and binding PropertyChanged event Binding PropertyChanged
  5. 5. ISelectFilesService injectioninjection INavigationService action
  6. 6. Probably not a replacement for “desktop apps”Very similar to Windows Phone appsA companion for your richer application
  7. 7. public async void Get(Uri uri) { var request = new HttpRequestMessage( HttpMethod.Post, uri);Maybe the most difficult aspect var response = await Client.SendAsync(request); var resultawait/async can be confusing } = response.Content.ReadAsString();Often used in Win8
  8. 8. Use callbacks to async codeUse interfaces even for simple model classesShare common classes, overload other classesExtend classes And if you have to
  9. 9. Demo
  10. 10. call to action• Check your code for possible asynchronous workflows• Check the developer preview• Stay tuned for the beta!
  11. 11. http://aka.ms/mbl-win8 http://aka.ms/mbl-win8/build http://aka.ms/mbl-win8/devprev http://aka.ms/mbl-win8/store
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×