Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

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

Download

Right click “Save as…”

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.

Tags:

Follow the Discussion

  • 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!

  • Kyle BanashekKyle 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!).

  • 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.

    Thanks.

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

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

  • Jacob HandayaJacob Handaya

    Will it support for windows phone development ?

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

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.