Reputation: 91
I am using Azure App Service (Mobile Apps) and would like to upload images via the mobile app. I would prefer to load it into a table with column of data type varbinary(max), which I can use to store images. However, in Easy Tables (in the Azure Portal), I only see data type options String, Number, Date and Boolean. Please cann any one show me a better way to achieve this.
Upvotes: 3
Views: 877
Reputation: 669
Azure Table Storage is not a relational database and only supports a subset of value data types: https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-the-table-service-data-model#property-types
So you need to either...
I would suggest 1 or 3 with storing the images in a blob storage. Storing images in a database is not such a good idea since a) you have a higher load on your database and b) you might have a hard to using browser caching or a CDN.
Upvotes: 2