C# Razor Pages - Complete Tutorial

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

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

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

    🚀C# Progress Academy - Become a senior C# developer: academy.tutorials.eu/p/csharp-progress-academy

  • @TheBigsmooth9
    @TheBigsmooth9 Год назад +12

    You make this look so damn easy. Ive been learning C# for a year and a half now but not consistently....Every time I continue to learn I need to learn almost everything again lol

    • @nickvledder
      @nickvledder 11 месяцев назад +3

      That’s exactly what I dislike about C# development-environment… too much to remember.

    • @daddyhatesu
      @daddyhatesu 6 месяцев назад

      See u found your problem yourself, consistency. Trust me, if u are consistent, u can do it.

  • @naviisart
    @naviisart Год назад +2

    This is exactly what I've been looking for, short and just what is needed 💯 Thanks! ✨🙌

  • @akrooma
    @akrooma Год назад +3

    The video ended : 25:19 - you lied to me
    but hey.. great stuff.. i learned a lot .. thank you so much

  • @GlennInkoom
    @GlennInkoom 8 месяцев назад +1

    Splendid explanation, very concise

  • @jeromefortiaspro
    @jeromefortiaspro 24 дня назад

    Great Tutorial

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

    Great video man!

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

    Short and Simple , very good

  • @vikram5010
    @vikram5010 2 месяца назад

    Perfect!!! I loved this video.
    Just one thing: Name of Model class was 'People' and then at 20:27 you again took List People = new List();
    I think different name would have avoided confusion, right?

  • @b25671
    @b25671 Месяц назад

    This was actually a pretty nice video.

  • @nickearle294
    @nickearle294 8 месяцев назад

    Hi, I'm new to Razor and this tutorial has inspired me to do more. I love the use of the InMemory Db and wondered if there was an easy way to pre-populate this Db. Best option for me would be using a list in a CSV file.
    I want to use this to display our Family Recipes, so the list would not get update very often.

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

    Really helpful. I'll check out the rest for sure thanks.

  • @di.rodriguez
    @di.rodriguez Год назад

    great video, precise and well explained. Love it!

  • @manzelkyajejichmilencivakci
    @manzelkyajejichmilencivakci 3 месяца назад

    NIce job. Simply clever using. :)

  • @lewdards1127
    @lewdards1127 8 месяцев назад

    Thank you my amigo!

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

    This is good, but everytime we hit Add button it is immediately update the database as well, can we adding the data on client side and add save/upload button to save to database?

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

    thanks this helps a lot!

  • @guillermomazzari8320
    @guillermomazzari8320 5 месяцев назад

    thanks, I am currently on a project that uses razor pages, but I prefer blazor any day, my om said razor pages is better for SEO, do you have any comments on that?

  • @larrycs22
    @larrycs22 Год назад +2

    Great video! Thank you very much.
    What if I would like to use SQL database in my project, how should I connect it?

  • @scifithoughts3611
    @scifithoughts3611 7 месяцев назад

    Nice work. Thank you!
    This looks the same as ASP pages from the 2000s. I wonder if it’s mostly a back and infrastructure upgrade. This looks similar to what I’ve seen in the past. Can anyone who’s more familiar with the Razor versus ASPX architecture, comment as to the superiority of razor pages?

    • @Hannes7046
      @Hannes7046 3 месяца назад

      I'm back in .NET after ten years with c++ etc... Razor pages is similar to WebForms in many ways, with the concept of code behind from WebForms etc.. The biggest difference is the what happens under the hood between aspx-pages and Razor-pages, but as a developer the way you work with the two concepts are similar.

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

    You are refreshing the whole page to see the updated table. Would it be possible to just refresh the table and not the entire site?

    • @junior.santana
      @junior.santana Год назад

      No, cause razor pages are server-side rendered, when you refresh is basically the same as pressing F5 and letting the browser request the page again. However you can mix some javascript and request only the data (or only the html for the table) and replace on th client side without refreshing the whole page.
      Of course if your pages are very dynamic a better option would be using a client-side framework (like react, angular...) and get only the data needed (from an API) to "render" the page locally

  • @АлексейАлександрович-с4д3м

    Great video, thank you. Just a little bit confusing to have PeopleModel as a Page 22:38

  • @VahidAmiri-fg3xj
    @VahidAmiri-fg3xj Год назад

    Thanks
    How to add multiple functions of filters and search in razor pages. I mean in Index page

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

    Hello, i already have a web api project where I’ve created models, controllers and services. I want to create the front end with blazor but I’m not quite sure on whether i should do all those things again on the client side like you have on this tutorial?

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

      Hi, we will soon release a blazor video which will answer your questions :)
      If you project is quite small you could just start over with the blazor template. If not you would have to implement it from scratch :)
      Greets

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

      @@tutorialsEUC Thank you, keep up the good work! :)

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

    I appreciate you, please can you assist with video to upload Excel files in with the Razor Pages frame work

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

    does this still work in 8.0 using VS 2022 Preview?

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

    can you please provide the repo

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

    Razing nice!'

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

    i created the file the same way, but for some reason Program.cs came very different, no public class Program; no includes; no constructors.

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

      You must have forgotten to disable top-down statements. Basically in newer versions of C#, and only in the main class, you are able to negate a public main entry point. I believe you can just add said Program class and main method and will work just as well.

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

    Why using Razor Pages nowadays for business web applications?

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

      Sometime it is not you who decides what to use :) Razor Pages still gets used pretty often - you'd be suprised

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

      Are you getting confused with Web Forms?

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

      @@StarsManny No of course, but still understand why Razor Pages should be better than WebForms.

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

      I develop in Angular most times., but the company I work for has some applications that use Razor, so I want to increase my competency in that area.

    • @scifithoughts3611
      @scifithoughts3611 7 месяцев назад

      @@LuigiZambetti I agree. Because I’m not clear that Razor is significantly better.

  • @RebeccaPittman-d1p
    @RebeccaPittman-d1p 4 месяца назад

    Dejah Ridge

  • @SusanJones-i3r
    @SusanJones-i3r 3 месяца назад

    Schoen Glen

  • @IrvingEnid-r1t
    @IrvingEnid-r1t 4 месяца назад

    Myrna Fields

  • @DaisyDawn-t9o
    @DaisyDawn-t9o 4 месяца назад

    Gutkowski Wells

  • @DonnettaWolfe-h5p
    @DonnettaWolfe-h5p 4 месяца назад

    O'Hara Mall

  • @stevyndembo7836
    @stevyndembo7836 21 день назад

    Not really much about razor pages...

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

    Total BS

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

    rly bad

  • @criticalthinker1123
    @criticalthinker1123 7 месяцев назад

    *very bad. i'm at min 11, and so far have'nt learned much. this was supposed to to be an overview without the details of connecting to EF for example*

    • @criticalthinker1123
      @criticalthinker1123 7 месяцев назад

      @ min 15, couldn't watch it anymore. clearly this isn't about razor pages

    • @carlossantamaria1820
      @carlossantamaria1820 6 месяцев назад

      ​@@criticalthinker1123 you should learn ef core then