ASP .NET CORE MVC CRUD OPERATION WITH ENTITY FRAMEWORK CORE STEP BY STEP

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone this is rizwan yusuf the quick demo of this video tutorial what we are going to do in this video tutorial we are going to perform crud operations using asp.net core mvc with entity framework okay we will use sql server as database we will create a small pet info management web applications and we will see the most common problems and issues that you might have faced while performing the card operations in asp.net core okay there are a lot of things that related to this video tutorial how to save image in asp.net core how to apply filter on data records list etc etc it will not waste your time okay please watch till the end of the video [Music] so here is my visual studio let's create a new project [Music] from here we will search asp.net core [Music] so this is the template that what we are looking for asp.net core app model view controller okay i will select this template and hit the next button [Music] i will name it that info management app okay you can name it whatever you like that info management app i think this will be more suitable web app yes you can see we have the brand new application of asp.net core [Music] before going further i would like to give you a brief introduction about the structure of asp.net applications asp.net core application okay first we have ww root folder it contains css and javascript files and if we talk about library folder it contains bootstrap and jquery and other related libraries okay next we have model view controller we will be discussing model view controller throughout the application okay next we have app settings file it contains the configurations settings like database connection keys of jwt json web token etc etc finally we have startup.cs which is a starting point of this application okay here we have some invocation in startup.cs class like routing authorization and default routing let's have some discussion about default routing the first part of the url after the base url will be the controller name which is home and next will be the action name and any query parameter after the action method will be considered as the id parameter as you can see okay so this is the default routing we will discuss it in detail in the later part of the video okay so this is the first mvc application looks like as i mentioned at the beginning of the tutorial we are going to perform crowd operations using asp.net core mvc application and we will be using entity favorite so we are going to use entity framework in our application in order to use entity framework we have to install some new get packages first without doing that we can't use entity framework in our application so let's install those packages new get packages related to entity framework okay [Music] [Music] [Music] [Music] [Music] [Music] so we have successfully installed the required packages for application for our application you can see okay so this is the right time to create a model class for our entity [Music] i will call it pet [Music] let's add the corresponding properties [Music] [Music] let's add the corresponding namespaces [Music] [Music] now our pet model class is ready okay then we run migrations our database table will be created on behalf of this model we will see the migration in the later part of the video okay [Music] you
Info
Channel: Recital Learning
Views: 10,986
Rating: undefined out of 5
Keywords: asp.netcore, asp.netcorecurd, entityframeworkcore, curdmssqlserver asp.netcoremvc, mvccrud, scaffoldingmechanismdotnetcore, dependencyinjectiondotnetcore, codefirstapproachindotnetcore, migrationinasp.netcore, validationdotnetcore, layoutviewdotnetcore, entity framework core, entity framework core tutorial, entity framework, entity framework core database first, asp.net core
Id: 5JdzjygUnMc
Channel Id: undefined
Length: 8min 46sec (526 seconds)
Published: Thu Jun 16 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.