Hi Yuda,
>>error CS1061
From
MSDN, this error occurs when you try to call a method or access a class member that does not exist.
Please make sure 'IServiceCollection' has a member named 'AddDistributedSqlServerCache' in your definition, or you can provide the
code related to this error.
Regards,
Frankie
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.