4.9 out of 5
5 reviews on Udemy

STEP BY STEP .NET MVC 5 with EF,WebApi, Generic Repo & DI

STEP BY STEP .NET MVC 5 WITH EF 6, WebApi, Generic Repository Pattern & DI Container
Yogesh P
11 students enrolled
English [Auto-generated]
MVC Architecture,Routing and Razor Engine
Data Management Techniques-ViewData,ViewBag,TempData and Session
Entity Framework 6 and HTML helpers
CRUD base operation using Entity Framework 6-Database First approach.
Validation at Server side and Client side using Data Annotation and Jquery.
Layout,Section,Render Page,Partial Page,Layout Render techniques using ViewStart file
Performance Topics- Bundling ,Minification and Caching techniques.
Security -Cross Site Scripting Attack and it Prevention
MVC Filters in detail and MVC Pipeline
Dependency Injection and Unity Container
Design Pattern-Repository and Generic Repository.
Unit Testing using MSTest and Build and Deploy MVC using IIS7
REST API aka .Net WebApi 2 and Communication of MVC and Web Api

.NET is a technology and in that it allows us to create a web base application using ASP.NET.

ASP.NET uses MVC stands for Model-View-Controller design pattern which create the web application by separating controllers (handling requests and mapping to business logic), models (implementing business logic), and views (presenting and formatting output), it’s easier to change code in each of these layers.

Yogesh started to take the .Net batches in 2008 and got very popular because of his teaching style, very simple explanation of complex topics and very good hold on .Net technology.Shortly he started corporate and online training and more than 10000+ students got the benefit in their programming career.He is not only doing the .Net training but as a full time he is also working as Senior Solution Architect in leading IT company in United State.

Many tutor only talks about the MVC fundamentals but they completely ignore the design patterns and Dependency Injection or communication with WebApi which is must for every MVC application.

He is having the advantage of doing the day to day development and involved into the architecture design of MVC application so that course is touching every part of MVC architecture.

In 6:10 hours of video series you will learn all the MVC fundamentals,REST and common design patterns which is the must part of each real world base application.

Each video comprise with following points

  • What are the topics going to cover

  • Explanation of the concept/requirement/what is the output to achieve

  • Explain the code snippet in step-wise manner

  • Start the practical

  • Debug the code for more explanation

  • What topic got cover

He always keep the demo lecture before any student join his batch. Here also you can watch first two section of the course as well as Dependency Injection fundamental lectures to decide to enroll into course or not.

By the end of watching this course, you’ll be able to learn,

  • Architecture of MVC,Routing Mechanism,Razor Engine

  • Data Management techniques

  • HTML helpers.

  • CRUD base operation using Entity Framework 6 Database First approach.

  • ModelBinder , Custom ModelBinder and Scaffolding.

  • Validation at Server side and Client side using Data Annotation and Jquery.

  • Layout,Section,Render Page,Partial Page,Layout Render techniques using ViewStart file

  • Improve performance using Bundling ,Minification

  • Caching techniques.

  • Cross Site Scripting attack and it Prevention

  • MVC Filters

  • Custom Authentication,Custom Authorization,Custom Action and Custom Exception Filter

  • MVC Pipeline

  • Dependency Inversion Principle(DIP),Dependency Injection(DI),Inversion Of Control(IoC),Unity Container.

  • Custom Controller Factory to implement Dependency Injection in MVC

  • Repository pattern

  • Generic Repository pattern

  • MS Test project to write Unit Test

  • Build and Deploy MVC using IIS7

  • REST API i.e ASP.Net WebApi-2

  • How MVC application communicate with Web Api.

Lets follow this pattern to become technically sound

  1. Don’t try to build the application or project immediately after watching several videos.

  2. Dont jump to random lecture, go in sequence manner

  3. Each lecture clear your concept and immediately practice after each lecture without fail.

  4. Repeat step 3 if you are unclear with the lecture or email me on codingfactory1@gmail.com for more clarification.

  5. Try to make short notes of the lecture which is really handy while time of interview or quick reference after several year

  6. Once you know each data points of MVC and Patterns then start to build any sample application in that you apply your knowledge.

    This is the best approach to learn any technology. Believe me my students are not only clear the interview but they cracked it.

There is difference between being interested and committed.

When you interested you do it when its easy

When you committed yo do it no matter what

So DONT wait and join the course and be the technically sound in .NET MVC

“Dont be bookish be practical”

MVC Introduction and Routing

Lecture 1-MVC Introduction
  • This lecture explains key players in MVC i.e Model, View and Controller

  • Difference between ASP.Net web form and ASP.Net MVC

  • MVC Project structure

Lecture 2-Routing Mechanism
  • ​​This lecture explains how to create controller and view

  • Communication between controller and view

  • Routing mechanism flow​

Lecture 3-Razor Engine
  • This lecture explains Razor engine and its syntax.

  • It is also highlighted difference between razor and aspx engine.

Data Management Technique and Model Layer

Lecture 4-DataManagement-ViewData and ViewBag
  • This lecture is explains Data Management techniques in MVC like ViewBag, ViewData
  • Difference between ViewBag and ViewData
Lecture 5-Data Management-TempData and Session
  • This lecture is explains Data Management techniques in MVC like TempData, Session

Lecture 6-Scope of ViewData, ViewBag, TempData and Session
  • This lecture explains the scope of ViewData , ViewBag, TempData and Session 
Lecture 7-Model and Strongly type View
  • This lecture explains how to create Model class
  • Communication between Controller and Model
  • Create Strongly type View

MVC Helpers and Entity Framework

Lecture 8-Helpers Part1 Standard type
  • This lecture explains the Html Helpers
  • Why Helpers used in MVC
  • Example of standard html helpers
Lecture 9-Helpers Part2 Strongly type
  • This lecture explains Strongly type html helpers and its example
Lecture 10-Introduction to Entity Framework 6
  • This lecture explains Entity Framework,

  • Why we require Entity Framework

  • What are the advantages and their types​

Lecture 11-Data Retrieval using Entity Framework
  • This lecture explains retrieve data from database using Entity Framework and bind it to html table
Lecture 12-Master-Detail using ActionLink and Entity Framework
  • This lectures explain how to add Master-Detail relation using Entity Framework

  • It also explains Navigation Properties in Edmx file

Lecture 13-Generating DropDownBox using Entity Framework
  • This lecture explains How to generate DropDownBox using Hard-code data
  • Generate DropDownBox using Database and Entity Framework
Lecture 14-Generating RadioButtonList using Entity Framework and HttpPost method
  • Generate RadioButtonList using EntHardCode data

  • Generate RadioButtonList using Entity Framework

  • Submit data using HttpPost method

CRUD Using Entity Framework

Lecture 15-create "Create View" to update data using Entity Framework
  • This lecture explains create "Create View" to update data using Entity Framework

Lecture 16-Capture Form data using Formcollection
  • This lecture explains to capture the form data using Form-collection class

Lecture 17-Capture Form data using ModelBinder
  • This lecture explains to capture the Form data using ModelBinder

Lecture 18-Capture Form data using UpdateModel
  • This lecture explains capture the form data using UpdateModel class

Lecture 19-Create Edit View to Update data using Entity Framework
  • This lecture explains create Edit view to update data using Entity Framework

Lecture 20-Updating data in Database using Entity Framework
  • This lecture explains updating data in database using Entity Framework
Lecture 21-Delete data using Entity framework
  • This lecture explains deleting data in database using Entity Framework

Lecture 22-Implement Custom ModelBinder to capture form data
Lecture 23-CRUD using Entity Framework and Scaffolding
  • This lecture explains CRUD base operation using Entity Framework and  scaffolding

Validation using Data Annotation and JQuery

Lecture 24-Validation Part 1 Server Side-using data annotation
  • ​This lecture explains validation at server side using Data Annotation

Lecture 25-Validation Part 2 Server Side-Implement Metadata to solve EF Problem
  • This lecture explains Implement Metadata to solve Entity Framework Problem in validation
Lecture 26-Validation Part 3 Client Side using jquery and data annotation
  • This lecture explains validation at client side using Data Annotation and JQuery

Layout and Area

Lecture 27-Layout
  • This lecture explains how to create Layout and its important method
Lecture 28-Render Section and Render Page
  • This lecture explains section and RenderSection method
  • It covers RenderPage method
  • Difference between RenderSection and RenderPage
Lecture 29-Different Render techniques to use ViewStart file
  • This lecture explains what are the different techniques to refer ViewStart file
Lecture 30-Partial View
  • This lecture explains how to create partial view
  • Advantages of partial view
Lecture 31-Area
  • create different business wise modules using Area

Caching and Bundling

Lecture 32-MVC Caching Part 1
  • This lecture explains advantages of caching
  • Page caching implementation
Lecture 33-MVC Caching Part 2
  • This lecture explains Partial Page caching implementation
  • Data caching
Lecture 34-Bundling and Minification
  • This lecture explains Bundling and Minification
  • How to implement bundling to improve performance


Lecture 35-MVC Security -Cross Site Scripting Attack and Prevention
  • This lecture explains what is Cross Site Scripting attack
  • How to restrict this attack 

MVC Filters

Lecture 36 -MVC Filter Part-1 Introduction
  • This lecture explains advantages of filters in MVC
  • It gives you basic idea of Authentication,Authorisation,Action,Result and Exception filter
Lecture 37-MVC Filter Part-2 Custom Authentication Filter
  • This lecture explains default Authentication filters behaviour
  • It also implement custom Authentication filter
Lecture 38-MVC Filter Part-3 Custom Authorization Filter
  • This lecture explains default Authorisation filters behaviour
  • It also implement custom Authorisation filter
Lecture 39-MVC Filter Part-4 Custom Action Filter
  • This lecture explains default Action  filters behavior

  • It also implement custom Action filter

Lecture 40-MVC Filter Part-5 Custom Exception Filter
  • This lecture explains default Exception filters behavior

  • It also implement custom Exception filter

Lecture 41-MVC Pipeline
  • This lecture explains MVC pipeline in detail

Dependency Injection

Lecture 42-Dependency Injection-Part-1-DIP and Inversion Of Control
  • This lecture explains what is Dependency Inversion Principle[DIP] 
  • Role of Inversion Of Control[IoC]
  • What is Dependency Injection[DI]
  • Tightly couple architecture
  • Loosely couple architecture via [DI]

Lecture 43-Dependency Injection-Part-2-DI and IoC Container
  • This lecture explains what is IoC Container 
Lecture 44- Dependency Injection-Part-3-IoC Container-Unity
  • This lecture explains how to implement IoC container i.e Unity in .Net
Lecture 45- Dependency Injection-Part-4-Custom Controller Factory
  • This lecture explains how to create custom controller factory to create controller class which get use to implement Dependency Injection in MVC
Lecture 46 - Dependency Injection-Part-5-Implement Unity In MVC
  • This lecture explains how to implement Dependency Injection using Unity Container in MVC

Repository and Generic Repository Pattern

Lecture 47- Repository Pattern
  • This lecture explain what is Repository Pattern
  • Implement Repository Pattern in MVC Application
Lecture 48 Part-1-Implement Generic Repository Pattern
Lecture 48 Part-2-Implement Generic Repository Pattern
  • Why Generic Repository require

  • Implement Generic Repository in MVC

Test Driven Application and Deployment

Lecture 49-Unit Testing using MSTest Project
Lecture 50 - Deployment and IIS 7
  • Build and deploy MVC Application on IIS7

REST and Web Api

Lecture 51 - Introduction to REST
  • Create first Web Api application

Lecture 52 -Create first WebApi Project and its Architecture
  • Communication between MVC and WebApi

Source Code

Source Code


You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.9 out of 5
5 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


6 hours on-demand video
2 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion