Skip to content

ashiqali/ASPNET-WebAPI-Sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample ASP.NET WebApi

A simple Asp.Net WebAPI with CRUD Operations, using modelstate, OData enabled & returning correct statuscodes

I used mapper here to map from a DTO to an entity to show how to handle this case.

You can fire normal queries like GET/POST/PUT/PATCH/DELETE

But also do OData-Queries like

http://.../api/house?$orderby=Id desc

or

http://.../api/house/1?$select=Street, Id

About

A simple WebAPI with CRUD Operations, using modelstate, OData enabled & returning correct statuscodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%