Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to cache a UrlRecord list which store the Slugs.

Can someone give me any suggest?

Thank you.

What I have tried:

At first time, i am cache in a custom middleware class, but it called for every httpRequest.
Posted
Updated 26-Sep-16 8:08am

1 solution

There's an official docs regarding caching for ASP.NET Core apps here: In Memory Caching — ASP.NET documentation[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900