Questions tagged [bond]

Bond is an extensible framework for working with schematized data. It is suitable for scenarios ranging from service communications to Big Data storage and processing.

BOND

Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.

41 questions
0
votes
1 answer

Initializing inherited structs in Bond

I have a Bond schema that (ideally speaking) would have some inherited fields: struct Context { 10: required string thing; 20: required string otherthing; }; struct SampleEvent : Context { 20: required wstring evt; }; and when I create…
Eric Brown
  • 13,774
  • 7
  • 30
  • 71
0
votes
1 answer

Nested objects with Bond

I'm trying to use Microsoft Bond to serialize nested objects. But Bond throws internal errors (such KeyNotFoundException). My classes: interface IFoo { } [Bond.Schema] class Foo1 : IFoo { [Bond.Id(0)] public string Foo1Field { get; set;…
nrofis
  • 8,975
  • 14
  • 58
  • 113
0
votes
1 answer

Microsoft Bond System.Object

I need to ensure the following class is serializable by Microsoft Bond. I am struggling to find a way to do this due to the inclusion of the object member. public class BondRemotingRequestMessageBody : IServiceRemotingRequestMessageBody { …
KnowHoper
  • 4,352
  • 3
  • 39
  • 54
0
votes
1 answer

Can Azure Stream Analytics read Bond serialized events?

I am trying to to some POC using Azure Stream Analytics. I want to read from Azure Event Hub and store to Azure Blob Storage. I work with this guide. The problem is that when I define my stream input (as my existing event hub) I see that stream…
0
votes
1 answer

Generate .bond files from C# data contracts

I have written C # data contracts with MS Bond attributes. It's work fine for C# only data exchange. But I can't get IDL or AST schema (.bond file) for generating these data contracts in other languages (с++, python). Bond API support only "Runtime…
Mr Glock
  • 1
  • 2
0
votes
1 answer

Building Microsoft Bond on Linux

I am trying to build Microsoft's Bond. First CMake could not find my Boost. After I removed the OPTIONAL_COMPONENTS from find_package (Boost ... ) in Config.cmake cmake found my Boost. Now I am getting this output error after make Scanning…
Börkn
  • 38
  • 6
0
votes
1 answer

How Should I Include Bond in C++ Visual Studio Project?

I'm following the C++ on Windows instructions on https://github.com/Microsoft/bond/ but it isn't clear how to include and use Bond from a native C++ project in Visual Studio. I've read both that Bond needs to be compiled as part of my project and…
David Hardin
  • 167
  • 1
  • 6
0
votes
1 answer

Microsoft bond service inheritance

Is it possible to perform inheritance between bond services? In particular, I have several services with a common endpoint in each. Can I make them inherit from a service containing that common endpoint?
yuvalm2
  • 866
  • 2
  • 10
  • 27
0
votes
1 answer

memory leak with using bond over the wire

I'm trying to track down a memory leak that I think has to do with how I am using MS Bond. Specifically, the issue is likely on the subscriber side due to 'new' ArraySegment and InputBuffer objects being generated on every iteration inside a while…
0
votes
1 answer

Microsoft Bond runtime schemaDef

I'm hoping someone could illustrate a common use case for the Microsoft Bond runtime schemas (SchemaDef). I understand these are used when schema definitions are not known at compile time, but if the shape of an object is fluid and changes…
0
votes
1 answer

Runtime "EndOfStreamException" error in MS Bond serialization over ZeroMQ

To start off, it is worth mentioning that within a single F# solution, serializing and deserializing of Bond messages works fine. However, I am having trouble properly handling the sending and/or receiving of the message over ZeroMQ. There is a…
1 2
3