
Explore the foundation of Darknet Core applications, using Visual Studio 2022 to build a .NET 6 Razor Pages project with Entity Framework Core, client and server validations, and TempData alerts.
learn how dependency injection uses a built-in container to supply shared services like email and database access to pages, reducing code duplication and enabling easy implementation changes.
Create a new Razor Pages web project in Visual Studio 2022 using .NET 6, configure solution and project names, and enable Razor runtime compilation for live updates.
Learn how razor pages map URLs to physical files in the Pages folder, with a default index.html and explicit routing logic.
Explore the Razor pages structure, including the underscore layout master page with header and footer, and how index and privacy pages render within it using partial views and tag helpers.
Add a default connection string in appsettings.json, using the server and database details with windows authentication. Configure a db context to use this string and enable entity framework.
Add a create category button on the categories index page using razor pages tag helpers to navigate to the create page, noting how a missing page affects the link.
Create a post handler in Razor Pages to receive a category object, add it via the application context, save changes, and redirect to the index page.
Learn to implement server-side custom validation in ASP.NET Core Razor Pages by using model state to add errors when name and display order match, and display validation summaries.
Enable client side validation in asp.net core razor pages with a shared folder's script partial and a script section; observe that server side validation still runs on post.
.NET Core has been evolving drastically and it is probably one of the biggest buzz word in the .NET Domain over few years! Even though .NET Core is more than 5 years old companies are just starting to adopt and transition applications to use .NET Core. This is an introductory course on ASP.NET Core with Razor Pages(.NET 6).
This course is for anyone who is new to asp.net core or who is familiar with ASP.NET and wants to take a first stab at understanding what is different in asp.net core (.NET 6).
Throughout this course we would understand the evolution of ASP.NET Core and then we would take a look at the modified files and folder structure.
We would build a application with CRUD operations using entity framework for integration with a database with asp.net core Razor Pages.
We will learn validations with .NET Core and learn basic concepts like partial view, integrating Toastr alerts, TempData and much more!
BONUS: We will also host our application on Azure! :) Because of time constraint I will have a link at the end of video that will take you to more few features that you will learn on this project!
This course will give you a solid foundation in no time as you will be confident to take on more complex projects that I teach in other courses.