BlazorInputFile
BlazorInputFile copied to clipboard
How save the File
how save the file in DB
well, if you are talking about the file itself, then it would depend on the database. as an example i am going to assume you store it as a byte array. what you can do is read the datastream from the file and then save the resulting byte array on the database, keep in mind that for larger files it might not be the best choise for a database to store the file itself
How save the larger file