Hi experts,
I'm trying to figure out where to put an ImageSource
in my object hierarchy. Current inclination is to put it only in the ViewModel
layer, and store a URL
as string
in the corresponding Model
to feed into it.
However I've seen Model
s with an ImageSource
in them, with all sorts of [JsonIgnore]
and SQL [Ignore]
attributes on them. This seems to me to be the wrong place to store this information, but I'm open to learning a new wisdom.
What do you think?