title: Storing images in SQL Server using C#
body: <p>I want to store images of my employees with their profile details in SQL in a SQL Server database, but I have following reservations:</p>
  
  <p>Should I compress images or not and if yes, please can the community provide me sample code or direct me to a guide that can assist me with this.</p>
  
  <p>How should I retrieve images efficiently? I am afraid of asp.net application performance issues. I think with thousands of employee records, the system may halt or slow down.</p>