I created the JwtHelper class. I have been using it for a long time. However, when I updated the packages, I got an error in the following line;

The complete error message is as follows;
Severity Code Description Project File Line Suppression State Error CS1061 'IConfigurationSection' does not contain a definition for 'Get' and no accessible extension method 'Get' accepting a first argument of type 'IConfigurationSection' could be found (are you missing a using directive or an assembly reference?)
I found the solution. I'm writing here so you don't waste time.
Go to Nuget and download the "Microsoft.Extensions.Configuration.Binder" package.

Install-Package Microsoft.Extensions.Configuration.Binder -Version 5.0.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With