7 Proven Strategies for Optimal API Design Practices

Hello Readers, This is the last article of the Year 2023.In this article, we will figure out 7 Proven Strategies for the Best API Design Practices. So, Let’s begin. Follow the below practices for creating the Best API for Seamless Integration 1. Do not use Verbs in URI The best API design needs the best … Read more

.NET Core Web API Data validation with FluentValidation

.NET Core Web API Data validation with FluentValidation

In this article, we will learn .NET Core Web API Data validation with FluentValidation. What is Data Validation in Web API? Data Validation simply tells the rules and validation that we apply to Data. So, data Validation in Web API means, validating the data that is being sent by the client and if the data … Read more

How to consume REST API from ASP.NET Razor Web Pages?

In this article, we will consume an API from the ASP.NET Razor web page where REST API is secured with API Key. What is an API? Web API is the Microsoft open source technology for developing REST services based on HTTP protocol. ASP.Net Web API is a framework for building, and consuming HTTP-based services. The advantage of … Read more

How to Enable HTTPS for ASP.Net Web API?

In this blog, we will see how to enable a Web API service to the server over HTTPS only and not on HTTP.If you are new to Web API, then read my earlier blogs on ASP.Net Web API here.As you know ASP.Net Web API runs over HTTP protocol. Suppose you want to serve your Web … Read more

Basic Authentication in Web API

In this blog, we will see the implementation of basic authentication in Web API. Security is very important aspects while working on the distributed application. While exposing an API we must take care about security. Basic Authentication is a simple authentication mechanism where the client sends requests with an Authorization header with word Basic. In … Read more

Consume Web API 2 in C# Console Application

Web API can be consumed either using JQuery, Angular JS, MVC or Console Application. In this blog, we will consume Web API 2 using HttpClient in a Console Application. I have already created a Web API2 demo project earlier, you may visit below link to see how can we create a Web API 2 project. Web … Read more

Web API2 CRUD operations using Entity Framework and MVC

In this blog, we will perform Web API CRUD operations using Entity Framework and ASP.Net MVC. What is ASP.Net Web API? Web API is the Microsoft open source technology for developing REST services based on HTTP protocol. ASP.Net Web API is a framework for building, consuming HTTP based services. The advantage of Web API is … Read more

Consume Web API 2 using JQuery in MVC application

In this blog, we will see how to create a Web API in Visual Studio 2017 and consume this API from MVC application using jQuery. Web API is the Microsoft open source technology for developing REST services based on HTTP protocol. ASP.Net Web API is a framework for building, consuming HTTP based service. The advantage … Read more

Important ASP.Net Web API Interview questions and answers

In this blog, I have collected important ASP.Net Web API interview questions and answers.Whether you are a fresher or have ASP.Net development experience, the ASP.Net Web API interview questions given below will prove to be very beneficial for you. If you are working on Microsoft Technologies, especially the ASP.Net framework, then you must be aware of ASP.Net … Read more

ASP.Net Web API – Media Type Formatter

This is another series of Web API blog. In the previous blog, we have seen about Web API Security, Routing in Web API. This blog will help you to understand Media Type Formatter in ASP.Net Web API. Earlier I have already written about “How do I get ASP.Net Web API to return JSON” What is … Read more

RSS
YouTube
YouTube
Instagram