C# Razor Pages - Complete Tutorial

  Рет қаралды 61,872

tutorialsEU - C#

tutorialsEU - C#

Күн бұрын

🔥 Learn RAZOR PAGES with C# and ASP.NET MVC in this 25-minute FREE video COURSE!
🚀 C# Progress Academy - Become a senior C# developer: academy.tutorials.eu/p/csharp...
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
Tutorials,Tutorial,Programming,Course,Learn,Step by step,guide,development,programmer,learn how to,how to,c#,.net,.net core,dotnet,core,code,asp,asp net,c sharp,coding,csharp,programming,asp.net,html,tutorial,razor,azure,aspnet,mvc,web,web dev,backend developer,dependency injection,framework,blazor,entity framework,pages,asp net core,entity framework core,what is mvc,razor pages,asp dot net,create website,asp.net mvc,razor page web app,asp.net core mvc
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.
Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x
C#: / @tutorialseuc
Facebook: / tutorialseu-1093802040...
LinkedIn: / tutorialseu
Discord: / discord

Пікірлер: 42
@tutorialsEUC
@tutorialsEUC Жыл бұрын
🚀C# Progress Academy - Become a senior C# developer: academy.tutorials.eu/p/csharp-progress-academy
@TheBigsmooth9
@TheBigsmooth9 5 ай бұрын
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 4 ай бұрын
That’s exactly what I dislike about C# development-environment… too much to remember.
@navinee_
@navinee_ 5 ай бұрын
This is exactly what I've been looking for, short and just what is needed 💯 Thanks! ✨🙌
@GlennInkoom
@GlennInkoom Ай бұрын
Splendid explanation, very concise
@di.rodriguez
@di.rodriguez 7 ай бұрын
great video, precise and well explained. Love it!
@brewzonekeeone5724
@brewzonekeeone5724 6 ай бұрын
Really helpful. I'll check out the rest for sure thanks.
@prashantkori8245
@prashantkori8245 4 ай бұрын
Short and Simple , very good
@Jacob_Price
@Jacob_Price Жыл бұрын
thanks this helps a lot!
@pavelvitov2773
@pavelvitov2773 4 ай бұрын
Great video man!
@scifithoughts3611
@scifithoughts3611 8 күн бұрын
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?
@lewdards1127
@lewdards1127 Ай бұрын
Thank you my amigo!
@akrooma
@akrooma Жыл бұрын
The video ended : 25:19 - you lied to me but hey.. great stuff.. i learned a lot .. thank you so much
@nickearle294
@nickearle294 Ай бұрын
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.
@VahidAmiri-fg3xj
@VahidAmiri-fg3xj Жыл бұрын
Thanks How to add multiple functions of filters and search in razor pages. I mean in Index page
@larrycs22
@larrycs22 Жыл бұрын
Great video! Thank you very much. What if I would like to use SQL database in my project, how should I connect it?
@daamnola2579
@daamnola2579 Жыл бұрын
Connect String
@marcelositonio2495
@marcelositonio2495 Жыл бұрын
Razing nice!'
@adeniyiajani7617
@adeniyiajani7617 10 ай бұрын
I appreciate you, please can you assist with video to upload Excel files in with the Razor Pages frame work
@junaidywijaya6413
@junaidywijaya6413 4 ай бұрын
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?
@darkeffect8898
@darkeffect8898 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@tutorialsEUC Thank you, keep up the good work! :)
@mohammadeunus7087
@mohammadeunus7087 Жыл бұрын
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 11 ай бұрын
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
@jimmybellmon1268
@jimmybellmon1268 8 ай бұрын
does this still work in 8.0 using VS 2022 Preview?
@flamehorizon1105
@flamehorizon1105 7 ай бұрын
It works with .NET 8.0. I was using Rider tho.
@nathan_falkon36
@nathan_falkon36 9 ай бұрын
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 8 ай бұрын
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 Жыл бұрын
Why using Razor Pages nowadays for business web applications?
@tutorialsEUC
@tutorialsEUC Жыл бұрын
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 Жыл бұрын
@@StarsManny No of course, but still understand why Razor Pages should be better than WebForms.
@brewzonekeeone5724
@brewzonekeeone5724 Жыл бұрын
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 8 күн бұрын
@@LuigiZambetti I agree. Because I’m not clear that Razor is significantly better.
@bbrqi89
@bbrqi89 6 ай бұрын
Total BS
@snapback9221
@snapback9221 8 ай бұрын
rly bad
@criticalthinker1123
@criticalthinker1123 25 күн бұрын
*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 25 күн бұрын
@ min 15, couldn't watch it anymore. clearly this isn't about razor pages
Intro to ASP.NET Core Razor Pages - From Start to Published
1:16:44
IAmTimCorey
Рет қаралды 350 М.
Learn ASP.NET Core 3.1 - Full Course for Beginners [Tutorial]
3:13:18
freeCodeCamp.org
Рет қаралды 1,6 МЛН
Русалка
01:00
История одного вокалиста
Рет қаралды 6 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 100 МЛН
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
freeCodeCamp.org
Рет қаралды 1,5 МЛН
How To Set Up TypeScript & Webpack! - Part 1
6:21
The Coding Loft
Рет қаралды 68
Learn ASP.NET Core MVC (.NET 6) - Full Course
3:07:28
freeCodeCamp.org
Рет қаралды 1,4 МЛН
Advanced C# - LINQ Tutorial
3:07:24
freeCodeCamp.org
Рет қаралды 112 М.
ASP.NET Core Full Course For Beginners
3:43:18
Julio Casal
Рет қаралды 142 М.
Layout view in razor pages project
10:32
kudvenkat
Рет қаралды 50 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 86 М.
Full-Stack App with Blazor WebAssembly & Syncfusion in .NET 7 🔥
2:41:23