ASP .NET Core MVC CRUD Operations with Foreign key using CodeFirst Approach

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 61

  • @eintech6566
    @eintech6566 2 года назад +12

    You are correct Aniz, Many of tutorials listed on RUclips are designed on single table and far from real world applications. Excellent effort. Keep up the good work.

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      Appreciate your response. Thank you.

  • @farrukhazadpak5149
    @farrukhazadpak5149 2 года назад +2

    thanks for excellent work , you solve my problem , I search this video for 2 weeks , thanks dear friend , i Like .

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      You are most welcome. Stay tuned to the channel.

  • @melisarafoles3066
    @melisarafoles3066 2 года назад

    Excellent Work. please release frequently. Thank You

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      Welcome and Cheers!!!. I will try my best

  • @azoredjyamo68
    @azoredjyamo68 11 месяцев назад

    Very interesting for beginners

  • @huntercyberdarkcyber4855
    @huntercyberdarkcyber4855 2 года назад +1

    Haha thank you for posting this mate! Very helpful

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      You are most welcome. Happy Coding.

  • @purnarana9081
    @purnarana9081 2 года назад

    Thank You , waiting for the next part.

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      You are welcome and coming soon.

  • @franklint8301
    @franklint8301 2 года назад +1

    Thank You My Friend, very detailed explanation. by the way thanks for the source code, I like the idea of showing the password after 15 minutes of the video. clever. lol...

  • @itbattalion194
    @itbattalion194 2 года назад +1

    very informative

  • @DanielRezendePessoa
    @DanielRezendePessoa 2 года назад

    Awesome!

  • @zenpaiempire
    @zenpaiempire 9 месяцев назад

    can we have tutorial on creating web API's showing foreign key integrity and consuming those Web APIs from diffrent MVC web application.

  • @NadunUdana
    @NadunUdana Год назад

    thanks man

  • @DailySpace16
    @DailySpace16 2 года назад

    why you use paginatedlist in getunit method . can you explain about it more. is there another way to bind unit item ?

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      yes , you can do without paginated list also. There is a video of the same concept without paginated list.
      please watch this ruclips.net/video/O57nsLyZubc/видео.html

  • @Defense89
    @Defense89 2 года назад

    wow thx alot!!!! your tutorial was awesome!!! but how to do it with an api? like postman how to pass complexe data in the postman's json format?

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад +1

      You are most welcome. very soon I will create videos on API. the whole idea is to convert this project in to microservices using API's. Actually I am little busy in my office project. will definitely do it when time permits.

  • @farrukhazadpak5149
    @farrukhazadpak5149 2 года назад +2

    plz upload any work related to user role and user access rights and how to upload any project to server

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад +1

      Definitely, will do. Stay Tuned.

  • @bahhmantahmasebi
    @bahhmantahmasebi 2 года назад

    nice

  • @attiqurrahman5573
    @attiqurrahman5573 2 года назад

    Thanks, do u have a playlist where u explain everything of this project from zero ?

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад +1

      Welcome. playlist is the description of the video. please check. Thank you.

  • @anbuanbu6591
    @anbuanbu6591 2 года назад

    Hi, why we use interface? we directly use product repository. Kindly provide reason for interface repository.

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      I am planning to release a video on interfaces. on that time this will get cleared.

  • @abdullahquhtani4247
    @abdullahquhtani4247 2 года назад

    Do you do paid tasks?

  • @kamajo7518
    @kamajo7518 2 года назад

    Hi Aniz, thanks again for the helpful video, it had some benefit. But the problem is that if you use restrictions in the repository for the delete method, then the items cannot be edited or changed. Any idea how to solve this problem? Thanks for your videos, they are very enjoyable and sometimes I laugh with you! :)

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      Thanks for watching. But why it cannot be edited or changed. it can be modified very much. could you please explain your doubt clearly. and tell me where you face the issues?

    • @kamajo7518
      @kamajo7518 2 года назад

      @@CodeSbyAniz Hi Aniz, yes. So when I try to change or update my product record I get an exception that goes like this: “ The property 'Product.ProductId' has a temporary value while attempting to change the entity's state to 'Modified'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.“ I have a larger application and I use a remote DB. It is difficult to briefly describe the issue here in the comments. Maybe a bug on the ASP.Net side? And just for information, I'm using ASP.Net core 6 for my needs.
      Thanks for your replay. Kamil

  • @kholerohit4323
    @kholerohit4323 2 года назад +2

    Bro can u share link of full source code because it's half source code there is not main products in it plz send link of full source code ASAP

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      soon will be sharing the code with products model.

  • @АлександрКудрявцев-щ9ъ

    Good afternoon, Thank you very much for your work.
    An error occurred, "The field Cost must be a number".
    The code is exactly like yours.

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      I did not get any error. could you please send a detail with screen shots to codesbyaniz@gmail.com. Thanks

  • @mebinayasharma
    @mebinayasharma 2 года назад

    How can I refer to two foreign keys from a single table?

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад +1

      the products table is referenced from many tables like brand , category, unit etc. please watch full video.

  • @דניאלר-ע4ו
    @דניאלר-ע4ו 2 года назад

    I'm trying to download the code but it requires a password

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      but password is shown in the video, so please watch without skipping the video.

  • @clovisrodyt
    @clovisrodyt 2 года назад +1

    Sorry, but... Is the source code file password protected ? Thanks

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад +1

      Welcome, Password is shown in the video. please watch the video.

    • @bahhmantahmasebi
      @bahhmantahmasebi 2 года назад

      @@CodeSbyAniz i watched the whole video but password doesn't appear dude

    • @kholerohit4323
      @kholerohit4323 2 года назад +1

      @@bahhmantahmasebi Vr@2022

    • @ramuninavya2357
      @ramuninavya2357 2 года назад

      @@bahhmantahmasebi hi did u get source code link?? If yes,plz can u share that??

    • @bahhmantahmasebi
      @bahhmantahmasebi 2 года назад

      @@ramuninavya2357 you can see the source code link at first of video,copy the exact link and past it in browser then it begins to download,you can find the zip file password in comments

  • @minettembouh1598
    @minettembouh1598 Год назад

    Please, I cannot access the source code

    • @CodeSbyAniz
      @CodeSbyAniz  Год назад

      please check, the link is very much working.

  • @AbdilahiTahir
    @AbdilahiTahir 2 года назад

    Where is the link😢

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      please watch the full video without skipping , source code URL will appear in the middle. Thanks.

    • @santoshanand4867
      @santoshanand4867 2 года назад

      @@CodeSbyAniz password of zip??

  • @justshukri9407
    @justshukri9407 2 года назад

    You didn't show how to create that repository

    • @CodeSbyAniz
      @CodeSbyAniz  2 года назад

      please follow the playlist. everything is shown from the scratch.

    • @kashanzafar1662
      @kashanzafar1662 Год назад

      @@CodeSbyAniz What is Password of Zip file

  • @motivationalbeast3569
    @motivationalbeast3569 2 года назад

    Source code link?

  • @kashanzafar1662
    @kashanzafar1662 Год назад

    Please Share the Password of Zip File

  • @nilaykShah
    @nilaykShah 4 месяца назад

    Horrible way to demonstrate some thing. Doing copying and pasting.