Contents tagged with C#
-
Easy Way to Convert a Base64 Image to Byte Array in ASP.NET Core
In this post, we are going to write a piece of code to convert base64 image to byte array.
-
Calling a C# Generic Method using Reflection in .NET Core
In this post, we will explore a way to call a C# generic method when the type parameter isn't known at compile time, but instead is obtained dynamically at runtime.
-
Encrypt and Decrypt Text Values in .NET
In this article, we will explore how to encrypt/decrypt text using .NET and MD5 crypto provider. These methods can be used to secure critical values that are used by our ASP.NET web application.
-
SharePoint Navigation - Setting the Audience Property of an SPNavigationNode
In this tip/trick i will demonstrate a way of setting by code the target audience of an SP navigation node.
You might say setting this property in SharePoint UI is quite simple, but if you want to set it by code you will not find any straight forward property or method out of the box in SharePoint Object Model that does the job.