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

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

58 minutes, 18 seconds


Right click “Save as…”

Slides (view online)

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:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • Well Done Steve!

  • DanDan

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

  • Great presentation, Steve! Thanks

  • Gregor SuttieGregor Suttie

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


  • NickSNickS

    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?

  • Bill44077Bill44077

    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!

  • DavidDavid

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



Remove this comment

Remove this thread


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.