Skip to content

aimenux/BinaryFormatterDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET

BinaryFormatterDemo

Implementing serialization/deserialization with binary formatter

In this repo, i m implementing 3 ways of serialization/deserialization with binary formatter :

1️⃣ BasicSerialization

Models are only decorated with Serializable attribute

2️⃣ CustomSerialization

Models are decorated with Serializable attribute

Models are implementing ISerializable interface

3️⃣ ThirdPartySerialization

Models are considered as third party classes (can't be modified)

Models are serialized using ISerializationSurrogate interface

To run code in debug or release mode, type the following commands in your favorite terminal :

  • .\App.exe
  • .\App.exe Default
  • .\App.exe Basic
  • .\App.exe Custom
  • .\App.exe ThirdParty

BinaryFormatterDemoScreen

Tools : vs19, net 3.1, binary formatter, bullseye

About

Implementing serialization/deserialization with binary formatter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages