The objectives of session three are:
- Configure bindings to access CosmosDB and perform CRUD operations
- Prevent unauthorized access of the API during development
To avoid the complexity of managing and using a client SDK, we connect the API to a CosmosDB database using bindings. Bindings allow us to declaratively access database content and result in a cleaner, better maintainable code.
Once our API can read "real" data, we protect it from being accessed by malicious people, and we present options to improve security further.