code-adda web api crud

Implementing CRUD Operations using WEB API

April 29, 2018 Ravi Ranjan Kumar 0

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 understanding of “how to create […]

Creating your first WEB API Project

April 25, 2018 Ravi Ranjan Kumar 2

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 to a web application’s client-side (including […]

secure ASP.NET Web API using basic authentication

How to secure ASP.NET Web API using basic authentication

April 18, 2018 Ravi Ranjan Kumar 3

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 basic authentication. Basic Authentication is […]

secure ASP.NET Web API using token based authentication

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

Multiple Main Method in C#

May 20, 2011 Ravi Ranjan Kumar 41

In this article we will know how to handle a program with more than one entry point. All of us know the basic programming concept that is one program allow only and only one entry point i.e A Main Method. This is what normally expected. However, C# also allows you […]