Generate HTML from Modal class in .NET Core Console application | Razor View Engine

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 10

  • @ramakrishnaboyapati9930
    @ramakrishnaboyapati9930 2 роки тому

    Thank you Brother. I was looking exactly for the same thing.

  • @damianzelazny5785
    @damianzelazny5785 Рік тому

    Great stuff! Thank you for sharing!

  • @TohidAzizi
    @TohidAzizi 4 місяці тому

    Thanks for the great video. Is there a way to use a string as a template instead of '.cshtnl file'?

  • @GiuseppeTuzzolino
    @GiuseppeTuzzolino Рік тому

    top A+++++. thank you

  • @georgi17100
    @georgi17100 5 місяців тому

    Great stuff! Thank you for sharing!
    How can add css to razer page

  • @tobiasedvardsson2669
    @tobiasedvardsson2669 2 роки тому

    Thanks for the guide.
    Instead of downgrading .net core version to 3.1 you can specifiy the path with "/view
    Like this.
    var html = await RazorTemplateEngine.RenderAsync("/Views/Jorunal.cshtml", journal, viewData);

    • @nafisrahman5791
      @nafisrahman5791 2 роки тому

      thanks for the hint... your one didn't work for me since my .cshtml was in the root of the project and not in a views folder and also I needed to add this character ~
      which from what I understand means it makes the path relative and it helped locate the .cshtml in my case without downgrading the project.

  • @samirehman5907
    @samirehman5907 Рік тому

    i totally do not understand wo add black ground music to learning session

  • @tlearner
    @tlearner Рік тому

    can we make this in mvc