title: Beginner - ASP.NET Core - How do you deal with images and similar media in a back end?
body: <p>I'm new to back end programming with ASP.NET. I'm wondering how to deal images that are either taken with the users camera or just uploaded with their gallery. At the moment I have a nice little 'DeliveryItem' object with things like Strings for name and Ints for quantity and all that, but essentially what I want now is <code>public image ItemImage { get; set; }</code>.</p>
  <p>I saw something like</p>
  <pre><code>public class Image
  {
      public int Id { get; set; }
      public string ImageTitle { get; set; }
      public byte[] ImageData { get; set; }
  }
  </code></pre>
  <p>But if this is the case then heh, I got a nice day of scratching my head to look forward to :)</p>
  <p>How does a back end deal with this kind of media? Or videos, voice notes, gifs for that matter. Do we break them down into something like a resource string and host it online? It's hooked up to a SQL database so clearly it can't be like that, I'm just trying to get an idea here and couldn't find a noob friendly way of explaining it in my google searching.</p>
  <p>Thanks for any insight!</p>