Skip to content

Milstein/ConsumingAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConsumingAPI

Simple Client side consume ASP.NET Web API server

In some cases, you want to using ASP.NET Web API endpoint with a client. For example, you want HTTP is going to give you GET some data back or POST/PUT/DELETE data to server. This article, I use the HttpClient to comunicate between enpoint and client side.

The first, we create project ASP.NET WEB API, add NORTHWND db, add Nuget Package AutoMapper at ServerAPI, HttpClient, Newtonsoft.Json at client side project, Mvc.Routing and other dependency.

The source code has 2 part: ServerAPI project for WEB API, ClientSide for client side call web api.

Help it help.

About

Simple Client side consume ASP.NET Web API server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 58.5%
  • CSS 40.3%
  • Other 1.2%