All Projects → FabianGosebrink → Aspnetcore Webapi Sample

FabianGosebrink / Aspnetcore Webapi Sample

This is a sample ASP.NET Core WebAPI

Projects that are alternatives of or similar to Aspnetcore Webapi Sample

MinimalApi
ASP.NET Core 7.0 - Minimal API Example - Todo API implementation using ASP.NET Core Minimal API, Entity Framework Core, Token authentication, Versioning, Unit Testing, Integration Testing and Open API.
Stars: ✭ 156 (-49.68%)
Mutual labels:  aspnetcore, asp-net-core, webapi
Cleanarchitecture.webapi
An implementation of Clean Architecture for ASP.NET Core 3.1 WebAPI. Built with loosely coupled architecture and clean-code practices in mind.
Stars: ✭ 615 (+98.39%)
Mutual labels:  webapi, asp-net-core, aspnetcore
minimal-apis.github.io
Tutorials and samples for ASP.NET Core Minimal APIs
Stars: ✭ 47 (-84.84%)
Mutual labels:  aspnetcore, webapi
SparkTodo
TodoList WebApi Powered by ASP.Net Core and JWT token auth
Stars: ✭ 37 (-88.06%)
Mutual labels:  aspnetcore, webapi
Simplcommerce
A simple, cross platform, modularized ecommerce system built on .NET Core
Stars: ✭ 3,474 (+1020.65%)
Mutual labels:  asp-net-core, aspnetcore
Home
Asp.net core Mvc Controls Toolkit
Stars: ✭ 33 (-89.35%)
Mutual labels:  aspnetcore, asp-net-core
SignalR-Core-SqlTableDependency
Shows how the new SignalR Core works with hubs and sockets, also how it can integrate with SqlTableDependency API.
Stars: ✭ 36 (-88.39%)
Mutual labels:  aspnetcore, asp-net-core
NetEscapades.Extensions.Logging
A rolling file logging provider for ASP.NET Core 2.0
Stars: ✭ 87 (-71.94%)
Mutual labels:  aspnetcore, asp-net-core
AspNetCore.Mvc.FluentActions
Fluent Actions for ASP.NET Core MVC are abstractions of regular MVC actions that are converted into MVC actions during startup.
Stars: ✭ 17 (-94.52%)
Mutual labels:  aspnetcore, asp-net-core
AspNetCore-ReCAPTCHAv3
reCAPTCHA v3 Usage in Asp.Net Core MVC
Stars: ✭ 17 (-94.52%)
Mutual labels:  aspnetcore, asp-net-core
blazor-tailwindcss-template
This template demostrates the integration of tailwindcss with blazor and covers important features like hot-reload and css isolation
Stars: ✭ 38 (-87.74%)
Mutual labels:  aspnetcore, asp-net-core
Aspnetcoreapistarter
An ASP.NET Core (v2.1) Web API project to quickly bootstrap new projects. Includes Identity, JWT authentication w/ refresh tokens.
Stars: ✭ 304 (-1.94%)
Mutual labels:  webapi, aspnetcore
OrdersManagementSystem
Project demonstrates usage of Prism composition library, Material design library, SQL Server, Entity Framework in WPF application
Stars: ✭ 29 (-90.65%)
Mutual labels:  aspnetcore, asp-net-core
BlazorWasmWithDocker
Companion code sample for my blog post - Containerising a Blazor WebAssembly App
Stars: ✭ 16 (-94.84%)
Mutual labels:  aspnetcore, asp-net-core
ChatService
ChatService (SignalR).
Stars: ✭ 26 (-91.61%)
Mutual labels:  aspnetcore, asp-net-core
BlazorServerWithDocker
Companion code sample for my blog post - Containerising a Blazor Server App
Stars: ✭ 16 (-94.84%)
Mutual labels:  aspnetcore, asp-net-core
WebApiJwt
Asp.NET Core 2.0 WebApi JWT Authentication with Identity & MySQL
Stars: ✭ 118 (-61.94%)
Mutual labels:  asp-net-core, webapi
AspNet5GeoElasticsearch
ASP.NET Core MVC Geo Elasticsearch Swashbuckle Swagger
Stars: ✭ 38 (-87.74%)
Mutual labels:  asp-net-core, webapi
Something-about-aspnetcore-book
The Something about ASP.NET Core Book is introduction to web programming and based on ASP.NET Core 2.2
Stars: ✭ 35 (-88.71%)
Mutual labels:  aspnetcore, asp-net-core
N-Tier-Architecture
This is a n-layer architecture based on Common web application architectures.
Stars: ✭ 105 (-66.13%)
Mutual labels:  asp-net-core, webapi

ASP.NET Core WebApi Sample with HATEOAS, Versioning & Swagger

In this repository I want to give a plain starting point at how to build a WebAPI with ASP.NET Core.

This repository contains a controller which is dealing with FoodItems. You can GET/POST/PUT/PATCH and DELETE them.

Hope this helps.

See the examples here:

Versions

http://localhost:29435/swagger

ASPNETCOREWebAPIVersions

GET all Foods

http://localhost:29435/api/v1/foods

ASPNETCOREWebAPIGET

GET single food

http://localhost:29435/api/v1/foods/2

ASPNETCOREWebAPIGET

POST a foodItem

http://localhost:29435/api/v1/foods

  {
      "name": "Lasagne",
      "type": "Main",
      "calories": 3000,
      "created": "2017-09-16T17:50:08.1510899+02:00"
  }

ASPNETCOREWebAPIGET

PUT a foodItem

http://localhost:29435/api/v1/foods/5

{
    "name": "Lasagne2",
    "type": "Main",
    "calories": 3000,
    "created": "2017-09-16T17:50:08.1510899+02:00"
}

ASPNETCOREWebAPIGET

PATCH a foodItem

http://localhost:29435/api/v1/foods/5

[
  { "op": "replace", "path": "/name", "value": "mynewname" }
]

ASPNETCOREWebAPIGET

DELETE a foodItem

http://localhost:29435/api/v1/foods/5

ASPNETCOREWebAPIGET

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].