Scaffolding – ASP.NET, NuGet, Entity Framework Code First and More

Sign in to queue

Description

Steve Sanderson comes all the way from England to share the new MvcScaffolding package, now built into ASP.NET MVC 3. What was once a crazy dream on stage at PDC is now open source and baked into the product. We’ll scaffolded out a basic CRUD site using the release of Entity Framework Code First, then quickly move beyond the basics and extend scaffolding itself with additional custom packages that you can make yourself! Advanced EF scaffolding! Why not WebForms Scaffolding or Knockout Scaffolding? The skies the limit as Steve pushes NuGet and PowerShell to the max.

For more information, check out these courses on Microsoft Virtual Academy:

Tags:

ASP.NET, MVC

Day:

2

Level:

300

Code:

FRM13

Embed

Download

Download this episode

For more information, check out these courses on Microsoft Virtual Academy:

The Discussion

  • User profile image
    Lanterna​Verde72

    Well Done Steve!

  • User profile image
    Dan

    Useless ... Where is te High Quality video ? This is for stamp size screen :(

  • User profile image
    Fr3gU

    Great presentation, Steve! Thanks

  • User profile image
    Gregor Suttie

    Great presentation, covered a huge amount in such a short time, I wonder if everyone understood you when you talk so quickly.

    Gregor

  • User profile image
    NickS

    Around the 18:50 mark in the video, you demonstrate how you modify the model to use property names that don't follow the convention that MVC Scaffolding expects. The example that's given is changing AthleteId to CompetitorUniqueRef. You decorate the property with the [Key] attribute in order to tell MVC Scaffolding what the primary key should be.

    How would you specify a composite key? For example, for an Event model, how would you specify a composite key of EventName, EventType, and EventTime?

  • User profile image
    Bill44077

    Hey Steve,

    GREAT presentation and excellent infomation. Wow - I can't even believe how fast you can talk, and type - Wow! I think you packed about 2 hours of info in this session! :)
    This is such good stuff! Thanks for the scaffolding!

  • User profile image
    David

    Dear Steve Sanderson,
    where can I get the demo's code please?

    Thanks
    Regards

    D.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.