Techiio-author
Started by Bradley ReidNov 6, 2021

Open
Using Data Contract Attribute and ISerializable

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I have hard and fast consumer-defined types which already implement a Serializable interface, now I would like to host them in server-facet software and reveal a few of these sorts to the purchaser by marking them with data contract attribute.

Sadly, I cannot mark the equal magnificence with data contract characteristic as it's far already serializable and it reasons runtime exception.

However, at the identical time, I cannot remove the serializable implementation inside the vintage person-defined kind.

A person pls help me how do I reveal these kinds to the consumer. With the aid of marking data contracts and without doing away with serializable.

0 Replies

You must be Logged in to reply
Trending Technologies
15
Software40
DevOps46
Frontend Development24
Backend Development20
Server Administration17
Linux Administration26
Data Center24
Sentry24
Terraform23
Ansible83
Docker70
Penetration Testing16
Kubernetes21
NGINX20
JenkinsX17
Recommended Blogs
1
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance