Secure Microservices Using JWT With Ocelot in .NET Core (code-maze.com)
Monday, March 25, 2024
C# generic type converter
Here is a way to create a generic type converter in c#
c# - How to Convert a String to a Nullable Type Which is Determined at Runtime? - Stack Overflow
Share cookies between dot net framework and dot net core
Since dot net framework encryption is different from that of dot net core, encrypted cookies cannot be directly shared between the two. Instead we need to create a compatible data protector as explained at
c# - share authentication cookie between .NET Framework and .Net Core - Stack Overflow
c# - share authentication cookie between .NET Framework and .Net Core - Stack Overflow
Monday, March 11, 2024
Visual Studio ( or VS Code) strip all attributes from html tags
This is a very simple shortcut, find and replace using following regex
Find - <(table|tr|td|p|div|span)[\S\s]*?\n?>
Replace - <$1>
Subscribe to:
Posts (Atom)
Regex obfuscate email
Use this code in C# to obfuscate email using regex // Online C# Editor for free // Write, Edit and Run your C# code using C# Online Compile...
-
To install SQLServer module in powershell we need to add the nuget package provider first with command: Install-PackageProvider -Name NuGet ...
-
Responsive design http://webdesignerwall.com/tutorials/5-useful-css-tricks-for-responsive-design http://palantir.net/blog/responsive-de...
-
After cloning a git repo of dot net framework website and trying to run it all I could see was this error Turns out the fix was to simply e...