Upload
winifred-rice
View
217
Download
0
Embed Size (px)
Citation preview
WINDOWS PHONE 75 ldquoMANGOrdquo ADVANCED
Laurent BugnionDirector of UX Integration
IdentityMinehttpbloggalasoftch
copy 2011 IdentityMine Inc All Rights Reserved 2Page
IDENTITYMINE
httpwwwidentityminecom
WP7
copy 2011 IdentityMine Inc All Rights Reserved 3Page
TODAY WE WILL
bull Talk about MVVMbull Walk through an MVVM appbull Add persistence with a databasebull Download large files ldquoin the backgroundrdquobull Add and modify Live tiles
copy 2011 IdentityMine Inc All Rights Reserved 4Page
THE MVC PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 5Page
THE PASSIVE VIEW PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 6Page
THE PRESENTATION MODEL PATTERN
Model View
Presentation Model
(ViewModel)
DataBinding
MVVM
copy 2011 IdentityMine Inc All Rights Reserved 7Page
MORE INFO ABOUT MVVM
bull httpwwwgalasoftchmvvmvideo1ldquoUnderstanding the MVVM patternrdquo
bull httpwwwgalasoftchmvvmvideo2ldquoDeep Dive MVVMrdquo
bull httpbloggalasoftch
copy 2011 IdentityMine Inc All Rights Reserved 8Page
MVVM LIGHT TOOLKIT
bull httpwwwgalasoftchmvvmbull httpmvvmlightcodeplexcombull Keep it smallbull Keep it simple
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 2Page
IDENTITYMINE
httpwwwidentityminecom
WP7
copy 2011 IdentityMine Inc All Rights Reserved 3Page
TODAY WE WILL
bull Talk about MVVMbull Walk through an MVVM appbull Add persistence with a databasebull Download large files ldquoin the backgroundrdquobull Add and modify Live tiles
copy 2011 IdentityMine Inc All Rights Reserved 4Page
THE MVC PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 5Page
THE PASSIVE VIEW PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 6Page
THE PRESENTATION MODEL PATTERN
Model View
Presentation Model
(ViewModel)
DataBinding
MVVM
copy 2011 IdentityMine Inc All Rights Reserved 7Page
MORE INFO ABOUT MVVM
bull httpwwwgalasoftchmvvmvideo1ldquoUnderstanding the MVVM patternrdquo
bull httpwwwgalasoftchmvvmvideo2ldquoDeep Dive MVVMrdquo
bull httpbloggalasoftch
copy 2011 IdentityMine Inc All Rights Reserved 8Page
MVVM LIGHT TOOLKIT
bull httpwwwgalasoftchmvvmbull httpmvvmlightcodeplexcombull Keep it smallbull Keep it simple
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 3Page
TODAY WE WILL
bull Talk about MVVMbull Walk through an MVVM appbull Add persistence with a databasebull Download large files ldquoin the backgroundrdquobull Add and modify Live tiles
copy 2011 IdentityMine Inc All Rights Reserved 4Page
THE MVC PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 5Page
THE PASSIVE VIEW PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 6Page
THE PRESENTATION MODEL PATTERN
Model View
Presentation Model
(ViewModel)
DataBinding
MVVM
copy 2011 IdentityMine Inc All Rights Reserved 7Page
MORE INFO ABOUT MVVM
bull httpwwwgalasoftchmvvmvideo1ldquoUnderstanding the MVVM patternrdquo
bull httpwwwgalasoftchmvvmvideo2ldquoDeep Dive MVVMrdquo
bull httpbloggalasoftch
copy 2011 IdentityMine Inc All Rights Reserved 8Page
MVVM LIGHT TOOLKIT
bull httpwwwgalasoftchmvvmbull httpmvvmlightcodeplexcombull Keep it smallbull Keep it simple
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 4Page
THE MVC PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 5Page
THE PASSIVE VIEW PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 6Page
THE PRESENTATION MODEL PATTERN
Model View
Presentation Model
(ViewModel)
DataBinding
MVVM
copy 2011 IdentityMine Inc All Rights Reserved 7Page
MORE INFO ABOUT MVVM
bull httpwwwgalasoftchmvvmvideo1ldquoUnderstanding the MVVM patternrdquo
bull httpwwwgalasoftchmvvmvideo2ldquoDeep Dive MVVMrdquo
bull httpbloggalasoftch
copy 2011 IdentityMine Inc All Rights Reserved 8Page
MVVM LIGHT TOOLKIT
bull httpwwwgalasoftchmvvmbull httpmvvmlightcodeplexcombull Keep it smallbull Keep it simple
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 5Page
THE PASSIVE VIEW PATTERN
Model View
Controller
copy 2011 IdentityMine Inc All Rights Reserved 6Page
THE PRESENTATION MODEL PATTERN
Model View
Presentation Model
(ViewModel)
DataBinding
MVVM
copy 2011 IdentityMine Inc All Rights Reserved 7Page
MORE INFO ABOUT MVVM
bull httpwwwgalasoftchmvvmvideo1ldquoUnderstanding the MVVM patternrdquo
bull httpwwwgalasoftchmvvmvideo2ldquoDeep Dive MVVMrdquo
bull httpbloggalasoftch
copy 2011 IdentityMine Inc All Rights Reserved 8Page
MVVM LIGHT TOOLKIT
bull httpwwwgalasoftchmvvmbull httpmvvmlightcodeplexcombull Keep it smallbull Keep it simple
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 6Page
THE PRESENTATION MODEL PATTERN
Model View
Presentation Model
(ViewModel)
DataBinding
MVVM
copy 2011 IdentityMine Inc All Rights Reserved 7Page
MORE INFO ABOUT MVVM
bull httpwwwgalasoftchmvvmvideo1ldquoUnderstanding the MVVM patternrdquo
bull httpwwwgalasoftchmvvmvideo2ldquoDeep Dive MVVMrdquo
bull httpbloggalasoftch
copy 2011 IdentityMine Inc All Rights Reserved 8Page
MVVM LIGHT TOOLKIT
bull httpwwwgalasoftchmvvmbull httpmvvmlightcodeplexcombull Keep it smallbull Keep it simple
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 7Page
MORE INFO ABOUT MVVM
bull httpwwwgalasoftchmvvmvideo1ldquoUnderstanding the MVVM patternrdquo
bull httpwwwgalasoftchmvvmvideo2ldquoDeep Dive MVVMrdquo
bull httpbloggalasoftch
copy 2011 IdentityMine Inc All Rights Reserved 8Page
MVVM LIGHT TOOLKIT
bull httpwwwgalasoftchmvvmbull httpmvvmlightcodeplexcombull Keep it smallbull Keep it simple
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 8Page
MVVM LIGHT TOOLKIT
bull httpwwwgalasoftchmvvmbull httpmvvmlightcodeplexcombull Keep it smallbull Keep it simple
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 9Page
MVVM Walkthrough
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 10Page
SQL CE FOR WP75
bull SQL CE (SDF) file in isolated storagebull No additional DLL neededbull LINQ to SQL as ORMbull Code first approach preferredbull Embedding SDF file also possible
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 11Page
EMBEDDING SDF
bull Create SDF file on PCbull Create entity classes with SQLMETALbull Embed SDF in XAP filendash Read-only access granted
bull For read-write access move the DB to isolated storage
bull httpmsdnmicrosoftcomen-uslibraryhh286411(v=VS92)aspx
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 12Page
Adding DB persistence
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 13Page
BACKGROUND TRANSFER
bull Optimized multitaskingndash Alarms Remindersndash Periodic tasksndash Background audiondash Background transfer
bull Download location must be withinsharedtransfers (in isolated storage)ndash Can be moved after download completes
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
copy 2011 IdentityMine Inc All Rights Reserved 14Page
BACKGROUND TRANSFER
bull Some restrictionsndash GETPOST onlyndash Maximum upload 5MBndash Maximum download over cellular 20MBndash Maximum download on battery 100MBndash Maximum 5 queued requests per appndash Maximum 2 concurrent transfers per devicendash Maximum 500 queued requests per device
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 15Page
Background Transfer
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
DEMO
copy 2011 IdentityMine Inc All Rights Reserved 16Page
Adding and updatinga Live Tile
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
FURTHER INFORMATIONhttpbloggalasoftchhttpwwwgalasoftchmvvmhttpwwwidentityminecomLBugnion
THANKS
THANKS