DatabaseUploadStorage #6976
WasimAhmad
started this conversation in
Tricks and Samples
Replies: 1 comment
-
This does upload the files to the database, but doesn't allow you to fetch them from the Editor - the editor only stores the filename metadata and not the path reference, which means fetching from the database isn't straightforward for uploads with the same name. Is there any suggestions for storing an array of the "Path" along with the "OriginalName" which is used for the Editors? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If Anybody Interested in storing files and image binaries in database
Add table to store files binaries in database.
Create a service DatabaseUploadStorage by implementing IUploadStorage
Add in DI in startup.cs after services.AddScriptBundling();
Beta Was this translation helpful? Give feedback.
All reactions