Saturday, April 23, 2011

Learning MVC for the Web Forms Developer - Code + Slides

Download code and slides here

Note the file is ~25MB because of the size of the embedded databases. Unzipped around 60MB or so for all of the projects (again mostly because of the databases)

Let me know if you have any problems setting it up. The first couple slides contain some notes on the projects.

Thanks for attending!!!

I realize it was a _ton_ of information to throw at you. This could easily have been turned into a 4+ hour talk but there's a reason I put all of that in this talk. If you are new to MVC it makes it even more difficult, but I feel these are all areas important to getting up and running effectively on MVC. Where to start if you are new? Create a new mvc 3 project. Now go through the slides and create each item. Create a route. Create a model, a controller, a view. Then save data using the PRG pattern. Then try to load some data into a div via an ajax call or even just an ajax form using @Ajax.BeginForm. This will get you off to a nice start - just let me know if you have any questions - I'll try to steer you in the right direction : )

5 comments:

  1. Nice presentation Adam, you did a good job, I learned several new tricks. It was nice to meet you in person.

    ReplyDelete
  2. Great post Adam. It works like a charm on my machine. Just one thing, admin password for viewing Customers page is adminadmin and not admin admin (with a space). Thought it could save some time for others.
    Thanks a lot.

    ReplyDelete
  3. Please someone help me to understand, why MVC????
    We are going backwards! no separation of Server and client codes like in Web Forms, and no Design time support, no controls!
    Just foo TESTING? If we have written properly the logic in sepearate projects and just call it from the code behind, it was easy to test!

    ReplyDelete
  4. unable to download .Zip.Please suggest me something

    ReplyDelete
  5. I recommend that you pick the best Forex broker - AvaTrade.

    ReplyDelete