I've been trying to read through the documents about File Upload functionality. I came across this doc: https://docs.aspnetzero.com/en/aspnet-core-angular/v11.0.0/Core-Angular-File-Upload-Tutorial
However, this document is not for the latest version. The latest version does not seem to include the File Upload tutorial. I tried implementing this functionality using the outdated documentation, but the folder structure is quite different.
I would appreciate it if you could point me to the correct documentation.
PS: I would like to be able to upload files to Azure Blob. If there is some documentation on this it would be highly appreciated.
I roughly checked the document and it seems fine but we will check it deeply again. In the meantime, could you share in which part you faced a problem ?
In order to upload a file to Azure, I think you can take a look at Microsoft's documentation https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-dotnet?tabs=environment-variable-windows
Thanks for your response and for the link. I'll have a look.
I tried to follow the Asp.net Zero documentation but noticed that the first step says:
First, create a class named FileUploadViewModel in *.Web.Host\Areas\AppAreaName\Models folder. This class will be used to transfer additional parameters during the upload process.
I couldn't find the "Areas" folder. Could you pelase indicate the path I'm supposed to create that class on the newer version?
Thanks in advance.
You are right. It should be just
Controllersfolder because we are not using Areas in Host application which is used on Angular app. You can ignore
Areas\AppAreaNameand just use Models and Controllers folders. We will fix the documentation, you can also follow https://github.com/aspnetzero/aspnet-zero-core/issues/4448
This is a private repository, please add your GitHub user on https://aspnetzero.com/LicenseManagement and try again.