Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Obsolete methods #9313


User avatar
0
darutter0508 created

When I compile my project I get the following issues:

.Core\Friendships\Cache\UserFriendsCache.cs(44,20,46,150): warning CS0612: 'CacheExtensions.Get<TKey, TValue>(ICache, TKey, Func<TKey, TValue>)' is obsolete .Core\Friendships\Cache\UserFriendsCache.cs(51,20,53,105): warning CS0612: 'CacheExtensions.GetOrDefault<TKey, TValue>(ICache, TKey)' is obsolete

I downloaded the latest code for version 9.0 and checked the source for the UserFriendsCache.cs and it is still using the same calls. Is there a fix for this?


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    I remember it has been fixed. https://github.com/aspnetzero/aspnet-zero-core/pull/3252