Add Razor Component with parameter to an MVC App

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

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

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

    Most of the time I can't understand presenters because I have problem with accents. Yours with its clarity does mean a lot to me thanks! Keep up your good work. I would love to see your presentation on other topics as well. Thanks!

  • @rezaldy2666
    @rezaldy2666 13 дней назад

    Thank video you help me this night

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

    I have spent two weeks trying to figure out why my page wouldn't pass the parameter into the component. All because I was missing the "param-" prefix. This is totally different to Blazor and 100% unintuitive design. Thanks for the video Bill. Now I can sleep.

  • @00wiking
    @00wiking 3 года назад +1

    Very helpful :) I pass first part cause I started with .net core 3.1 project but now I know how add blazor components to my project :)

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

    Loved it. You showed how to pass a parameter value into the component. How do I pull the value out?

  • @cryptodapps3340
    @cryptodapps3340 4 года назад +1

    Very helpful vid. Thanks!

    • @BlazorBill
      @BlazorBill  4 года назад

      happy to hear it was helpful. thank you.

    • @cryptodapps3340
      @cryptodapps3340 4 года назад

      @@BlazorBill do you know how to make it work with query string?
      Since in MVC you could have /controller/action/Id
      It works on pages that don't pass an id. Any idea how to fix this?

    • @BlazorBill
      @BlazorBill  4 года назад

      @@cryptodapps3340 I'm not sure I fully understand your question. Can you give me a little more of an example of what you are asking?

  • @hillarysagwa5064
    @hillarysagwa5064 4 года назад +1

    thank you so much sir

    • @BlazorBill
      @BlazorBill  4 года назад

      Thank you for the comment.

  • @Joe-SoftwareEngineer
    @Joe-SoftwareEngineer Год назад +1

    Very good video. How about reading a value from the Blazor component into the MVC controller? I can't find a way to do that. For example, how would you be able to read the value of the counter property in the controller?