ASP.NET CORE MVC Master Detail CRUD

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • From this video tutorial you will learn how to make a Master Detail CRUD Application using ASP.NET Core MVC with EF Core, Advance JavaScript, JQuery and CSS.
    In Here , I have used advanced features of Entity framework core and JavaScript.
    This Application is done in ASP.net core 5 using MVC Pattern.
    The main objective of this application is to save the master
    and detail records together in a easiest and best way.
    This Application has one Master and two detail grids,
    this is the first time in RUclips a tutorial has come to
    save two detail grids at the same time.
    and the important point here is both the detail grids
    are equipped with the jquery client side validations.
    normally, adding validations to the detail grids
    are not easy. and i have solved those challenges here in a brilliant way.
    If you watch this full video, I can guarantee that in the future making any type of master detail screens like sales-invoice, purchase-order, indent entry form etc. will not be a problem at all.
    Please watch and put your comments.
    Thanks.
    Aniz
    Master detail CRUD Part 1
    • Master detail CRUD in ...
    Master detail CRUD Part 2
    • Master Detail Crud usi...
    Master Detail CRUD Part 3
    • Master Detail entry fo...

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

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

    One of the Best Tutorial of the RUclips. Thanks a Ton😊😊😊.

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

    Thank you Aniz! Hope all is well, haven’t seen that you’ve posted much.

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

    This is excellent. Thanks a million Sir

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

    I gave you thumbs up for the TAAPSEE PANNU video demo. Excellent - it made me laugh :)

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

      Same feelings here. Nice to read this comment.

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

    You are very good, you give good examples and explain correctly

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

    Thanks a lott

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

    Could you please share the codes inside your "_ValidationScriptsPartial" file? I can't see inside that partial the video

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

    This is very good. But the index view containing pictures is not responding to bootstrap grid for different screen sizes.

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

    Awesome Sir. Nice

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

    Very Useful Tutorial, I followed it second by second. I have doubt that in Edit view adding the new Row copies the last row with value. but in previous video you have used to clear all the INPUTS, but that clears all the rows in both grids with this video. any short solution?

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

      try this ruclips.net/video/k5USpRrQhM8/видео.html

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

    How to make a submit form where applicants insert they value when clicking the applied button dont know idea or what it called

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

      sorry , Not clear. could you rephrase your question clearly.

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

      @@CodeSbyAniz insert the value of one table to another table it is like when user wants to apply a job by clicking the apply button the user information will show in the admin list. I want to know how because I am currently making an Online Job portal project and I cant find any tutorial in asp.net core 6 mvc

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

    I noticed that if you delete an empty record, the is deleted is kept as true but if you have validation for the input fields you will be an error in the database because the ModelState won't be valid. You could add dummy data to the record being deleted in the delete function to solve this issue. Also isDeleted wasn't being set to false in my version and I added it into the AddBtn function to fix it.

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

      try this ruclips.net/video/k5USpRrQhM8/видео.html

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

      @@CodeSbyAniz I actually played around with the JavaScript and created a good workaround for this, I use dropdowns in my records and created a seperate for loop to populate the input and select fields with dummy data if isDeleted is true, definitely learnt something from your videos though, thanks very much!

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

      @@matthewwells4818 Could your fix, please?

  • @JahidulIslam-fl6nq
    @JahidulIslam-fl6nq 2 года назад

    Sir, you are incredibly intelligent. I tried to copy all the codes but when I added 3rd table it has some errors. At the eleven hour I have some problems. Please do help me.

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

      could you give me detailed error information. or otherwise wait for few days. I am releasing a video on advance master detail grid with source code. may be that will solve many issues. so please wait for few days. Thanks for watching.

    • @JahidulIslam-fl6nq
      @JahidulIslam-fl6nq 2 года назад

      @@CodeSbyAniz Sir, after entering all values when I click create button it failed to calculate total experiences, for this it is not saved. I failed to solve it. Pardon me, would you please give me your email address or fb so that I can share my problems in details ?

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

    Hello Aniz, I appreciate your job it is really helpful.
    I tried to use a ready function from nuget to add text element in each select element in the detail section, It works for the first row but when I add a new row it will not work. I need to add the textbox to filter the data in the dropdown list.
    Any idea?

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

      Actually I don't use any third party components in my video. could you please try with the code shown in the video.

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

      @@CodeSbyAniz Yes it works fine Thanks a lot Dear.

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

    Sir Is it Best to use SP ? more Secure Database

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

      SP are good, but SP has very limited support for EF CORE. it is better to use EFCORE than SP.

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

    Additional info for my previous comment
    packages installed are;
    microsoft.entityframeworkcore\6.0.6\
    microsoft.entityframeworkcore.sqlserver\6.0.6\
    microsoft.entityframeworkcore.tools\6.0.6\
    microsoft.visualstudio.web.codegeneration.design\6.0.6\
    Pls give me feed back for any hints to solve the .parse($form) error on master details video.

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

      i think you have not include the jquery.validate library. please watch this video and include all libraries include in this to your project ruclips.net/video/gBHY0Jt8ZjQ/видео.html

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

    Aniz ji it's great video to learn. After moving the JavaScript to script.js file then Delete button is not functioning correctly, could you pls share the site.js file

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

      but full site.js is shown in the video.

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

      @@CodeSbyAniz yes I have been going through it again again but still no luck.

  • @JetmirDemiri-oh2ts
    @JetmirDemiri-oh2ts Год назад

    Please add the source code as it is very hard to write the code all by hand

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

    My Visual studio version is 2022. Framework .Net 6.0. what i have done wrong?

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

      watch part 1 and part 2 then you can understand easily.

  • @polv.m.7527
    @polv.m.7527 2 года назад

    do you have this tutorial for mac?

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

      the same can be used for MAC

    • @polv.m.7527
      @polv.m.7527 2 года назад

      @@CodeSbyAniz yes but the steps are different on mac. Thanks for you tutorials🙏

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

    could you provide the source code , please.

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

      complete source code is shown in the video.

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

    source code, please

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

      complete source code is shown in the video.

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

    Create.cshtml:

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

      I found the error the $.validator.unobstrusive.parse($form); should be $.validator.unobtrusive.parse($form); sorry

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

      watch part 1 and part 2 then you can understand easily.