A friend of mine recently decided to reinvent himself as a .Net developer. Any programmer can pick up C# .Net pretty quickly. He works in an enterprise environment, and so I suggested he look into MVC and Entity Framework (EF), as they are Microsoft answer to the Rails stack. I prefer working with Rails, but the enterprise space is dominated by the MS stack, so learning MVC and EF is worthwhile.
I decided to through together video showing how easy it is to get something off the ground using MVC/EF. I hope you can learn something from the videos, but I think the most important thing to take away from these videos is a list of what can be done, for very little development cost, using MVC and EF.
The videos are of fairly poor quality. I spent hours trying to get Cam Studio to record half as well as QuickTime does on my Mac, and this was the best I could come up with, but if you view in full screen you should be able to view the text fairly easily.
Pause the video if necessary to read captions. Forgive the the meandering nature of the topics covered. Also the videos are of fairly poor quality. I spent hours trying to get Cam Studio to record half as well as QuickTime does on my Mac, and this was the best I could come up with, but if you view in full screen you should be able to view the text fairly easily. Vimeo provides an option to download the full size original file too, so maybe take advantage of this for even better quality.
I was doing this totally live, with no rehearsal (edit: actually edited out about 3 minutes from a total 1.75 hours of footage). In fact you will see a bunch of mistakes I make as well; I didn’t edit these out, as they are likely errors that new .Net Web App developers will run into. I wish more programming videos would leave the errors in, as a developer can learn a lot from them.
What should you have for a background? You should have some C#, as I don’t cover anything on C#, other than touching on Lamda/Linq, and MS-MVC special syntax used. The more you know about databases, the more you will get out of the video, but the only required knowledge is that you know what a relational database is.
The best way to view these videos is by using vimeo’s hubnut player here. Unfortunately the hubnut iframe does not work with this host, so I can’t embed the vimeo hubnut player. However, I can just embed the videos one by one.
Start by creating the DB here:
Build your application in 27 minutes:
Examples of slightly more advanced things you will want to do in your web app (Part 1):
And Part 2:
Enjoy!
note: When I say MVC, I mean the branded web framework owned by Microsoft, not the design pattern made famous by the Gang of Four, though MS’s MVC is loosely based on MVC.
edit: If you find the text quality poor on the embedded videos, just download the full video from vimeo.