Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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
Upcoming SlideShare
Loading in …5
×

0

Share

Download to read offline

Test first

Download to read offline

Related Books

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

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

Views

Total views

658

On Slideshare

0

From embeds

0

Number of embeds

2

Actions

Downloads

7

Shares

0

Comments

0

Likes

0

×