C# Razor Pages - Complete Tutorial

preview_player
Показать описание
🔥 Learn RAZOR PAGES with C# and ASP.NET MVC in this 25-minute FREE video COURSE!

We'll make sure to turn you into a true developer in no time!

TIMESTAMPS
00:00 Intro
00:31 Setting up our Razor Pages app
01:29 Checking out the Razor Pages app
03:56 This one is for you!
04:37 A few more things about Razor pages
06:51 Let´s get started with our project! The People Model
10:45 Let´s get our tools! Entity Framework Core and Entity Framework Core in Memory
11:57 In-memory Database
14:38 Dependency Injection to make everything work together
15:34 Creating our first person
16:48 Set up the front end
18:27 Our project in Action! Binding and making our backend work
21:04 Listing our People on our Razor Page
23:36 Final Razor Page
24:35 Thanks for watching!

C# Razor Pages - Complete Tutorial

So, what is C#?
C# (pronounced "See Sharp") is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.

And ASP?
ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies

And Razor Pages?
Introduced as part of ASP.NET Core, and now included in . NET 5, ASP.NET Razor Pages is a server-side, page-focused framework that enables building dynamic, data-driven web sites with clean separation of concerns.

What is MVC?
Model–view–controller is a software architectural pattern commonly used for developing user interfaces that divide the related program logic into three interconnected elements. This is done to separate internal representations of information from the ways information is presented to and accepted from the user.

To learn more, make sure to watch the video, and we promise you that you'll become a better developer by the end of the video! Have fun!

#csharp #coding #tutorial #learn #microsoft #net #razor #aspnet #mvc

TAGS

TutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.

Рекомендации по теме
Комментарии
Автор

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

navinee_
Автор

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

TheBigsmooth
Автор

great video, precise and well explained. Love it!

di.rodriguez
Автор

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

brewzonekeeone
Автор

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

VahidAmiri-fgxj
Автор

The video ended : 25:19 - you lied to me

but hey.. great stuff.. i learned a lot .. thank you so much

akrooma
Автор

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.

nickearle
Автор

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

adeniyiajani
Автор

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

larrycs
Автор

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?

scifithoughts
Автор

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?

junaidywijaya
Автор

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?

darkeffect
Автор

does this still work in 8.0 using VS 2022 Preview?

jimmybellmon
Автор

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

nathan_falkon
Автор

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?

mohammadeunus
Автор

Why using Razor Pages nowadays for business web applications?

LuigiZambetti
Автор

*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*

criticalthinker