Right now I am using file-upload component of blazor for uploading my file.
The main thing I am using the below chuck file uploading approch in file upload becasue my file size is high.
<SfUploader ID="UploadFiles">
<UploaderAsyncSettings SaveUrl="api/SampleData/Save" RemoveUrl="api/SampleData/Remove" ChunkSize="500000"></UploaderAsyncSettings>
</SfUploader>
So, My main concern is that on SaveUrl can we able to use our own method with same signature ?
Suppose, right now On saveUrl we are using Save method, So is there any example or way that how can we use same method signture using diffrent name or
how can we call our own custom method with same method parameter on SaveUrl?
example :-
HttpPost("[action]")]
public void Save(IList<IFormFile> chunkFile, IList<IFormFile> UploadFiles)
{
}
HttpPost("[action]")]
public void Custom(IList<IFormFile> chunkFile, IList<IFormFile> UploadFiles)
{
}
So is there any way possiable I can call Cutsom method on SaveUrl="api/SampleData/Custom" ?