ASP.NET MVC Course

 

ASP.NET MVC Course Overview

The training program aims to impart to the participants, detailed understanding of ASP.NET MVC. The course begins with exploring ASP.NET MVC and gradually proceeds into the details. It covers understanding the MVC design pattern and its application in ASP.NET MVC, developing powerful controllers and building a compelling and maintainable HTML user interface using the Razor view engine and client-side JavaScript.

It proceeds with designing ASP.NET MVC Web Applications, developing ASP.NET MVC Models, Controllers and Views, Testing and Debugging ASP.NET MVC Web Applications followed by structuring of ASP.NET MVC Web Applications and applying styles to these applications. The course also covers addition of AJAX and jQuery capabilities to an ASP.NET MVC application.

ASP.NET MVC is a server-side web framework for building dynamic, data-driven web applications.

Developers with no knowledge of ASP.NET MVC who want to build web apps with this framework

Basic familiarity with web development HTML, CSS .You should have experience in programming.

After completion of course you will get jobs as system analyst, developer, and programmer in the companies like Infosys, Samsung, oracle, Husys and more.

The concepts covered in the course are introduction to ASP.NET MVC, MVC Architecture, Controllers, URL Routing, Views (Razor), Layout Views, Partial Views, Model views, Entity Framework in MVC, Scaffold Templates in MVC, HTML Helpers and more.

ASP.NET MVC Course Syllabus

Introduction to ASP.NET MVC

  • Introduction to MVC
  • NET Web Forms (vs) ASP.NET MVC
  • Advantages and disadvantages of each
  • Determining when-to-use which one
  • List of Versions of ASP.NET MVC
  • Differences between versions of ASP.NET MVC
  • Overview of installing ASP.NET MVC in various versions of Visual Studio

MVC Architecture

  • What is MVC?
  • Architecture Explanation
  • What is Controller and action method
  • What is View
  • What is Model
  • Request Flow in ASP.NET MVC
  • Getting started with MVC Core
  • New Project in Visual Studio
  • Overview of Folders and files of MVC project

Controllers

  • Introduction to Controllers
  • Creating Controllers and Actions
  • Calling action methods thru the browser
  • Returning from action methods
  • Parameters in Action methods
  • ActionLink

URL Routing

  • Overview
  • The need of URL Routing
  • Parameters in URL
  • Default Parameter Values
  • Parameters with Constraints
  • Literals in URL

Views (Razor)

  • Introduction to Views (Razor)
  • ActionResult and ViewResult
  • Returning a view
  • Creating a Simple Razor View
  • Intermingling Code and Markup in Razor Views
  • View Bag / View Data / Temp Data
  • Shared Views
  • ASPX View Engine (vs) Razor

LayoutViews

  • Introduction to LayoutViews
  • The need of layout views
  • cshtml
  • Creating custom layout views
  • Layout Views with Sections
  • RenderSection()
  • Cshtml
  • Overriding the ViewStart.cshtml

Partial Views

  • Partial Views
  • RenderPartial()

Models

  • Introduction to Models
  • Need of models
  • Creating models using ‘CodeFirst approach’

Entity Framework in MVC

  • Introduction to Entity Framework
  • Need of Entity Framework
  • Creating DbContext and DbSet
  • Configuring connection string

Scaffold Templates in MVC

  • Introduction to scaffold Templates in MVC
  • Need of Scaffolding
  • Creating controllers and views using scaffold
  • Strongly typed views
  • Understanding Index, Details, Create, Edit, Delete action methods and views

HTML Helpers

  • Introduction to HTML helpers
  • DisplayNameFor( )
  • DisplayFor( )
  • BeginForm( )
  • LabelFor()
  • EditorFor( )
  • ValidationMessageFor( )
  • RadioButtonFor( )
  • DropDownListFor( )
  • ListBoxFor( )
  • CheckBoxFor( )
  • AntiForgeryToken()
  • Code First Migrations

Action Filters

  • Introduction to action filters
  • [HttpPost]
  • [HttpGet]
  • [ValidateAntiForgeryToken]
  • [OutputCache]
  • [HandleError]
  • [NonAction]
  • [ActionName]

Bundles and Minification

  • Introduction to Bundles and minification
  • Understanding BundleConfig.cs
  • ScriptBundle (vs) StyleBundle
  • Importing a ScriptBundle and StyleBundle
  • Creating and consuming custom bundles

Validations

  • Introduction to Validations
  • Model level validations (vs) View level validations
  • Importing jQuery Validation Plug in
  • [Required]
  • [RegularExpression]
  • [Range]
  • [StringLength]
  • [Compare]
  • [Remote]
  • IsValid

Data Annotations

  • [Display]
  • [Datatype]
  • [DisplayFormat]
  • [ScaffoldColumn]