ASP.NET MVC / Entity Framework

  • ASP.NET MVC / JQuery / Ajax / Entity Framework Introduction to ASP.NET MVC 4
     Overview
     The MVC Pattern model view controller
     New Project
     Project Types:
     Empty
     Internet Application
     Intranet Application
  • Web API Understanding Project Directory Structure in MVC
     Introduction to Controllers
     Introduction to Views
     Introduction to Models
     Intro to URL Routing in MVC 4 Introduction Intro to URL Routing in MVC 4
  • Introduction Controllers and Actions
     Role of controller and actions
     Creating Controllers and actions
     Parameters and return type in Actions
     Parameters with constraints and defaults
  • Controller and Action filters Authentication & Authorization
     Simple membership
     OpenId and OAuth
     Cross site request forgery Razor Views
     Creating A Simple Razor View
     Intermingling Code and Markup
     The View Bag / View Data
     Code Expressions
     Code Blocks
     Integrating CSS in Razor Views
     Integrating Javascript in Razor
     Integrating jQuery in Razor Views
     Integrating jQuery UI in Razor
    Views
     Partial Views
     Html.RenderPartial
     Html.RenderAction
     Layout Views
     HTML Helpers
     Layout Views with Sections
     _ViewStart
     HTML Forms in Razor Views
     Request.Form and FormCollection
     Html.ActionLink and Url.Action
    jQyuery AJAX
     Need of jQuery-AJAX in ASP.NET
     MVC
     Demos on jQuery-AJAX in MVC
     jQuery-AJAX with jSON
     jQuery-AJAX for seriliaze
     return PartialView()
    HTML Helpers
    Introduction to HTML Helpers
     Html.BeginForm
     Html.TextBox
     Html.TextArea
     Html.Label
     Html.DropDownList
     Html.Password
     Html.RadioButton
     Html.CheckBox
     Html.ListBox
     Html.DropDownList
     Strongly Typed HTML Helpers
     ViewModels
    Data Validations
     Required Validation
     Range Validation
     RegularExpression Validation
     StringLength Validation
     Compare Validation
     Remote Validation
     Html.ValidationMessage
     Html.ValidationSummary
     Validations with Databases (in
     Combination with EDMX files)
    Data Annotations
     Display annotation
     Datatype annotation
     ScaffoldColumn annotation
     DisplayFormat annotation
     ReadOnly annotation
    Scaffold Templates
     Need of Scaffold Templates
     List
     Create
     Edit
     Details
     Delete Web API in MVC 4
     Introduction to Web API
     Demos on Web API
     Implementing GET, PUT,POST, DELETE
    Entity Framework Entity Framework Introduction Providers
     Features
     Data model
     Design tools
     Relationships
     Context
     Datasets
     API Modifying data
     The dbcontext
     Inserting
     Deleting
     Changing
  • Code First Approach

Write plain old classes to mimic real world objects and generating DB tables from classes

  • Database First Approach

Code generation(classes), from existing DB, use them in MVC, add, update, delete DB records from .NET code

  • Model First Approach

 Creating a conceptual model using edmx file and generating DB and add,update,delete DB records

  • Data Annotations