© 2016

ASP.NET MVC with Entity Framework and CSS


Table of contents

  1. Front Matter
    Pages i-xxv
  2. Lee Naylor
    Pages 1-12
  3. Lee Naylor
    Pages 59-82
  4. Lee Naylor
    Pages 83-105
  5. Lee Naylor
    Pages 285-332
  6. Lee Naylor
    Pages 333-370
  7. Lee Naylor
    Pages 441-465
  8. Lee Naylor
    Pages 467-484
  9. Lee Naylor
    Pages 485-499
  10. Lee Naylor
    Pages 501-536
  11. Lee Naylor
    Pages 537-559
  12. Back Matter
    Pages 603-608

About this book


Get up and running quickly with Microsoft ASP.NET MVC and Entity Framework as you build and deploy complex web sites. By using a fully working example retail web site you will learn solutions to real-world issues that developers frequently encounter.

Whether you are a novice developer or an experienced .NET developer wishing to learn more about MVC and Entity Framework, author Lee Naylor will teach you how to develop a detailed database-driven example web site using Microsoft ASP.NET and Entity Framework Code First with fully explained code examples including:

  • Filtering and searching related data using Linq
  • Using Code First migrations to automatically update the database plus seeding data from code
  • How to use Visual Studio Scaffolding views and controllers
  • Managing CRUD operations, including model binding as recommended by Microsoft and correctly dealing with cascading deletions
  • Input and data validation using attributes
  • Sorting and paging through data and routing for friendly URL formats
  • Authorization and authentication using Microsoft Identity v2 by making use of Microsoft example code, including the correct use of redirection after login and registration
  • Advanced techniques, including managing data concurrency conflicts and using two database contexts
  • Asynchronous database access and paging
  • Azure deployment using Code First migrations, remote debugging, and viewing/editing your remote data
  • CSS styling, including animation and media queries for use with tablet or mobile/cell phone devices


ASP.NET MVC Entity Framework Visual Studio CSS Microsoft

Authors and affiliations

  1. 1.Newton-le-WillowsUnited Kingdom

About the authors

Lee Naylor has 15 years experience as a software engineer with experience in Finance (Banking and Accounting), Retail, Automotive and Gaming/Gambling. His current areas of expertise are ASP.NET MVC, Entity Framework, Front End Development with CSS, JavaScript and JQuery. In the past he has worked with several technologies, including Classic ASP, VB, Access, Java, Oracle, Unix and search engine software such as Google Search Appliances and Autonomy/Verity. He is also experienced in Project and Team Management, mentoring/teaching others and understand all aspects of Software Projects from proposals and budgeting through analysis, estimations, planning, development, testing, UAT, and release management.

Bibliographic information