In this chapter, we learned how to secure a web service using some standard practices. HTTPS is now a standard and must-have feature if you want to secure data. Furthermore, we saw how token-based authentication provides a useful way to secure data and information that are exposed.
The topics covered in this chapter provide a way to secure information exposed by the web service, and explored the implementation of token-based authentication in distributed systems.
In the next chapter, we will see how to cache responses in ASP.NET Core and look at how a caching mechanism works in general.