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

  • Home
  • SEARCH
  • 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 8578137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:19:05+00:00 2026-06-11T20:19:05+00:00

I run my client/server application with protobuf-net instead of binaryformatter and i get next

  • 0

I run my client/server application with protobuf-net instead of binaryformatter and i get next exception: “No serializer defined for type: System.Collections.Queue”.
I am not sure completely and may be the reason is i did something wrong…
because i have already asked about Dictionary/List and these types are supported ( Can I serialize an object (containing members: Dictionary, List… etc) in Mono and deserialize it in MS.NET or vice versa by using protobuf-net? ).

I just read from: http://code.google.com/p/protobuf-net/wiki/GettingStarted
“supported:
any type which implements IEnumerable and has an Add(T) method “

and Queue http://msdn.microsoft.com/en-us/library/system.collections.queue.aspx does not have Add(T)…

Question:
But i want to be sure completely. Does protobuf-net support System.Collections.Queue or not?

  • 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-06-11T20:19:06+00:00Added an answer on June 11, 2026 at 8:19 pm

    At the current time, no: it does not. I would suggest treating the data as a list for the purposes of serialization. For reference, XmlSerializer hates it too – here’s the XmlSerializer output for Queue<string>:

    “You must implement a default accessor on System.Collections.Generic.Queue`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] because it inherits from ICollection.”

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

Sidebar

Related Questions

I'm writing a plugin system to run client-provided untrusted code in my server application
I wish to develop a client-server application in .NET that functions as follows: Clients
I'm working on a client/server application in C#, and I need to get Asynchronous
I write client-server application. Client will run on android and server on plain java.
I have a Java client - server application. The client is designed to run
I am developing a windows desktop client/server application in .NET where the client application
I have written client-server application in C. I run the server in linux. I
I am developing a client-server application for a cross-database system. I am using Eclipse
Well, I'm trying to run a client-server application with encryption using AES on VS
I have a client/server application written in C#/.NET 3.5 that I want to do

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.