Asp.Net MVC With Entity Framework From Scratch

Latest approach of web application development
4.1 (238 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
4,843 students enrolled
$19
$100
81% off
Take This Course
  • Lectures 77
  • Length 10 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2014 English

Course Description

********* Updated on June 2015 *********

FEW REVIEWS

  • Bijle Tarannum OUTSTANDING TEACHING GREAT TEACHING. MASTER IN DELIVERING KNOWLEDGE PRACTICALLY . IN TUNE WITH INDUSTRY. THANKS A LOT SIR.

  • Nawaz Ahmed Best Course for Entity Framework with MVC Well Organized Contents and Topics, Talks more on Real world Implementation and business scenarios, Clear Voice Collecting all above points make this course a best one to attend Thanks manzoor sir for this video and adding more confident in me..
  • Antonio Marques Taltavul Good and Clear Thanks for the course, simple and to the point explication at every lesson. Great work!!!!
  • Barlet Hamzai Great Course Great course and easy to follow. This course taught me how to use Entity Framework with both WebForms and MVC.
  • Saujan Simple But Effective! Straight to the point, not like other instructor who spend 15 minutes to explain 4 lines of useless code, outstanding will join his asp .net MVC web.
  • Software Developer Zaheer Husain this is very helpfull for learning asp .net mvc this is very helpfull for learning asp .net mvc

Entity Framework is a latest approach for data access and this course contains all the stuff required to start with AdoNet Entity Framework. As there are two ways of working with entity framework i.e., ObjectContext and DbContext. As a start this course contains all the stuff with ObjectContext and it covers all the areas that a normal developer needs to know to work on any project with entity framework as data access layer.

It ranges from basic operations like insert,update,delete and select to advanced operations like transactions and optimization technique (lazy loading, eager loading, etc.,).

ASP .NET MVC is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP .NET and the .NET Framework.

In this course I will give an introduction to ASP .NET MVC from a beginner's perspective. Then starts moving towards the understanding of Get and Post method, Binding A Form To An Action, various methods of Passing Values From View To Action, Introduction To Razor View Engine, ViewData Vs ViewBag and Temp data. Implement partial page updates that help reduce the need to reload entire pages and Finally Implement caching to reduce the loading time of the different elements of a webpage.

We will also learn how to validate forms and implement business rules validations by implementing custom validators. Then we will end our course by securing it with implementation of authentication and authorization.

And many more lectures to come in future...

What are the requirements?

  • VS2013 or any higher version.
  • SQL Server Management Studio 2012 or any higher version

What am I going to get from this course?

  • Understand the core concepts of Entity Framework
  • Start working with Entity Framework as your data access layer
  • Handle all real time scenarios when working with Entity Framework
  • Understand the basics of Asp.Net MVC
  • Make a real, production ready, web application
  • By the end of this course you will be in a position to build any web application usinf Asp.Net MVC and Entity Framework

What is the target audience?

  • Any experienced developer who has extensively worked on Asp.Net web forms application
  • Fresher graduates with solid understanding of Asp.Net Web forms, C# OOPs, Ado.Net DataReader or Datasets and MS SQL server query writing

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction To Entity Framework and EDM [EF4 - EF5]
Creating an Entity Data Model
Preview
11:41
Exploring Entity Data Model
Preview
05:26
Learning Entity Framework 5 [This lecture not applicable to EF6]
Preview
02:00
Section 2: Querying the EDM - Basic
Performing an Insert Operation
Preview
06:42
Performing a Select Operation
Preview
03:43
Performing a Search Operation
Preview
05:31
Performing an Update Operation
Preview
05:25
Performing a Delete Operation
Preview
02:05
Section 3: Working With Stored Procedures
Working With Stored Procedures-I
06:33
Working With Stored Procedures-II
04:15
Working With Stored Procedures-III
07:26
Section 4: Querying the EDM - Advance
Immediate Mode Vs Differed Mode
05:24
Working With Transactions in Entity Framework
10:06
Working With Navigation Properties in Entity Framework
06:48
Lazy Loading in Entity Framework
17:48
Magic with Entity Framework :-)
06:34
Section 5: Source Code For Entity Framework
Source Code
Article
Section 6: Advanced Entity Framework - DbContext [EF6]
12:19

<#@ template debug="false" hostspecific="false" language="C#" #>

<#@ assembly name="System.Core" #>

<#@ import namespace="System.Linq" #>

<#@ import namespace="System.Text" #>

<#@ import namespace="System.Collections.Generic" #>

<#@ output extension=".cs" #>

public class MyClass

{

<# for(int i=1;i<=10;i++)

{#>

public int P<#= i#> { get; set; }

<# }#>

}

<# string[] s={"Sid","SName","Age"}; #>

class Student

{

<# foreach(var item in s)

{#>

public string <#= item#> {get;set;}

<# }#>

}

<# string[] s2= System.IO.File.ReadAllLines(@"F:\MyData.txt"); #>

class NewStudent

{

<# foreach(var item in s2)

{#>

public string <#= item#> {get;set;}

<# }#>

}

// input(.txt) => .tt => .cs

// input(.edmx) => .tt => .cs

DbContext Vs ObjectContext
15:48
Performing CRUD Operations - I
09:39
Performing CRUD Operations - II
08:33
7 pages

Introduction: Basically you can write LINQ queries using method syntax (some time called as Lambda Expressions) and query syntax. So, here I have tried to gather 36 T-Sql queries along with their equivalent LINQ queries in both method and query syntax.

Scenario: Let us consider a scenario where we have two tables in Sql Server database MyOrg i.e., tbl_Dept and tbl_Emp and say we have generated an entity data model with these two tables as MyOrg.edmx as shown below and we have created dev as an object of MyOrgEntities context object i.e.,

Section 7: Advanced Operations
DbSet.AddRange/RemoveRange
05:04
Entity Splitting
07:24
Table Splitting
05:50
Insert, Update and Delete Function Mapping to Stored Procedures
03:50
Stored Procedures with Multiple Result Sets
08:42
Understanding Multi-User Scenarios
Preview
05:49
Handling Multi-User Scenarios
09:10
Section 8: Performance Optimization
Entity Framework Life Cycle And Generating Mapping Views
08:03
NoTracking Queries
06:24
Async Query Execution
05:13
Section 9: Data Access Dll
Moving your model to a separate assembly
05:23
Working with Repository Pattern
07:44
Working with Generic Repository Pattern
06:14
Advanced Entity Framework Source Code
Article
Ado.Net Entity Framework
10 questions
Entity Framework Assignment - Task Management System
2 pages
Section 10: Introduction to Asp.Net MVC
Introduction To Controller And Action
Preview
18:29
Introduction To View
Preview
09:05
Get Vs Post
Preview
13:02
Section 11: Working With Data In Asp.Net
Binding A Form To An Action
Preview
09:33
View To Action - Parameterized Method
Preview
11:09
View To Action - Context Object for Get Method
04:33
View To Action Context - Object For Post Method
04:23
Section 12: First Look At Razor View Engine
Introduction To Razor View Engine
11:43
Form Redesign Using HTML Helper Classes
13:13
List Controls - HTML Helper Classes
05:26
Section 13: State Management In Asp.Net MVC & Layouts
ViewData Vs ViewBag
13:12
ViewData Vs ViewBag In Depth
07:37
Creating A Simple GridView In MVC
05:04
TempData In MVC
18:14
Life Cycle Of TempData In MVC
08:48
Layout Or Master Pages In MVC
06:34
Section 14: Introduction To Models
Models In MVC
12:05
Master Details Screen
06:08
Creating List And Details
07:55
Performing Edit In MVC
06:19
Performing Delete And Insert In MVC
05:35
ASP.NET MVC Entity Framework Scaffolding
07:41
Section 15: Validations In Asp.Net MVC
Form Validation - I
11:48
Form Validation - I I
12:05
Form Validation With EDMs
09:40
Creating Custom Validators
08:29
Section 16: Authentication and Authorization In Asp.Net MVC
Introduction to Authentication And Authorization & Bootstrap
13:59
Implementing Authentication - I
13:00
Implementing Authentication - II
07:02
Implementing Autherization
11:54
MVC Source Code
Article
Section 17: Advanced Asp.Net MVC - Ajax Action Link In MVC
Ajax Action Link
Preview
11:09
Partial Views
04:20
Ajax Action Link In RealTime
10:36
Ajax Action Link To Create Form
04:36
Ajax Action Link Source Code
Article
Section 18: Advanced Asp.Net MVC - Ajax Forms In MVC
Ajax Forms
05:53
Introduction To JSON
07:08
JSON Data Incoming
09:55
JSON Data Outgoing
08:29

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Microsoft Certified Trainer Mohammed Manzoor Ahmed, Udemy Best Seller, Students:36K+, Courses:10, Reviews:1.4k+

Manzoor is a Microsoft Certified Trainer who has been working on MS .Net technologies for more than a decade. Apart from development he is also passionate about delivering training on various MS .Net technologies and he has 10+ years of experience as a software development teacher. He writes articles for code-project as well. His YouTube channel has 1 million hits. He is the founder of ManzoorTheTrainer portal.

"I focus on simplifying, complex concepts..." - ManzoorTheTrainer

Ready to start learning?
Take This Course