Hi. Are you using zencoding to do inline autocomplete of your html tags? Also, why did you create a separate model for adding an employee instead of just using the existing Employee model?
To create a view page what are other option that we can use instead of foreach loop to display data from DB or is there any way to improve performance of foreach loop on UI page
I'm learning a lot...but as I meticulously follow your step-by-step approach, I'm at the 28-minute mark. In the "asp-for= portion of the fields, the "Add...Request" portion of the "asp-for" in the
I am looking to do something similar to this but with a list of identity users - tried using your techniques that are in the video but keep getting an error on the edit part of the tutorial with the public void OnGet(Guid id) part - it doesnt like the Guid - any tips?
MVC was a very popular framework around 5 years ago where everyone was working with MVC, today, Razor pages is the default framework for the ASP.NET Core Web Applications, it provides a very page centric approach to handle small to medium level applications. You can even go large by combining it with WebAPIs or MVC controllers. Yes, you can have 2 frameworks in the same app too. Razor pages are very simple to use and gives a better developer experience
After running Update -database in Package Manager Console I get this error A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - Sertifika zinciri güvenilmeyen bir yetkili tarafından verildi.)
Hello Sameer and everyone there, I have some problem in method OnPost class EditEmployeeViewModel, object EditEmployeeViewModel is null and I don't know why
I see no reason why you would create a separate "ViewModel" class. The microsoft tutorials don't do this for razor pages, they simply use the model directly in the CRUD operations. You seem to have an extra layer of complexity which has no relevance in Razor pages....are you doing this as a carryover from your MVC days?
I appreciated your help. Really the best stuff on youtube. Thanks, Sameer.
Glad it was helpful!
This is the best place to learn thanks Sameer, look forward to you videos - great content!
Much appreciated!
Nice Video Sameer. Thanks for posting videos.
Cheers mate
👉Full ASP.NET MVC Course
www.udemy.com/course/aspnet-mvc-course-aspnet-core/?couponCode=JUNE2023
really top video for Beginners
Thank you, I have just enrolled for your full course !
Great work, thank you for this video
I honestly learned a lot from your tutorial videos. Thanks!
please put video for sorting ,paging Grid using Pages CRUD Using Entity Framework Core and SQL Server
hello sir same thing will use stored procedure .it will help for ur upcoming project
thanks for the video, but why haven't you used decimal type for Salary property?
Hi. Are you using zencoding to do inline autocomplete of your html tags? Also, why did you create a separate model for adding an employee instead of just using the existing Employee model?
To create a view page what are other option that we can use instead of foreach loop to display data from DB or is there any way to improve performance of foreach loop on UI page
ทำไมชอบเขียนแบบข้ามขั้นตอน 3 2 แล้วก็ไป 1 ย้อนไปย้อนมาเดี๋ยวเพิ่มตรงนั้นเด๊่ยวแก้ตรงนี้ ทำไมไม่เขียนไล่ขั้นตอนแบบ 1 2 3 ไปเลยทีเดียวล่ะ คุณทำดูเหมือนว่าไม่ได้เตรียมการสอนมาซะอย่างงั้นอ่ะ แต่โอเคแหล่ะว่าเนื้อหาการสอนโดยรวมทำให้เข้าใจอยู่
I'm learning a lot...but as I meticulously follow your step-by-step approach, I'm at the 28-minute mark.
In the "asp-for= portion of the fields, the "Add...Request" portion of the "asp-for" in the
Can you let us know what error it's showing when you hover over it?
I am looking to do something similar to this but with a list of identity users - tried using your techniques that are in the video but keep getting an error on the edit part of the tutorial with the public void OnGet(Guid id) part - it doesnt like the Guid - any tips?
what is difference between razorpages and mvc core??? And which one is widely used in real world projects??
MVC was a very popular framework around 5 years ago where everyone was working with MVC, today, Razor pages is the default framework for the ASP.NET Core Web Applications, it provides a very page centric approach to handle small to medium level applications. You can even go large by combining it with WebAPIs or MVC controllers. Yes, you can have 2 frameworks in the same app too.
Razor pages are very simple to use and gives a better developer experience
@@SameerSaini thanks for the reply, sir; but i guess still companies are using web api mvc applications for projects;
@@sarveshm6779 These are legacy projects, they still have to support them, but I have a video on MVC too :)
After running Update -database in Package Manager Console I get this error A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - Sertifika zinciri güvenilmeyen bir yetkili tarafından verildi.)
Same
Did you found any solution??
Can I create the database by myself in database instead of running migration
yes. in the json file, add your connection. Just make sure your DBContext has the DBSets for any tables, and associated model class.
Hello Sameer and everyone there, I have some problem in method OnPost class EditEmployeeViewModel, object EditEmployeeViewModel is null and I don't know why
I found my mistake, bind property for EditEmployeeViewModel was not set
I see no reason why you would create a separate "ViewModel" class. The microsoft tutorials don't do this for razor pages, they simply use the model directly in the CRUD operations. You seem to have an extra layer of complexity which has no relevance in Razor pages....are you doing this as a carryover from your MVC days?
please send the post the code