.NET 9 ASP MVC 8

Inquire now

Duration 3 days – 21 hrs

 

Overview

 

This training focuses on building modern web applications using ASP MVC 8 on the .NET 9 platform. Participants will gain hands-on experience in creating MVC applications, customizing middleware, implementing filters, building views using Razor, and developing service layers with Entity Framework 8 (EF8) and Dapper. The course is designed to equip developers with the skills needed to develop secure, scalable, and maintainable enterprise-level web applications.

 

Objectives

 

  • Understand the .NET 9 platform architecture and MVC 8 framework.
  • Create MVC projects and configure Program.cs for MVC applications.
  • Understand and customize middleware in .NET.
  • Implement filters, controller classes (ControllerBase), and various ActionResult types.
  • Build dynamic views using Razor syntax.
  • Customize layouts, handle routes, and manage form inputs.
  • Develop service layers with dependency injection.
  • Integrate data access using EF 8 and Dapper.
  • Implement logging, exception handling, session management, and security features.

 

Audience

  • ASP.NET developers seeking to upgrade to .NET 9 and MVC 8
  • Software engineers building enterprise web applications
  • Full-stack developers working with Microsoft technologies
  • Backend developers transitioning to MVC development
  • IT professionals managing .NET-based applications

 

Prerequisites

  • Basic knowledge of C# programming
  • Familiarity with HTML/CSS and basic web concepts
  • Experience with previous .NET versions (recommended but not required)
  • Understanding of relational databases (SQL Server, MySQL, etc.)

 

Course Content

 

DAY 1 — Understanding .NET 9 & MVC Foundations

 

Introduction to .NET Platform

 

  • Understanding the .NET 9 platform
  • Creating the MVC project
  • Understanding WebApplication & Services

 

Middleware & Filters

 

  • Understanding the middleware pipeline
  • Customizing middleware
  • Implementing filters

 

MVC Application Structure

 

  • Configuring Program.cs for MVC
  • Understanding the project directory structure

 

Controllers & Action Results

 

  • Creating Controllers using ControllerBase

 

  • Implementing ActionResult types:
    • ViewResult
    • PartialViewResult
    • ContentResult
    • EmptyResult
    • FileResult
    • JsonResult
    • JavaScriptResult
    • RedirectResult
    • RedirectToActionResult
    • HttpStatusCodeResult
    • HttpUnauthorizedResult
    • HttpNotFoundResult

 

Request & Form Handling

 

  • Request parameters & query strings
  • Path variables
  • Form handling fundamentals

 

DAY 2 — Views, Razor & UI/UX

 

Building Views

 

  • Understanding Views and Routes
  • Creating views using the MVC folder structure
  • Customizing views for dynamic UI

 

Razor & Front-End Development

 

  • Understanding Razor syntax
  • Creating forms using Razor
  • Customizing layout pages

 

Error Management

 

  • Exception handling in MVC applications

 

DAY 3 — Services, Data Access, Logging & Security

 

Service Layer Development

 

  • Understanding dependency injection in .NET 9
  • Creating services
  • Injecting services into controllers & other services

 

Data Access Layer

 

  • Integrating models using:
    • Entity Framework 8 (EF8)
    • ADO.NET with Dapper

 

Application Logging

 

  • Adding NLogger
  • Using logging utilities for diagnostics

 

State Management & Security

 

  • Adding session handling
  • Securing the web application

 

Inquire now

Best selling courses

We use cookies on our website to personalize your experience by storing your preferences and recognizing repeat visits. By clicking “Accept”, you agree to the use of all cookies. You can also select “Cookie Settings” to adjust your preferences and provide more specific consent. Cookie Policy