Is it possible to port a windows phone 7.0 silverlight class library to windows 10 mobile -


i have windows phone class library built windows phone 7.0(coded in c#). possible port same class library windows 10 mobile sdk?. or, need write entire class library scratch support windows 10 mobile.

it possible port it, not in automated way.

  • ui components should relatively easy, long not lot of third party controls such telerik windows phone used. third party libraries need have been ported winrt platform (or uwp, it called now) well, not case. of xaml can re-used, namespaces, events , properties named differently (eg: tap becomes tapped). layouts may need reworked bit due different approach in scaling (silverlight scaled up, pretended screen 480px wide).
  • http calls: going have change lot, depending on how implemented in wp7 library. webclient no longer exits in winrt, httpclient or creating own httpwebrequest way go. since wp7 apps did not have async/await default, suggest rewriting part.
  • xml parsing: should compatible (maybe small syntax changes)
  • i/o operations: massive changes. wp7 used isolated storage mechanism, has been replaced. capturing images cameracapturetask, , use of sensors have rewritten.
  • local database not longer supported. use sqlite if want use database in app.
  • the application lifecycle different in winrt. pages in backstack not cached automatically , lot of events in page work differently, or might not occur @ same time in silverlight applications

for more info: move windows phone silverlight uwp


Comments