使用ASP.NET Core创建Web API

Web API驱动最流行的Web和移动应用程序,以及从冰箱到电话等支持Internet的设备。对如何构建自己的Web API感到好奇吗?在本课程中,讲师Christian Wenz向你展示了如何使用ASP.NET Core逐步构建Web API的过程。

课程信息

  • 英文名称:Building Web APIs with ASP.NET Core
  • 时长:3小时52分
  • 字幕:英语

课程目录

  1. APIs today
  2. Why an API?
  3. What you should know
  4. Prerequisites and setup
  5. "Hello World," API style
  6. "Hello World" with Visual Studio Code
  7. HTTP in a nutshell
  8. REST basics
  9. API design basics
  10. Tools for API testing
  11. Controllers and actions
  12. Routing basics
  13. Creating a data model
  14. Using Entity Framework Core
  15. Returning a list of items
  16. Using IActionResult
  17. Returning an item
  18. Handling errors
  19. Making the API asynchronous
  20. Introduction
  21. Paginating items
  22. Filtering items
  23. Searching items
  24. Sorting items
  25. Challenge: Advanced search
  26. Solution: Advanced search
  27. HTTP verbs
  28. ASP.NET model binding
  29. Model validation
  30. Adding an item with POST
  31. Updating an item with PUT
  32. Deleting an item with DELETE
  33. Challenge: Deleting several items
  34. Solution: Deleting several items
  35. Versioning options
  36. The Microsoft versioning library
  37. Implement URL versioning
  38. Implementing header versioning
  39. Implementer query string versioning
  40. Documenting the API
  41. Enforcing HTTPS
  42. Consuming the API with JavaScript
  43. Cross-Origin Resource Sharing (CORS)
  44. Enabling CORS
  45. OAuth and OpenID Connect
  46. Setting up IdentityServer
  47. Securing the API with IdentityServer
  48. Consuming the protected API
  49. Next steps

评论

下载 使用ASP.NET Core创建Web API

收起