Duration 18:49

File Upload In Core - How To Save A File In C and Core Razor Pages

22 493 watched
0
339
Published 25 Nov 2021

👉 Build ASP.NET Core Web API - Scratch To Finish ( .NET 6) https://www.udemy.com/course/build-rest-apis-with-aspnet-core-web-api-entity-framework/?couponCode=SEPT2023 👉 Build Amazing Apps With ANGULAR and ASP.NET Core REST API https://www.udemy.com/course/real-world-app-angular-aspnet-core-web-api-and-sql/?couponCode=SEPT2023 👉 ASP.NET Core Razor Pages - Scratch to Finish (.NET 6) https://www.udemy.com/course/aspnet-core-razor-pages-web-application-development/?couponCode=SEPT2023 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

Category

Show more

Comments - 14