Scaffolding – ASP.NET, NuGet, Entity Framework Code First and More
- Date: April 13, 2011 from 3:30PM to 4:30PM
- Day 2
- FRM13
- Speakers: Steve Sanderson
- 56,671 Views
- 7 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
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.
Already have a Channel 9 account? Please sign in
Follow the Discussion
Well Done Steve!
Useless ... Where is te High Quality video ? This is for stamp size screen :(
Great presentation, Steve! Thanks
Great presentation, covered a huge amount in such a short time, I wonder if everyone understood you when you talk so quickly.
Gregor
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?
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!
Dear Steve Sanderson,
where can I get the demo's code please?
Thanks
Regards
D.
Remove this comment
Remove this thread
close