Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6936615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:15:24+00:00 2026-05-27T12:15:24+00:00

I have an issue I’m hoping someone can help with. I have an application

  • 0

I have an issue I’m hoping someone can help with. I have an application that, for all intents and purposes, is working great. It’s basically a picture viewer type of application – for something very specific. What it is is about 500 pictures.

I have all pictures set as Content and I load/unload one at a time. For the 500 pictures, I have a class that is used as data about each picture. So things like “place taken” , “index”, “short description”, etc. I never need to insert or delete from this list, but I may need to make some changes to each individual one, like “user viewed this picture on…” (date) or “favorite = true” (boolean where user marks a picture as a favorite picture).

When I deploy the app, this “picture metadata” is in xml file. It is then deserialized and saved to IsoStorage upon first run. A copy of it is maintained in memory and that is what is used to run my whole app. I have 3 different pages that all use that data, which is set as a static property in app.xaml.cs. Upon Deactivate/Closing the data is serialized back to xml – upon relaunching it is deserialized. Everything works fine and fast – everywhere. Including tombstoning.

The problem is resuming from Deactivation where the app is not tombstoned. It can take up to 10-15 seconds and definitely is returning from e.IsApplicationInstancePreserved in Application_Activated (i.e. it’s not tombstoned).

Activating from brand new it takes about 3-4 seconds for the app to start. Returning from tombstoning it also takes about 3 seconds.

What I’m not understanding is why returning from e.IsApplicationInstancePreserved = true; is taking so long (and it won’t allow me to pass certification). I’ve tested and found that if it is about 10 items in the List its incredibly snappy for FAS. If there are about 50 items in the List then it’s not immediate. If there are 100 items, it’s the first time you can see “Resuming…” (yep, that word coming from FAS, not tombstone). Where I have it, at 500 in the List, it is painfully slow to watch FAS, which is SAS.

It’s interesting that in the emulator, FAS works perfectly fine, even with 1000 objects in memory. It’s on an actual device where it is incredibly slow (Samsung Focus) in both debug and release mode.

Now I know the easy answer may be something like “why maintain a class with a list of 500 objects all the time?”, but my whole architecture and user experience is based on having data about the pictures available on all three pages all the time. Linq is heavily used to report data everywhere.

Any thoughts or guidance on this situation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:15:25+00:00Added an answer on May 27, 2026 at 12:15 pm

    Great to hear you found the problem.

    “sounds a serialization/deserialization issue to me. Are you storing the list in a State ‘variable’ ? were the framework will serialize when leaving the app and deserialize it when you return”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have issue that is reproduced on g++. VC++ doesn't meet any problems. So
I have an issue that, while using sql server 2005 i have executed update
i have done drag and drop using with jquery. here i have issue that
I need your help on one practical issue. I have created a WCF service
I have issue with a value that should have just work, however, it seem
I have issue regarding speed in air. When I jump and move simultaneously that
have an issue updating magento product from frontend using a module that its function
I have issue with a strange url request to my site.. that may come
Seems like everyone have issue accessing local machine or internet etc from emulator. All
I have issue with Win2003 that Java Applet Closes IE for Users not Admins.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.