Rowan Miller Demonstrates Entity Framework 5 Using ASP.NET MVC 4

Play Rowan Miller Demonstrates Entity Framework 5 Using ASP.NET MVC 4
Sign in to queue


In this episode, Rowan Miller shows you how to get started using his team's latest release, Entity Framework 5. Using a new ASP.NET MVC 4 project, he creates a database using code, then scaffolds an ASP.NET MVC 4 web site to enter and view data from the database. Using the new Migrations features of EF, he then adds some setup and teardown logic and changes the schema. Near the end, the new spatial data features of EF5 are used to demonstrate a geographical search feature, wherein he sorts a series of records in the database according to their proximity to his office. These new spatial features alone make this an exciting episode. Come check out EF5 and see how to use it in your ASP.NET MVC 4 applications today.



Download this episode

The Discussion

  • User profile image

    This was a fantastic introduction to EF5.  Glad to see Migrations as that is exactly what was missing for us to use Code First EF in our project.  Enums finally!! Smiley


    Thanks Rowan and team!

  • User profile image
    Kyle Banashek

    Really impressed with the geoSpatial capabilities of EF5...that's a REALLY helpful functional offering that otherwise requires 3rd party libraries or TSQL coding(NO!).

  • User profile image

    Fantastic! Great new capabilities!

    But... what about help ? 'Get-Help EntityFramework' command is not working in VS2012. Am I missing something?
    Package Manager Console says:

    PM> Get-Help EntityFramework
    get-help : Get-Help could not find EntityFramework in a help file in this session. To download updated help topics type: "Update-Help". To get help online, ...


    I am using EF 4.3.1.


  • User profile image

    @jlfaa:The help topic was added in EF 5.0.0-beta2

  • User profile image

    how do you view the console in vs 2010 to get ef5?

  • User profile image
    Jacob Handaya

    Will it support for windows phone development ?

  • User profile image

    Does anybody know if that "OUTPUT" value decimal bug got fixed where the decimal value is rounded to be an integer?

Add Your 2 Cents