ASP.NET Core Series: MVC and Razor Pages

2024 ж. 22 Мам.
21 423 Рет қаралды

ASP.NET Core is our open-source, cross-platform framework for building modern, cloud-enabled, Internet-connected apps. In this series of videos we’ll be cover many of the interesting features of the framework.
In the episode, Dan Roth comes on to chat with us about the MVC and Razor Pages programming model.
[01:16] - Overview of the benefits of ASP.NET Core MVC
[03:34] - Where does Razor fit in?
[04:42] - How do frontend JavaScript frameworks relate to Razor?
[06:50] - Quick overview of ASP.NET Core Razor Pages
[09:22] - Web development patterns for Desktop developers
[11:03] - Creating a Razor pages app DEMO
Create a web UI with ASP.NET Core
docs.microsoft.com/learn/modu...
.NET Homepage
dot.net/?WT.mc_id=ondotnet-c9...
Get started with Razor Pages
docs.microsoft.com/aspnet/cor...

Пікірлер
  • "Number 5 Alive!!" Short Circuit was one of the best movies ever!

    @daddy2claire@daddy2claire4 жыл бұрын
  • guys! this is just some great introduction to Razor pages .. i will definetly use it!

    @akrooma@akrooma2 жыл бұрын
  • Excellent for startup. Thanks a lot.

    @imadabab@imadabab4 жыл бұрын
  • Great Stuff!. It awesome the simplicity and elegance David gave to using Razor Pages.

    @walethomas4605@walethomas46054 жыл бұрын
    • Who is David? :)

      @CecilPhillip@CecilPhillip4 жыл бұрын
    • Thanks for catching that, my bad.I meant Daniel who presented the stuff.

      @walethomas4605@walethomas46054 жыл бұрын
  • Hi, thanks for posting. Very helpful. I think for the CRUD scaffolding to work, you have to do a Nuget to add the Microsoft.VisualStudio.Web.CodeGeneration.Utils package, and use the [Key] annotation in the model class.

    @GovernorSilver@GovernorSilver3 жыл бұрын
  • Thanks, good into.

    @user-qv5oh4fj5z@user-qv5oh4fj5z4 жыл бұрын
  • Great session, Understand better after watching this video, Any more video/blob for MVC vs Razor Page?

    @AnujAggarwal007@AnujAggarwal0072 жыл бұрын
  • Awesome!!

    @johnthetactician5139@johnthetactician51394 жыл бұрын
  • Sorry, I am just a very very beginner on all of this stuff and just got here from "how to build your first web page with visual studio" but at 5:30 one question came to my mind after Daniel told that with .net Core MVC with Razor pages handles and renders everything on the server-side instead of rendering it in the client side which is like AngularJS, etc. does. So if we are using Azure to host that means more code requests and execution on the server-side which will cost more money to developer. At this point please correct me if I am understanding this right or not? So razor pages give users a better experience and faster because all work is done by servers but if there is a big scale thing it will be more costly i think?

    @ArdaIskender@ArdaIskender3 жыл бұрын
    • If you're rendering big pages on the server you will need to pay for better hardware. But these frameworks can render hundreds/thousand of pages per second, so it won't be a problem unless you have like 100000 visitors per day. Also, server side rendering makes it much easier to rank higher in search engines. Since the web crawlers can read the content of your site much easier than if it was rendered on the client.

      @WorstDeveloper@WorstDeveloper3 жыл бұрын
  • My program manager is asking that I redevelop my existing (and well functioning) Razor Pages app into MVC. I’m very hesitant because I don’t see any benefit in the end. He believes MVC is newer/better than Razor pages and would therefore make the project more modern, but I’m just not seeing that. And this video says Razor Pages is essentially “running” on MVC. Is my PM wrong? Am I wrong? Are we both missing something? How to settle this…

    @beagley@beagley11 ай бұрын
  • you can use angular with asp.net..

    @akimgreen1570@akimgreen15704 жыл бұрын
  • Your videos are all over the place I can't follow, maybe organize some how. Part 1,Part 2etc......

    @jeresmall7248@jeresmall72484 жыл бұрын
  • 20 years old tech. Java Seam Project was much more capable.

    @vitalygoji@vitalygoji2 жыл бұрын
KZhead