Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Test-firstFunctional-firstWeb API
Ryan RileySoftware Developer WebApiContribLogos Bible Software WebApiKoans                     F#x                     Frank
A Brief History ofWeb API
What is WebAPI?MVC      http://blogs.msdn.com/b/kiranchalla/archive/2012/05/05      /asp-net-mvc4-web-api-stack-diagram.aspx
What is WebAPI?System.Net.Http      http://blogs.msdn.com/b/kiranchalla/archive/2012/05/05      /asp-net-mvc4-web-api-stac...
What is WebAPI?Hosting      http://blogs.msdn.com/b/kiranchalla/archive/2012/05/05      /asp-net-mvc4-web-api-stack-diagra...
Unit Testing withHttpClient &HttpServer
Too manyconcerns1.   Routing2.   Authentication/Authorization3.   Other HttpConfiguration settings4.   Action selection5. ...
Focus Your Tests
What’s the base?HttpRequestMessage ->HttpResponseMessage
Coincidence?
Coincidence?
Why focus onthis onefunction?
The Boundary               Service     Client   Boundary   Domain               (HTTP)
Is this reallyuseful?
Building withfunctions
Contact ManagerRedux
Re-integration
Going Deeper
ApiRouterOne of many contributions from Darrel MillerRouting via HttpMessageHandler            (a.k.a. function)Goal: full...
Functions all theway!Could you build an API using only MessageHandlers?Could you build an API with functions only?
FrankWrap in an HttpMessageHandlerF# for first-class function supportBarely scratches the surface
Summary
Questions?
Thank you       http://spkr8.com/t/13571
Nächste SlideShare
Wird geladen in …5
×

Test first

596 Aufrufe

Veröffentlicht am

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

Test first

  1. 1. Test-firstFunctional-firstWeb API
  2. 2. Ryan RileySoftware Developer WebApiContribLogos Bible Software WebApiKoans F#x Frank
  3. 3. A Brief History ofWeb API
  4. 4. What is WebAPI?MVC http://blogs.msdn.com/b/kiranchalla/archive/2012/05/05 /asp-net-mvc4-web-api-stack-diagram.aspx
  5. 5. What is WebAPI?System.Net.Http http://blogs.msdn.com/b/kiranchalla/archive/2012/05/05 /asp-net-mvc4-web-api-stack-diagram.aspx
  6. 6. What is WebAPI?Hosting http://blogs.msdn.com/b/kiranchalla/archive/2012/05/05 /asp-net-mvc4-web-api-stack-diagram.aspx
  7. 7. Unit Testing withHttpClient &HttpServer
  8. 8. Too manyconcerns1. Routing2. Authentication/Authorization3. Other HttpConfiguration settings4. Action selection5. Action result6. Use of MessageHandlers7. HttpResponseMessage details8. Content formatting
  9. 9. Focus Your Tests
  10. 10. What’s the base?HttpRequestMessage ->HttpResponseMessage
  11. 11. Coincidence?
  12. 12. Coincidence?
  13. 13. Why focus onthis onefunction?
  14. 14. The Boundary Service Client Boundary Domain (HTTP)
  15. 15. Is this reallyuseful?
  16. 16. Building withfunctions
  17. 17. Contact ManagerRedux
  18. 18. Re-integration
  19. 19. Going Deeper
  20. 20. ApiRouterOne of many contributions from Darrel MillerRouting via HttpMessageHandler (a.k.a. function)Goal: full control over resource routingGoal: nested resources
  21. 21. Functions all theway!Could you build an API using only MessageHandlers?Could you build an API with functions only?
  22. 22. FrankWrap in an HttpMessageHandlerF# for first-class function supportBarely scratches the surface
  23. 23. Summary
  24. 24. Questions?
  25. 25. Thank you http://spkr8.com/t/13571

×