How do you use caching in Azure apps?
- Use Azure Cache for Redis or in-memory caching in .NET.
- Cache frequently accessed data to reduce DB calls.
Example in ASP.NET Core:
services.AddStackExchangeRedisCache(options =>
options.Configuration = Configuration["Redis:ConnectionString"];
});