👉 Build ASP.NET Core Web API - Scratch To Finish
https://www.udemy.com/course/build-re...
👉 Build Amazing Apps With ANGULAR and ASP.NET Core REST API
https://www.udemy.com/course/real-wor...
👉 ASP.NET Core Razor Pages - Scratch to Finish
https://www.udemy.com/course/aspnet-c...
In this video, we will see how we can upload a file in ASP.NET CORE and C#.
We will create a razor pages web application and then use Bootstrap as our CSS library to create a form in HTML.
Then we will add a submit button to the form and create a POST method in the razor code.
We will accept an IFormFile and we will save the file to the local repository using a service.
We will inject this FileUploadService to achieve dependency injection.
#AspNetCore #FileUpload #RazorPages