dsuryd / dotNetify

Simple, lightweight, yet powerful way to build real-time web apps.
https://dotnetify.net
Other
1.17k stars 164 forks source link

Compression (dot net core) #236

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hi, I am using your project for two years now and I have no problem whatsoever. But right now I need to utilize compression in order to reduce the payload size. Can you help me with that?

Thanks.

ghost commented 4 years ago

Also, is there a property attribute that can ignore sending some kind of properties from my model?

dsuryd commented 4 years ago

Consider using MessagePack protocol to reduce SignalR message size. Also, see issue #221.

Use [Ignore] to exclude a property from being sent to client.

ghost commented 4 years ago

Thanks.