C
C#12mo ago
João Reberth

❔ Hello everyone, I'm creating an application with ASP.NET Core,

Hello everyone, I'm creating an application with ASP.NET Core, I used to insert images by typing their path in an input to store them in the database, now I would like to select this image and store it directly in the database? how can I do this? Can someone help me ?
3 Replies
friedice
friedice12mo ago
you could store it directly as binary data personally I'm a a bigger fan of storing the image on blob or whatever online storage you want, and then just saving the url to the DB
Angius
Angius12mo ago
Don't Store files as files And save paths in the database
Accord
Accord12mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts