Azure web UI for document translation

Vinny Jackson 1 Reputation point
2022-02-17T11:24:45.887+00:00

Hello,

Hoping someone can help or push me in the right direction with a requirement a client has requested.

My client works in a secure restricted environment where external translation services are blocked or prohibited.

Currently using a paid Azure translator cognitive services subscription with S1 plan of blob storage. I have created 'source' and 'target' containers, generated SAS keys and followed a online tutorial with a basic C# code. If I upload a document to be translated via Azure storage explorer into the 'source' container, run the C# code via VS code this will translate the document and place into the 'target' container which can be downloaded.

My question is what is the easiest and fastest way to make this user friendly?

I am not a developer although do have a basic grasp on API and a little python but the developing something is far beyond my skillsets.

Any suggestions or recommendations would be greatly apricated.

Thanks in advance!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,933 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,546 Reputation points Moderator
    2022-02-28T10:08:10.053+00:00

    Hi @Vinny Jackson ,

    Welcome to Microsoft Q&A! Thanks for posting the question.

    Apologies for the delayed response. Based on the description above, I understand that you would like to develop a simple solution to be able to upload a document, translate it and download it. There are multiple ways to achieve it and I am mentioning a few workflows below with useful resources to help you get an idea:

    **1. Use Azure Storage Explorer OR AzCopy with Azure Function (for data operation, here translation) **

    In this scenario, instead of building an UI for upload/download operation, you may use Azure Storage Explorer (with UI) or AzCopy (commandline tool).

    >>a. Azure Storage Explorer (as mentioned in the question), provides an easy interface for uploading and downloading operation. The end users may be given access to be able to read/write from/to blob storage and access can be controlled.

    >>b. You may also use AzCopy, which is a command line utility, to upload/download files from Azure Storage. This can further be used in a script (PowerShell/Bash) too.

    >>c. Azure Function can be used to run code (like the one you already have in C#) whenever a blob is uploaded to source container. Below are additional resources for getting started with Azure Functions and Blob trigger:
    Quickstart: Create a C# function in Azure using Visual Studio Code
    Create a function in Azure that's triggered by Blob storage

    ---
    2. Create a web application for uploading/downloading data from Blob Storage and use Azure Function for processing the blob

    Please refer to this link for an end-to-end scenario, where the UI is used to upload data and Azure function to process it (image processing in this example), but the Azure Function code can be modified to do other task (translation, for example).

    Also, there are some third-party solutions which build on Azure Storage and can provide a UI for basic operation. Again, Azure Functions can be used to trigger processing of data as soon as the blob gets created in the source/monitored container.

    Please let me know if you have any questions.

    ---
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.