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 6134311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:20:21+00:00 2026-05-23T17:20:21+00:00

I have a WCF webservice, which when the user subscribes (its a WP7 push

  • 0

I have a WCF webservice, which when the user subscribes (its a WP7 push notification service) it adds a Guid and Uri to the dictionary.
My issue is, when the application stops or restarts the dictionary is obviously emptied.

I would like suggestions for easy and simple alternative ways to store the data whilst minimising memory requirements. This application is running on IIS7 with .net4.

I just need to add to the ‘dictionary’ and check if it Contains a value. fairly simple really.

  • 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-23T17:20:21+00:00Added an answer on May 23, 2026 at 5:20 pm

    Well, in order to keep the data present across server restarts, you obviously need to persist it.

    There are two obvious possibilities here:

    • Using a database
    • Storing the data in a file

    I would suggest a database would be the best approach here – it’s going to be much simpler to get it to work with multiple WCF servers etc than reading and updating a shared file.

    Now you may want to keep a cache of results in your server as well, in the form of a dictionary – it depends on what the access tends to look like, whether the data is ever updated (leading to the tricky issue of cache invalidation) and how important your latency requirements are. (If this is a request from a phone, then I suspect the latency of getting the request to your server to start with will dwarf the latency added by a simple database access using an indexed lookup.)

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

Sidebar

Related Questions

I have a WCF Web Service which is referenced from a class library. After
I have a WCF REST Service which accepts a JSON string One of the
Problem: I have a WCF Webservice which can be used by customers to upload
I have a WCF web service which throws exceptions when invalid data is submitted.
I have a WCF web service which allows both Basic HTTP and WS-HTTP clients,
I have a client application which calls my WCF service (Security Token Service i.e.
I have a wcf WebService with a method which takes LogLevel type (part of
I have a WCF service which calls an STA Visual Basic 6.0 COM object.
I have developed a WCF WebService. On client side they are unable to send
I have a mobile app webservice client that connects to a WCF webservice(on my

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.