Slide 12
Slide 12 text
12
Blazor WebAssembly jenseits von REST
gRPC in Web-Apps & .NET
ProtoBuf (Protocol Buffers)
§ Language-neutral, platform-neutral, extensible mechanism for
serializing structured data
§ Like XML/XSD, but smaller, faster, and partly simpler
§ Define how you want your data to be structured once
§ Use special generated source code to easily write and read structured data to
and from a variety of data streams and using a variety of languages
§ Uses integer tokens to identify members (not names)
§ Protocol buffers support generated code for many languages,
including C#
§ Binary representation on the wire
message Person {
required string name = 1;
required int32 id = 2;
optional string email = 3;
}
https://developers.google.com/protocol-buffers