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
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.
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...?
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 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);
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!!
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 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
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
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?
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.
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
Sameer, thank you. I have purchased three of your Udemy courses and enjoyed all of them. Do you have any plans for the Blazor .NET 8 tutorials on Udemy?
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
Excellent tutorial. Had difficulty finding a video that didnt just use automatic features. This has been so handy!
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
By far one of the best videos on CRUD operations in .NET Core 8.0 Awesome brother.
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 so much. I was looking for this video and finally landed here. Best explanation.
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 👏
Sir, You are very intelligent and knowledgeable person
Respect++
Great explanation sir, as I am a beginner in ASP. NET I got a better understanding after watching this video. Thank you very much.
Thanks!
Appreciate your support 🙏
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
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
Thank you for this wonderful tutorial, I learned a lot
OMG I love this. This tutorial is so good! You explain everything step by step and you made it easy to learn!
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...?
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.
It was excellent, I went step by step with you
Cool asf mate really good video, thank u a lot
Cheers
Awsome beginner-friendly tutorial! I purchased the complete course on Udemy. Why not!
Thank you 🙏
Good one😊😊As a Fresher able to understand it easily and build it. Explained in detailed manner. Thankyou Sir😇
Thank you so much Sameer for this tutorial. I really needed it.
Very glad I found your video, concise and clear instructions sticking to the main topic.
Thank you so much, you are a life saver!
Simply Great !
Thank you for the Tutorial. Very easy to follow
Glad you like it!
Excellent tutorial!! Is there any repo for above code?
What do I have to type in "public async Task add(AddTicketViewModel viewModel)" when I have to type in columns from different tables?
Thank you so muc for this useful video!
may i ask why did you create another model which is the AddStudentViewModel but its the same in Student.cs?
Hello nice tutorial. I cannot find dependencies your visual studio is different.
Thanks for the clear explanation
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 for this!!! It really helped me out.
Best explanation, very easy to understand. Thank you
Glad it was helpful!
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
I need Database first approach with dapper in asp.net core. Any references please?
Does your full course include FHService, IFHService with the PortalDBContext as well as mapping?
What does "InvalidOperationException: The source 'IQueryable' doesn't implement 'IAsyncEnumerable" mean?
Best video I ever watch ❤
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!!
Sameer, this course do you ofert in Portugues Brazil language?
Thanks for the wonderful video ❤🙏
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
do you have any course that teach how to link asp net 8 with oracle sql?
hi we can use httpput for the edit then why you have used httppost?
Excellent tutorial,great explaination.
Glad it was helpful!
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
Excellent tutorial.Thank you so much.
You're welcome
Thank you! it's really nice content.
Welcome!
You are the best!
how to add another table in database?? sorry im still new with using mssql
Excellent Tutorial Sir
Thank you so much Sameer, great video!!!!!!!!!!!!
Thank you sir for creating this best tutorial
https is not running on my laptop how to solve https to run can share making video on channel
Really sir good explanation thank you for you valuable time
Is it the community version that you are using?
Yes
Great Explanation
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
How do I unit test? sorry just a beginner.
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 Good Tutorial
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.
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
Thank You Very Much Man 😍😊
Thank you so much Sameer, you were incredible :')
Thanks Paul
Button is not working ? Why? i have created two times but nothing Appear on web?
Very easy to understand.
Hello, thank you very much for the video, I wanted to ask you if you have any crud with pagination?
GRACIAS POR COMPARTIR TUS CONOCIMIENTOS ... LIKE
thx mate, realy good tutorial
almost finished with my assignment coz of u, thanks a lot
thx I finished this.
Can you do a tutorial in blazor server and webassembly or blazor web app
I creat that project but i lag some where i can't find out my problem. Sir can you guide me
good video for beginer
Why we are using http get and post even for updating and deleting. Why we didn't use put and delete http verbs
I want to learn about migration and seeding data. With SQLITE
Nice Explanation...
Great video, please create something similar with Blazor .Net 8 using SSR Thx 🙂
Dünkü etkinlik kötü olsa da ülkenin adını kurtardın. 👏
add-migrarion m error aa rha hai...commandnotfound... What i do
Please explain it. I also got a problem in migration
Thank you brother!
Thank you for the video
You Get more one subscriber.
Goood Job. Can you provide a video on entity relationships?
I kept doing save but its not showing the details that I input to the form back to the viewModel. Why is that?
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
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 .
Sir I am getting problem in database connection
Sameer, thank you. I have purchased three of your Udemy courses and enjoyed all of them. Do you have any plans for the Blazor .NET 8 tutorials on Udemy?
Thank you so much
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
Wow thanks alot
great explanation
please do a video on how to add validation in this form
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
the delete button doesn't work i have the same syntax as u
great video sameer.
the best thank you
Updating command that time I am getting index 0 error who can I solve please help me out