How to Enable CORS in the ASP.NET Web API

Have you ever come across the following error: “Cross-origin Request Blocked. The same origin policy disallows reading the resource”. Us to! It turns out, we get this error due to lack of CORS support while sharing resources. When we try to consume the Web API from origin A in a web application residing in origin … Continue reading How to Enable CORS in the ASP.NET Web API

A Step-by-Step Guide to Working with the ASP.NET Web API and AngularJS

Read full article on the Infragistics blog In this post we will learn to work with AngularJS and ASP.NET Web API in a step by step manner. I’ll assume that you are already familiar with some of the basic terms like what AngularJS and a Web API is, and we’ll work in a hands-on way, … Continue reading A Step-by-Step Guide to Working with the ASP.NET Web API and AngularJS

CRUD operation on ASP.NET Web API from .NET client

In this post we will learn to work with CRUD operation on ASP.NET Web API. We will learn To create CRUD operation on ASP.NET Web API Using Entity model to create model Creating repository to perform CRUD operation Consuming service in .NET Console Client I can draw architecture of this blog post as following, Let … Continue reading CRUD operation on ASP.NET Web API from .NET client

ASP.Net Web API Service in Windows Phone: Part 4 of Many

Creating First HTTP Service using ASP.NET Web API: Part1 of Many Consuming ASP.NET Web API Service using HttpClient: Part2 of Many How to Self-Host ASP.Net Web API: Part 3 of Many In this post we will consume ASP.Net Web API HTTP Service in Windows Phone Application. If you do not specify header information in HTTP … Continue reading ASP.Net Web API Service in Windows Phone: Part 4 of Many

How to Self-Host ASP.Net Web API: Part 3 of Many

Creating First HTTP Service using ASP.NET Web API: Part1 of Many Consuming ASP.NET Web API Service using HttpClient: Part2 of Many In this post, we will step by step walkthrough that How to Self-Host ASP.Net Web API. We are going to host Web API in a console application. To do that creates a Console Application. … Continue reading How to Self-Host ASP.Net Web API: Part 3 of Many

Consuming ASP.NET Web API Service using HttpClient: Part2 of Many

Read Part 1 Here I am in love with ASP.NET Web API hence I started writing on the same. In first part of this blog series I have written Creating First HTTP Service using ASP.NET Web API: Part1 of Many. In this post I will show you how you could consume service created in previous … Continue reading Consuming ASP.NET Web API Service using HttpClient: Part2 of Many

Creating First HTTP Service using ASP.NET Web API: Part1 of Many

In this post I will give you basic understating of creating HTTP Services using ASP.NET Web API. Here I am assuming that you are aware of basic ASP.NET MVC. To work with ASP.NET Web API, you need to install ASP.NET MVC 4.0. Download ASP.NET Web API from here and install it from Web Installer. After … Continue reading Creating First HTTP Service using ASP.NET Web API: Part1 of Many