Category Archives: C#

code-adda web api crud

Implementing CRUD Operations using WEB API

This article will help you to learn and understand how to Implementing CRUD Operations using WEB API. If you have not gone through my previous article I would like to suggest you please go through Creating your first WEB API Project, you will get a better

Creating your first WEB API Project

Introduction Whenever we talk about WEB API the very first question comes in our mind is what actually is API. API stands for “Application Programming Interface”. From Wikipedia definition – A Web API is an application programming interface for either a web server or a web browser. It is a web development concept, usually limited

secure ASP.NET Web API using basic authentication

How to secure ASP.NET Web API using basic authentication

ASP.NET Web API allows us different ways to implement security while exposing resources. In the previous article, we have learned about how to secure ASP.NET WEB API using token-based authentication. In this article, we are going to learn how to secure ASP.NET WEB API using

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 2

Introduction of Hashing In the previous part of this blog Introduction of Hashing we have learned about the basic concept of Hashing with its practical example, we’ve also read about the confusing question for a beginner which Is both hashing and Encryption are Same? then

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

Cryptography : Asymmetric Encryption by using Asymmetric Algorithm Classes.

In previous blog – Symmetric Encryption by Symmetric Algorithm Classes–Part 1 and Part 2 we have learned about basic introduction of Cryptography based on Symmetric Encryption. so, now In addition to previous blog here we will learn about basics of Asymmetric Encryption. Asymmetric Encryption :

Cryptography : Symmetric Encryption by Symmetric Algorithm Classes – Part 2

In previous blog – [ Cryptography : Symmetric Encryption by Symmetric Algorithm Classes – Part 1 ]  we have learned about basic introduction of Cryptography , Symmetric Encryption , Symmetric Encryption Algorithm classes and codes for implementing DES class. so, now In addition to previous