Part 3 Razor Web App in ASP.Net Core - Scaffolded Razor Pages using Entity Framework Core

Опубликовано: 28 Сентябрь 2024
на канале: Kaushik Roy Chowdhury
5,634
45

🌟 *UDEMY Bestseller Alert Kickstart 2024 with Learning Excellence 🚀*
Exciting news My latest Udemy course has achieved the prestigious "Bestseller" label 🎉

To celebrate, I'm offering an exclusive New Year promotion 🎁 Grab any course for just $9.99 until January 16, 0400 AM (NZT).

👉 **Course Highlight**: [ASP.NET Core Integration Testing with CI/CD](https://www.udemy.com/course/aspnetco...)

🌐 Explore more courses at $9.99 each (Valid till Jan 16):
- [Solving Issues with .NET and SQL](https://www.udemy.com/course/a-set-of...)
- [Google Cloud Apigee x API Management](https://www.udemy.com/course/google-c...)
- [ASP.NET Core 3.1: Hands-on Web Projects](https://www.udemy.com/course/aspnetco...)
- [DevOps and Docker Support for .NET Core Blazor](https://www.udemy.com/course/devops-a...)
- [Build and Learn ASP.NET Core 3.1 Blazor Hands-on](https://www.udemy.com/course/build-an...)
- [ASP.NET Core 3 with MVC and MongoDB](https://www.udemy.com/course/aspnet-c...)
- [Master Collection: Classes in C#](https://www.udemy.com/course/master-c...)

Feel free to enroll and spread the knowledge among friends and peers who may find these courses valuable

Let's make 2024 a year of learning and growth 🌱

Happy Learning,
Kaushik 🚀 Next:    • Don't Putup With Instance Error Updat...   ++++++++++ (Unit Testing Blazor ASP.NET 5) -h This tutorial examines the Razor Pages created by scaffolding in the previous tutorial. Razor Pages are derived from PageModel.The constructor uses dependency injection to add the MovieContext to the page. Asynchronous programming with Entity Framework is used in this example. When an @ symbol is followed by a Razor reserved keyword, it transitions into Razor-specific markup, otherwise, it transitions into C#. The @model line makes the PageModel-derived class available to the Razor Page. When the Create form posts the form values, the ASP.NET Core runtime binds the posted values to the movie model.

Previous: Part 2 - Add a model:    • Part 2 Razor Web App in ASP.Net Core ...  
Next: Part 4 Work with SQL Server local database:    • Part 4 Razor Web App in ASP.Net Core ...  

This tutorial describes scaffolding a Razor Web Application using ASP.Net core and uses Core 2.1 framework.
This part shows an example of Razor transitioning into C#. The { and } characters enclose a block of C# code. It uses the [BindProperty] attribute to opt-in to model binding.

Some Useful Links: Dependency Injection https://docs.microsoft.com/en-us/aspn...

Asynchronous Code: https://docs.microsoft.com/en-us/aspn...

Razor syntax: https://docs.microsoft.com/en-us/aspn...

Tag Helper: https://docs.microsoft.com/en-us/aspn...

Model Binding: https://docs.microsoft.com/en-us/aspn...

Anti-forgery token: https://docs.microsoft.com/en-us/aspn...

This is the part 3 of a video based upon a series of tutorials on ASP.Net core from Microsoft Team at the
following URL: https://docs.microsoft.com/en-us/aspn...
This team is led by Rick Anderson and a group of other collaborators.

My complete playlist is as follows:

ASP.Net Core tutorials:
   • ASP.Net Tutorials | Asp.Net Core Tuto...  

ASP.Net Web API 2 tutorials:
   • ASP.Net Web API2 tutorials  

Visual Studio C# Console Application :
   • Visual Studio C# Console Applications  

Miscellaneous Tutorials:
   • Miscellaneous Tutorials   My Patreon Page (for support):   / deveducate   My meditation Channel:
   / @watchandrelax9142   Buy Me A Coffee:
https://www.paypal.com/cgi-bin/webscr... https://www.skillshare.com/r/profile/... ** " "