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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:02:50+00:00 2026-05-15T00:02:50+00:00

This is a three part question. One: Would using a Dictionary<String,Object> be a good

  • 0

This is a three part question.

One: Would using a

Dictionary<String,Object>

be a good way of saving data where it would be

Dictionary<Key,Value>

as the basis?

Two: What would be a better way without using app.settings or xml?

Three: How would you serialize this(Or the better solution) into a binary format that is compact and serializes quickly?


Xml is very verbose and I was looking for binary due to it’s size.
Also, if I used Dictionary, it would have been easy to make a settings class with simply

GetValue(Key) and SetValue(Key,Obj)
or object.SetValue(Settings,Key) using extensions.

I am making my application open for plugins so I wanted a uniform spec for settings that all applications use.

Rolling my own class using Dictionary as the basis made sense if I could serialize it into a file.

  • 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-15T00:02:51+00:00Added an answer on May 15, 2026 at 12:02 am

    Try using protobuf-net. This would solve all three of your problems. I looked at it last week, and replaced my entire xml-based messaging infrastructure in just a couple of days. Marc Gravell is a frequent contributor on here, and he was very prompt and helpful in his replies to my queries.

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

Sidebar

Ask A Question

Stats

  • Questions 510k
  • Answers 510k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Check out the discussion here. May 16, 2026 at 4:50 pm
  • Editorial Team
    Editorial Team added an answer You need to use an aggregate function such as Min… May 16, 2026 at 4:50 pm
  • Editorial Team
    Editorial Team added an answer Lookbehind assertions were recently finalised for JavaScript and will be… May 16, 2026 at 4:50 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

This is really a three-part question, but I've answered the first question myself: I'm
My question is one I have pondered around when working on a demanding network
I have a problem with a custom object that needs to be keyed for
A TimeSheetActivity class has a collection of Allocations. An Allocation is a value object
I've been searching for this for quite a while with no luck so far.
I am making a software as a service using Spring 3.0 (Spring MVC, Spring
This is the page, its a wordpress powered site: http://bit.ly/9oJXWV You select some value,
I'm planning a chat-like web application, where whenever one user posts something, all other
Me again with a dumb question/scenario I need advice on. I have the following
My question is best illustrated with a code sample, so let's just start off

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.