> Command_Prompt_Blog \
  • Home
  • Acronyms
  • Cheat-Sheets
  • User Manuals

Microsoft

JWT Generation & Verification with HMAC SHA-256 Signature in .NET 6

JWT Generation & Verification with HMAC SHA-256 Signature in .NET 6

This code is the result of a chat session with AI using deepseek-coder-v2-latest model. using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; using Microsoft.IdentityModel.Tokens; class Program { static void Main(string[] args) { // Define the security key and algorithm to sign the token var
Hec P. 13 Jan 2025
.NET Environment Setup in MacOS

.NET Environment Setup in MacOS

Recently I've been assigned a task in which I will need to develop software using Microsoft .NET Framework. The only problem is that currently I am using a MacBook Pro so here is what I did to get from 0 to hero. brew install --cask dotnet-sdk Your console
Hec P. 10 Nov 2024
> Command_Prompt_Blog \ © 2026. Powered by Ghost