Programming & AI:
Tips π‘
Articles π
AI & LLMs πΎ
Design, Architecture, Principles β
π³π± Contact: @MoienTajik
Post #418
7.49K
A shorter and URL friendly GUID β¨
This a small helper class in C#. πΎ
The class encodes a GUID into a 22 character long string and decodes the string back to the original GUID again. β
It takes a standard GUID like this π¬ :
And converts it into this smaller string π :
It basically just converts a GUID into a base64 string and shortens it a bit. β‘οΈ
https://t.me/pgimg/123
[ Article ] : bit.do/guids
γ°γ°γ°γ°γ°γ°
#CSharp #GUID
@ProgrammingTip
This a small helper class in C#. πΎ
The class encodes a GUID into a 22 character long string and decodes the string back to the original GUID again. β
It takes a standard GUID like this π¬ :
c9a646d3-9c61-4cb7-bfcd-ee2522c8f633
And converts it into this smaller string π :
00amyWGct0y_ze4lIsj2Mw
It basically just converts a GUID into a base64 string and shortens it a bit. β‘οΈ
https://t.me/pgimg/123
[ Article ] : bit.do/guids
γ°γ°γ°γ°γ°γ°
#CSharp #GUID
@ProgrammingTip