Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
1.5.0.final
Description
At present we support dynamic class registration in .NET, but they are written using deafult .NET mechanism. This is counterintuitive for users and not consistent with Java, where such classes are written in binary form.
Proposed implementation plan:
1) For each dynamically registered class we must understand whether it could be serialized through binary or not. If not - print a warning and fallback to .NET.
2) Before writing a class we must ensure that it's [typeId -> name] pair is known to the cluster. If not - write full class name instead of type ID. Java already do that.
3) Last, to support backward compatibility we must be able to fallback to current mode with help of some boolean flag.
Attachments
Issue Links
- blocks
-
IGNITE-2398 .NET: Change default mapper behavior
- Resolved
-
IGNITE-1894 .NET: Delegate support in the API via extension methods
- Open
-
IGNITE-3689 .NET: Remove IgniteProxy
- Resolved
-
IGNITE-4669 .NET: Sort binary object fields
- Resolved
-
IGNITE-4498 .NET: Remove legacy BinaryObject.Equals
- Resolved
- is blocked by
-
IGNITE-4614 .NET: Binary schema is not reset in BinaryReader
- Resolved
-
IGNITE-4592 .NET: Binary enums are handled incorrectly
- Resolved
-
IGNITE-4663 BinaryUtils.doReadObjectArray can not read array with platform-only element type
- Resolved
-
IGNITE-4673 Object array element type is written as a user type
- Resolved
-
IGNITE-2843 .NET: CacheConfiguration.WriteThrough/ReadThrough properties are missing
- Closed
-
IGNITE-4157 Use discovery custom messages instead of marshaller cache
- Resolved
-
IGNITE-3796 .NET: Platforms system cache
- Closed
- Is contained by
-
IGNITE-4547 Apache Ignite 2.0 quick and needed tasks
- Resolved
- is related to
-
IGNITE-2492 .NET: Peer assembly loading
- Resolved
-
IGNITE-2746 .NET: Improve ReflectiveSerializer control with attributes
- Open
- relates to
-
IGNITE-2826 .NET: Write DataContract types as binary
- Open
-
IGNITE-2827 .NET: Write XmlSerializer types as binary
- Open
-
IGNITE-2825 .NET: Write Serializable as binary
- Resolved
- supercedes
-
IGNITE-3734 .NET: Throw an exception when user tries to run SQL over [Serializable] types
- Resolved
- links to