I have an ASP.NET webforms based website, which I am converting to ASP.NET Core 3.1 MVC.
I had used Redis as my OutputCache provider for caching website pages. My web.config had the settings for the same in earlier website.
<caching xdt:Transform="Replace">
<outputCache defaultProvider="rdstest">
<providers>
<add name="rdstest" type="Microsoft.Web.Redis.RedisOutputCacheProvider" host="rdstest............."
accessKey="xxxxxx=" databaseId ="1" port="xxxx" ssl="true" applicationName="xxxx" />
</providers>
</outputCache>
</caching>
I have looked online as what is the best approach for using redis for the same purpose, but could not find any simple implementation.
Most of the articles were using redis as data caching and very few showed how to simply cache the output pages.
Any help on this will be appreciated.
Thanks.