How to solve SSL/TLS validation error while making connection in C#

February 17, 2019 Ravi Ranjan Kumar 0

In this article, you will learn how to deal with SSL/TLS validation error using C#. If you are trying to establish a connection with a web server using c# and getting an exception as given below : SocketException: An existing connection was forcibly closed by the remote host IOException: Unable […]

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 […]

No Image

How to use FileUpload control inside ASP.Net AJAX Update Panel

January 9, 2019 Ravi Ranjan Kumar 0

There are plenty of questions asked by developers around the globe that they are not able to use FileUpload asp.net control inside ASP.Net Ajax update panel. Their issues are FileUpload control inside Asp.Net Ajax update panel doesn’t hold any file and also return false for HasFile property whenever they upload […]

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 4

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 5

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 […]

Page Not Found

ASP.NET MVC – Custom 404 page for invalid request

May 7, 2018 0

Hello everyone, while developing a web application we never forget to handle an invalid request by displaying Custom 404 page for invalid request. Most of the web developers when creating a web application used to handle an invalid request by redirecting the user to a static custom error page. But […]