Learn to build modern web apps using Razor Pages in ASP.NET Core. This hands-on course walks you through data binding, validation, layouts, authentication, and EF Core integration — everything you need to create dynamic, secure, and database-connected websites with C#.
🗓️ Course Schedule: ASP.NET Core with C#
Duration: 3 Days
Time: 10:00 AM – 4:00 PM Daily
Format: Instructor-led • Practical Workshops • Hands-On Development
🔹 Day 1: Web App Foundations with Razor Pages
10:00 AM – 12:30 PM
🌐 Introduction to ASP.NET Core Web Development
- Overview of ASP.NET Core: features and architecture
- Comparing Razor Pages, MVC, and Web API
- Setting up a Razor Pages web app in Visual Studio
- Folder structure and startup configuration
- Understanding the request pipeline and middleware
12:30 PM – 1:30 PM — Lunch Break
1:30 PM – 4:00 PM
📄 Building Pages with Razor Syntax
- Using
.cshtmland code-behind (.cshtml.cs) files - Data binding and rendering dynamic content
- Working with forms, inputs, and model binding
- Lab: Create a personal profile page with dynamic form input
🔹 Day 2: Data, Models, and Business Logic
10:00 AM – 12:30 PM
🧱 Creating and Managing Models
- Defining page models and backing classes
- Using data annotations for validation
- Handling postbacks and form submission
- Using TempData, ViewData, and ViewBag
- Lab: Build a multi-page form with validation
12:30 PM – 1:30 PM — Lunch Break
1:30 PM – 4:00 PM
🔗 Integrating Entity Framework Core
- Setting up a database context
- Creating models and applying migrations
- Performing CRUD operations in Razor Pages
- Lab: Create a simple product management system with EF Core
🔹 Day 3: Advanced Features & Final Project
10:00 AM – 12:30 PM
🔒 Authentication & Routing
- Adding Identity for user registration and login
- Protecting pages with
[Authorize] - Configuring layout, navigation, and route customization
- Lab: Secure and restrict access to admin pages
12:30 PM – 1:30 PM — Lunch Break
1:30 PM – 4:00 PM
🛠️ Final Project: Mini Web Portal
- Plan and build a mini portal (e.g., Task Manager, Inventory System)
- Incorporate forms, validation, data storage, and security
- Deploy locally and test all routes and user flows
- Wrap-up, Q&A, and recap of key ASP.NET Core concepts
🧠 What You’ll Learn
- How to build modern web apps using Razor Pages in ASP.NET Core
- Structuring pages, forms, and navigation for real-world projects
- Data access with Entity Framework Core
- Handling users and authentication with ASP.NET Identity
- End-to-end experience creating a complete web application in C#