ASP.NET Core MVC - File Upload

preview_player
Показать описание
To upload files, let’s create a new ASP.NET Core MVC application, new FileUploadController and design an HTML form with a file input control for the Index action.

Tags
==========

mvc upload a file
.net core mvc upload file
spring mvc upload file

#dotnet #dotnetcore #aspnetcore #aspnetcoremvc #uploadfile #mvc
Рекомендации по теме
Комментарии
Автор

thank you very much! for some reason, among all the information, it was yours that I needed so much

krayseer
Автор

When I first ran the application and successfully uploaded a file to the desired location, it worked fine. However, when I closed the application and tried it again, this time it didn't upload another file with a different name, and the browser showed a "localhost refused to connect" error. What could be the issue here?

kgq