Web Application Development with ASP.NET MVC

300 views

Published on

Web Application Development with ASP.NET MVC

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
300
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Web Application Development with ASP.NET MVC

  1. 1. Web Application Development with ASP.NET MVC 3
  2. 2. Introduction 1. Architecture 1. Models model things 2. Controllers are the orchestrator 3. Views shows stuff 2. Testability 1. Test Driven Development Capable 2. Test your Models and Controllers 3. Views are more difficult to test 3. RESTful Routing
  3. 3. Architecture
  4. 4. Testability 1. I <3 NUnit 2. I <3 Red Green ReFactor 3. Steps 1. Arrange 2. Act 3. Assert 4. Mocking & Stubbing is cool too!
  5. 5. RESTful Routing 1. Yuck! GET http://hello.com/world.aspx?id=10 2. Pretty! GET http://hello.com/world/details/10 3. Use HTTP Methods to determine request semantics 1. Create = POST 2. Read = GET 3. Update = PUT 4. Delete = DELETE
  6. 6. Code Enough of the boring slide show, let's get to the coding of the contrived blog web application!

×