Everyone is creating content with automatic features, so many things remain misunderstood. However, you create everything from scratch, and I've been able to understand it all.
indian people do have the power of imagination and they can actually make something basic very complicated as something complicated very deep detailed ;) I think it is just the genetics lol
A good start... so much more functionality to add...form value validation...storing phone number and email address in a standard formatting..storeing Subscribed as 'Y'|'N' values...have a different table name in the database from the Model name...paging/scrolling list when the Students records are bigger... Open Id Connect Azure authentication...foreign key values in the model...modals...popups...layout regions...the "Add""button" on the Students/List page and redirecting back to Students/List on the Add page after "Save"
as I know already, async method is that method doesnot wait for previous code it imediatelly starts working. entity framework is all abouth methods u dont need to use SQL Commands thats it i think. dbContext is simple connection. rezor view is html. dont know 5 and 6 :D . and controller is api endpoints (swagger). correct me if I am wrong it will be helpful
Thank you very much for this tutorial. I have one question to the situation that happens in 38 minute of the recording: why do you set the output type of the Add method to Task, why can you just leave the IActionResult...?
Hello. Thank you for your detailed and kind lectures. I am happy to study a lot with the lectures you provide. I think I need to buy paid lectures and study more. Thank you again for your lectures.
Hey Sameer, Thank you for the great video! I have one question, how to fetch data from Local DataBase? I did't make use of MS SQL External Database. Thank you!!
Very succint. Short and to the point. Without prior knowledge on MVC I wouldn't have been able to follow along, because all kinds of concepts remain implicit. However having stumbled my way through various videos and courses - just finished messing with OutputCache and ActionFilter - I can now just sit and watch this video and see that I properly grasp the basics of MVC interacting with a database through EF. btw I just purchased 3 of your courses on Udemy. looking forward to some more in depth there.
Hi Sameer, thank you for the helpful video, I have had an issue with the delete button it was not passing the Id in the Controller simple fix by adding @Modul.Id in the Delete button tag asp-route-id="@Model.Id">Delete has fixed the problem under Edit.cshtml
Hi Sameer , first of thanks for explaining .net in very precise manner but i am stuck at 38:59 where i am hovering viewmodel but not getting the info back so that i can go ahead, can you please help me why i am not getting .
Great tutorial. Simple and well understood. Quick question: I passed the var student to the dbContext.Student.Remove(student); since the id was alread passed to it and it worked. Don't know if I'm actually doing the right thing
Excellent video, congratulations Sameer! Do you help me? A need include the photo of student in DB. You can give me an example code to make this, please.
Hello Sameer, I was getting a error while creating add method I tried to access dbContext.Students to call AddAsync method as you did but it says cannot find Students in dbContext can you help me?
Hi Sameer Saini ,thanks for explaining. I have trouble with 'edit' method(51:44). My model always empty. HttpPost method not implemented. where did I go wrong? thank you in advance [HttpGet] public async Task Edit(int SystemID) { var systems = await dbContext.MoV.FindAsync(SystemID); return View(systems); } [HttpPost] public async Task Edit(Systems viewModel) { var systems = await dbContext.MoV.FindAsync(viewModel.SystemID);
video just completed it works nicely but i cannot edit phone number i might have made some errors there, but its alright , everything else works nicely, thanks nice view i mean video
Hey, Sameer, many thanks for this. I saw your Udemy courses. Assuming I learned the basic of C# and I want to be able to build web apps integrated with an online database (such as MongoDB), from which course I should start? Assume that I have covered the basics of HTML and CSS as well. Thanks.
Hi, With all the above info, my MVC course should be a good start, it uses Microsoft sql server but once you understand the basics of the application. Swapping with Mongodb would not be a painful task
i have a error on line 63 of students controller (viewModel.Id) .saying viewModel.Id is not null here . CS1503 cannot convert from System.Guid to System.Threading.CancellationToken
Everyone is creating content with automatic features, so many things remain misunderstood. However, you create everything from scratch, and I've been able to understand it all.
indian people do have the power of imagination and they can actually make something basic very complicated as something complicated very deep detailed ;)
I think it is just the genetics lol
Excellent tutorial. Had difficulty finding a video that didnt just use automatic features. This has been so handy!
By far one of the best videos on CRUD operations in .NET Core 8.0 Awesome brother.
Thanks!
Appreciate your support 🙏
A good start... so much more functionality to add...form value validation...storing phone number and email address in a standard formatting..storeing Subscribed as 'Y'|'N' values...have a different table name in the database from the Model name...paging/scrolling list when the Students records are bigger... Open Id Connect Azure authentication...foreign key values in the model...modals...popups...layout regions...the "Add""button" on the Students/List page and redirecting back to Students/List on the Add page after "Save"
Excellent Explanation, I enjoyed my Weekend with your CRUD Tutorial
Now I'm bit confident about,
(1) Async Method
(2) Entity FrameWork
(3) dbContext
(4) Razor View
(5) ViewModel
(6) RediretToAction Functionality
(7) Controller.
Glad you liked it
as I know already, async method is that method doesnot wait for previous code it imediatelly starts working. entity framework is all abouth methods u dont need to use SQL Commands thats it i think. dbContext is simple connection. rezor view is html. dont know 5 and 6 :D . and controller is api endpoints (swagger). correct me if I am wrong it will be helpful
Thank you Sameer, Your explanation is awesome. I am a beginner in .NET MVC. But I understood each and every point you explained. Great Job 👏
Great explanation sir, as I am a beginner in ASP. NET I got a better understanding after watching this video. Thank you very much.
Sir, You are very intelligent and knowledgeable person
Respect++
Thank you so much. I was looking for this video and finally landed here. Best explanation.
Thank you very much for this tutorial. I have one question to the situation that happens in 38 minute of the recording: why do you set the output type of the Add method to Task, why can you just leave the IActionResult...?
It was excellent, I went step by step with you
Thank you for this wonderful tutorial, I learned a lot
I have been through lots of .Net Core MVC videos and this is by far the best best tutorial I have ever seen. Thankyou very much
I need Database first approach with dapper in asp.net core. Any references please?
do you have any course that teach how to link asp net 8 with oracle sql?
Hello nice tutorial. I cannot find dependencies your visual studio is different.
Hello. Thank you for your detailed and kind lectures. I am happy to study a lot with the lectures you provide. I think I need to buy paid lectures and study more. Thank you again for your lectures.
You are welcome, glad you liked the video
Excellent tutorial!! Is there any repo for above code?
Hey Sameer, Thank you for the great video! I have one question, how to fetch data from Local DataBase? I did't make use of MS SQL External Database. Thank you!!
Does your full course include FHService, IFHService with the PortalDBContext as well as mapping?
What do I have to type in "public async Task add(AddTicketViewModel viewModel)" when I have to type in columns from different tables?
Is it the community version that you are using?
Yes
OMG I love this. This tutorial is so good! You explain everything step by step and you made it easy to learn!
may i ask why did you create another model which is the AddStudentViewModel but its the same in Student.cs?
how to add another table in database?? sorry im still new with using mssql
Sameer, this course do you ofert in Portugues Brazil language?
Cool asf mate really good video, thank u a lot
Cheers
Thank you so much, you are a life saver!
Thanks for the clear explanation
hi we can use httpput for the edit then why you have used httppost?
Thank you so muc for this useful video!
Very succint. Short and to the point. Without prior knowledge on MVC I wouldn't have been able to follow along, because all kinds of concepts remain implicit. However having stumbled my way through various videos and courses - just finished messing with OutputCache and ActionFilter - I can now just sit and watch this video and see that I properly grasp the basics of MVC interacting with a database through EF. btw I just purchased 3 of your courses on Udemy. looking forward to some more in depth there.
How do I unit test? sorry just a beginner.
Hi Sameer, thank you for the helpful video, I have had an issue with the delete button it was not passing the Id in the Controller simple fix by adding @Modul.Id in the Delete button tag asp-route-id="@Model.Id">Delete has fixed the problem under Edit.cshtml
Thanks.I was also facing this issue.and solve it after reading your comment
Thank you for the Tutorial. Very easy to follow
Glad you like it!
I want to learn about migration and seeding data. With SQLITE
Thank you so much Sameer for this tutorial. I really needed it.
This is very cool because it’s like creating a new database from Visual Studio, but not from SQL Server Management Studio.
thats the entity framework's code first approach
Hi Sameer , first of thanks for explaining .net in very precise manner but i am stuck at 38:59 where i am hovering viewmodel but not getting the info back so that i can go ahead, can you please help me why i am not getting .
Hi, Check if your View is properly configured and the Form tag is there, and the button has a submit attribute
Hey ramaws I am stuck on the same page, please help me if your issue resolved ..
@@viralpatel5566 same im also stuck at that instance only
thank you for this!!! It really helped me out.
Good one😊😊As a Fresher able to understand it easily and build it. Explained in detailed manner. Thankyou Sir😇
https is not running on my laptop how to solve https to run can share making video on channel
Great tutorial. Simple and well understood. Quick question: I passed the var student to the dbContext.Student.Remove(student); since the id was alread passed to it and it worked. Don't know if I'm actually doing the right thing
Excellent video, congratulations Sameer! Do you help me? A need include the photo of student in DB. You can give me an example code to make this, please.
please do a video on how to add validation in this form
Simply Great !
What does "InvalidOperationException: The source 'IQueryable' doesn't implement 'IAsyncEnumerable" mean?
Awsome beginner-friendly tutorial! I purchased the complete course on Udemy. Why not!
Thank you 🙏
hi thank you Dr.Sameer
there is problem when Edit the guid return zeroes 000 00000 000 0000
what should i check
Hi , can you tell me what line of code returns you those 0s
Best explanation, very easy to understand. Thank you
Glad it was helpful!
Hello Sameer, I was getting a error while creating add method I tried to access dbContext.Students to call AddAsync method as you did but it says cannot find Students in dbContext can you help me?
Check your dbcontext file if you have added the students property
Very glad I found your video, concise and clear instructions sticking to the main topic.
I creat that project but i lag some where i can't find out my problem. Sir can you guide me
Hello, thank you very much for the video, I wanted to ask you if you have any crud with pagination?
Thanks for the wonderful video ❤🙏
Hi Sameer Saini ,thanks for explaining. I have trouble with 'edit' method(51:44). My model always empty. HttpPost method not implemented. where did I go wrong? thank you in advance
[HttpGet]
public async Task Edit(int SystemID)
{
var systems = await dbContext.MoV.FindAsync(SystemID);
return View(systems);
}
[HttpPost]
public async Task Edit(Systems viewModel)
{
var systems = await dbContext.MoV.FindAsync(viewModel.SystemID);
if (systems is not null)
{
systems.Systema = viewModel.Systema;
systems.PROD = viewModel.PROD;
systems.PREPROD = viewModel.PREPROD;
systems.TEST = viewModel.TEST;
systems.V1 = viewModel.V1;
systems.V2 = viewModel.V2;
systems.V3 = viewModel.V3;
systems.V4 = viewModel.V4;
systems.V5 = viewModel.V5;
systems.V6 = viewModel.V6;
systems.V7 = viewModel.V7;
systems.V8 = viewModel.V8;
systems.V9 = viewModel.V9;
systems.V10 = viewModel.V10;
systems.V11 = viewModel.V11;
systems.V12 = viewModel.V12;
systems.V13 = viewModel.V13;
systems.V14 = viewModel.V14;
systems.V15 = viewModel.V15;
systems.V16 = viewModel.V16;
await dbContext.SaveChangesAsync();
}
return RedirectToAction("List", "Add_System");
Thank you! it's really nice content.
Welcome!
Can you do a tutorial in blazor server and webassembly or blazor web app
Excellent tutorial.Thank you so much.
You're welcome
I'm yet to see an mvc project with authentication
u can select individual accounts when creating the project to have registration, login, logout, forgot password and email confirmation
Excellent tutorial,great explaination.
Glad it was helpful!
Why we are using http get and post even for updating and deleting. Why we didn't use put and delete http verbs
Sir I am getting problem in database connection
add-migrarion m error aa rha hai...commandnotfound... What i do
Please explain it. I also got a problem in migration
Excellent Tutorial Sir
do you plan on creating a project using angular/react frontend?
also we'd like to see one tutorial with authentication since there are not many good tutorials here on youtube
thx mate, realy good tutorial
almost finished with my assignment coz of u, thanks a lot
Button is not working ? Why? i have created two times but nothing Appear on web?
how do i donwload the bootstrap
video just completed it works nicely but i cannot edit phone number i might have made some errors there, but its alright , everything else works nicely, thanks nice view i mean video
Thank you so much Sameer, great video!!!!!!!!!!!!
Best video I ever watch ❤
Hey, Sameer, many thanks for this. I saw your Udemy courses. Assuming I learned the basic of C# and I want to be able to build web apps integrated with an online database (such as MongoDB), from which course I should start? Assume that I have covered the basics of HTML and CSS as well. Thanks.
Hi,
With all the above info, my MVC course should be a good start, it uses Microsoft sql server but once you understand the basics of the application. Swapping with Mongodb would not be a painful task
Here's a coupon for you AUG2024
Sir can you do a video on clean architect.
thx I finished this.
Dünkü etkinlik kötü olsa da ülkenin adını kurtardın. 👏
Thank You Very Much Man 😍😊
Thank you sir for creating this best tutorial
Very Good Tutorial
Really sir good explanation thank you for you valuable time
SIr please make a video Blazor and dot net core 8
Goood Job. Can you provide a video on entity relationships?
Sir create one video using database first approach
You are the best!
good video for beginer
Great Explanation
GRACIAS POR COMPARTIR TUS CONOCIMIENTOS ... LIKE
Hi, can I get code link?
Nice Explanation...
Updating command that time I am getting index 0 error who can I solve please help me out
Thank you so much Sameer, you were incredible :')
Thanks Paul
You Get more one subscriber.
the delete button doesn't work i have the same syntax as u
i have a error on line 63 of students controller (viewModel.Id) .saying viewModel.Id is not null here . CS1503 cannot convert from System.Guid to System.Threading.CancellationToken
i also faced same, then i fixed it .
Thank you brother!
Wow thanks alot
I kept doing save but its not showing the details that I input to the form back to the viewModel. Why is that?
Thank you so much
Thank you for the video