See docs
https://zcusa.951200.xyz/en-us/aspnet/core/blazor/file-uploads?view=aspnetcore-9.0
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
As mentioned in the title, I want to save the file to the server. In the past, we were using SaveAs but in Blazor I can't get a reference of PostedFile directly.
<div class="row pb-3">
<div class="col">
<label class="form-label mb-0">@_localizer["Label_Id"]</label>
<InputFile class="form-control" id="Id" @bind-Value="@application.FileId" />
<ValidationMessage For="@(() => application.FileId)" />
</div>
</div>
Thanks in advance