Use AZURE BLOB to let user UPLOAD IMAGE (ASP.NET)

Viewed 81

Asking for your input. I have created a project athrough ASP.NET - CRUD with EntityFramework

We have to use Azure services for deployment.

This is my setup:

  1. Created Azure SQL database.

  2. Completed the table for the data to be stored (name, age etc.)

  3. Create ASP.NET API and scaffold. Success. Was able to view my data on the localhost.

  4. Created AZURE web app service and publish my API. Checking the url its working so okay.

  5. Completed ASP.NET MVC, called my deployed API app service. Modified controllers, models and views for my webform.

  6. Created AZURE web app service and publish my MVC. So working CRUD, success retrieval of data.

So now working on uploading image.

How will I incorporate the uploading of image for my user(for ex those who will check my project) using blob. Do I need to add the step during my creation of API since I scaffold it? I'm now confused about how I can include my image retrieval from blob storage in my setup or workflow. I just able to work in my crud and still studying for image retrieval.

I have seen tutorials with regards to incorporating blob in asp.net. The problem is that they have only this image upload function in their example. My case is I do want to incorporate it with my CRUD.

Thank you very much for your help.

1 Answers

Do I need to add the step during my creation of API since I scaffold it?

Asp.Net Core's scaffolding won't automatically help you integrate azure blob-related feature code.

If you want to use the relevant code in the auzre blob in the scaffolding, you need to combine the SDK or restapi to implement it yourself.

Related