RabbitMQ with C#

January 27, 2019 Ravi Ranjan Kumar 0

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 already had some idea about […]

Validating UIDAI Aadhaar number using Verhoeff Algorithm

December 24, 2018 Ravi Ranjan Kumar 0

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 algorithm let us understand […]

ConcurrentDictionary code-adda.com

C# ConcurrentDictionary with Examples

December 17, 2018 Ravi Ranjan Kumar 0

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. ConcurrentDictionary Represents a thread-safe collection […]

C# Dictionary - Code-adda.com

C# Dictionary with Examples

December 16, 2018 Ravi Ranjan Kumar 1

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 with code.  The Dictionary class […]

How to solve – Could not find a part of the path bin roslyn csc.exe error

July 31, 2018 Ravi Ranjan Kumar 6

If you are trying to run ASP.NET application and getting “bin\roslyn\csc.exe not found!” error in your browser even after successfully build and compile. Don’t worry! this is all happening because your project is trying to find \bin\roslyn\csc.exe path inside your project at run time. The following packages have been added […]

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

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

July 15, 2018 Ravi Ranjan Kumar 7

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 updated on RBI website, you […]

Upload file on server using ASP.NET WEB API

May 10, 2018 Ravi Ranjan Kumar 5

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, desktop or mobile platform. Examples […]

No Image

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

April 7, 2018 Ravi Ranjan Kumar 13

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 on top priority. Just because we’ve […]

Validation Of Viewstate MAC Failed

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

April 3, 2018 Ravi Ranjan Kumar 0

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 can feel your pain. Few […]

No Image

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

March 29, 2018 Ravi Ranjan Kumar 1

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 like “!@#$%^&*()-+.,?:;’”.