The repository and uow patterns are anti patterns on ef core DbContext because the DbContext implemented both, the results are complicity and decreasing the performance.
Thanks for your valuable feedback. Do you have any better approach/suggestions or ideas we can share with our subscribers? Please 🙏 take a moment and share your ideas
While initializing add- migration the error is that it requires the primary key. But in my case in my model I don't have the primary key. So, please me in this.
I'm a complete beginner, can anyone please tell me if I need to learn SQL and create the database or get the database from somewhere used in this video.
An updated enhancement to this might be nice, which makes the UI and table design more "real world", so that the Products has a foreign key to another table (perhaps a manufacturerID?) Thus your UI create and edit pages would require a dropdown list to select that manufacturer name. In addition, show the changes needed for multiple tables in the DAL and in the LINQ queries for the pages.
Hi sir..... can you please provide in previous videos like CrudwithCodeFirst and CascdingDDL project videos sir............. please sir I have based on the project one task will be there sir ............ please sir can you provide as soon as possible sir......... still I am waiting your videos links sir........ and How can I contact sir
You can perform CRUD Without layers also. In real time we always go with the different layers because each layer uses your separate code, so it is easy to modify the code. It is helpful to maintain and understand the large projects. You can easily change your graphical environment. It is more secure because users can't access the database directly.
That was incredible, all three videos really helped me with my project: Display, edit, delete. Amazing! Do you have any videos on how we can download an excel sheet of all the table? Or how we can download an individual row as a pdf? You're really incredible and thank you so much for your videos!
Sure will upload soon. Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.
That was excellent! Easy to follow and very informative. It is helping me so much on my project, and I am looking forward to the rest of the videos on this as well. Thank you so much!
Thanks for a great video. I got an 'Object reference not set to an instance of an object' in the select asp-items="ViewBag.Categories". When I debug the Count=3 so it is not null. I have triple checked the copy of your code. I use .Net 8. Can you see a solution?
I have use same code but cannot convert Json in controller function can you explain it how to work Json converter please . public JsonResult GetCategory() { var category = _categoryRepo.GetAll(); return Json(category); }