Tag: Asp.NET

JWT in Asp.NET Core (Open)

There are many officially provided classes which can generate or/and verify JWT within different languages, but generally speaking they all do following things in one way or another: Generate JWT Create a header, use base64url to encode header; Create a collection of claims in payload, use base64url to encode payload; Provide a secret symmetric encrypted …

NuGet Config in Mac

The path for config file is “/Users/YourUserAccount/.config/NuGet/NuGet.Config”, recorded here for further use. I encountered with a NuGet cannot connect with source error, some answers in Github issue and Stackoverflow pointed out NuGet use proxy to speed up access to packages, unfortunately, many answers seem to require prerequisites to understand. I instead updated my vs2017 to …