Tag Archives: C#

RabbitMQ with C#

In this article, you will learn how to write a basic program using RabbitMQ and C# like how to create connections, how to publish a message in the queue and how to receive that message from a queue. Before writing code, I assume you have

Validating UIDAI Aadhaar number using Verhoeff Algorithm

If you are working on such application where you have to authenticate Aadhaar number entered by the user you may want to validate it using any standard algorithm before sending it to UIDAI server to get auth response. Before learning how to write code using Verhoeff

ConcurrentDictionary code-adda.com

C# ConcurrentDictionary with Examples

In the previous blog C# Dictionary with Examples, we have learned about C# Dictionary and how to use it for different purposes like Initialization, adding values, reading values, etc. In this article, we are going to learn about ConcurrentDictionary and how to use it for different purposes.

C# Dictionary - Code-adda.com

C# Dictionary with Examples

We all know the meaning of Dictionary in general terms, Dictionary is a collection of words arranged alphabetically and each word has its own meaning. In C# the concept of Dictionary is almost same let’s read what is a dictionary and how we can play

Consume Bank details using IFSC code - Code-Adda.com

Consuming RESTful API to get Bank Details using IFSC code in C#

Introduction Suppose If you assigned the task to write code to get bank details using IFSC code. Details may be Bank name, IFSC code, MICR(Magnetic Ink Character Recognition), Branch, Address, Contact, City, District, and State. What you’ll do ? All bank IFSC codes are regularly

Upload file on server using ASP.NET WEB API

Introduction : This article will help you to understand how to Upload file on the server using Asp.Net WEB API. If you are looking for a solution to implement such functionality where the user can access this feature from any platform whether it is web,

secure ASP.NET Web API using token based authentication

How to secure ASP.NET Web API using Token Based Authentication

Introduction : Whenever we work on enterprise level application either application based on web or windows platform the first biggest concern comes in our mind is its security. When the requirement is to expose our business services to the client then securing those services is

Validation Of Viewstate MAC Failed

How to solve Validation Of Viewstate MAC Failed error in ASP.NET

If you are looking solution for one of the weird error “Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.” I

No Thumbnail

How to allow only number input in your code using C#

Being coder, we often have different challenges to write code to accomplish a task based on some exact requirement. Here we are going to learn how to allow the user only to write number not other characters like “a/A to z/Z” and other special characters

Cryptography : A Basic Introduction of Hashing and HashAlgo class for beginners – Part 1

Introduction of Hashing Hash is a kind of process, signature, function which is responsible for translating information into a cryptic value. The concept of hash and encryption is almost same. In practical view Hash is an algorithm that takes an arbitrary block of data and