After explaining the concept and purpose of AES encryption in the previous article, this guide has for goal to give practical steps about how to create and use an AES encryption 256-bit key.
As a software developer, you will sometimes need to generate random numbers in your code. Computer programs generate random numbers by either leveraging the system hardware through the operating system or by calling a library exposing a Pseudo-Random Number Generator (PRNG).
The readonly and const keywords are sometimes used interchangeably in C#, to declare immutable fields in a class or a structure. Even though we use them to achieve the same purpose, there are noticeable differences between these two keywords.
As a C# developer, you will notice that there are many classes available in .NET to perform AES encryption. In this article, we will talk about the recommended way to create a cryptographic object that implements the AES algorithm.
In this article, we will quickly show 3 different ways to convert a string containing a numeric value to a 32-bit signed integer (Int32).
There are 3 built-in types that you can use to represent floating-point numbers: float, double and decimal. In this article, we will look at the specifics of each of these types.
There are many ways to compare objects in C#. In this article, we will talk about the most common ones: the equality operator == and the Equals method.
There are 2 main categories of types in C#: value types and reference types. Structures and classes represent the main types of these 2 categories. In this article, we will look at the differences between a structure and class.
Today, more than 65% of HTTP requests are done with the HTTP/2 standard. In this article, we will explore the different options available to configure HttpClient to use HTTP/2 standard in .NET 6.0.
The HttpClient class, introduced since .NET Framework 4.5, is probably one of the most used classes in the .NET platform. It’s important to know how to manage HttpClient connections in order to avoid sockets exhaustion and DNS issues.
© 2023 Siaka Baro