dariemcarlosdev / VPKFILEPROCESSORAPP

Blazor Server app that takes a CSV file as input, runs a background job to execute an SSIS package in Azure, and stores the output CSV file in Azure Blob Storage for download.
GNU Affero General Public License v3.0
1 stars 0 forks source link

Blazor UI (BlazorApp) #22

Open dariemcarlosdev opened 2 hours ago

dariemcarlosdev commented 2 hours ago

Blazor UI (User Interface).

The Blazor Server app is the frontend that allows users to upload files and later download the processed files.

It will communicate with microservices through HTTP APIs and will react to events from Event Grid to display the download link when the process is complete.

Pages: Contains Razor components for UI, such as Upload.razor and Download.razor to handle file upload and download links.

1.Upload CSV File.(FileUpload.razor)

This component allows users to upload a CSV file, and it sends the file to Azure Blob Storage. After uploading.

  1. Downloading CSV Processed File from Blob Storage in Blazor. (FileDownload.razor)

After triggering the Data Flow and processing the file, I need to update your Blazor app to provide a download link for the processed CSV file.

Services: Contains service classes for interacting with the backend microservices using HttpClient

Example: A FileService class that calls the FileManagementService API to upload files.

I will use Dependency Injection to inject services into the Blazor components.

dariemcarlosdev commented 1 hour ago

After the Data Flow in ADF execution completes, provide a download link to the processed CSV file.