Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to write a WebAPI with ASP.NET Core
Search
Fabian Gosebrink
November 28, 2016
Programming
0
74
How to write a WebAPI with ASP.NET Core
UserGroup Basel
Fabian Gosebrink
November 28, 2016
Tweet
Share
More Decks by Fabian Gosebrink
See All by Fabian Gosebrink
My Biggest Angular Mistakes and How To Avoid Them
fabiangosebrink
0
86
[iJS Munich] Better Angular Architectures with Libraries and Nx
fabiangosebrink
0
95
Mastering State Management in Angular with the NgRx Signal Store
fabiangosebrink
0
220
Angular Architectures with NgRx Stores & Effects
fabiangosebrink
0
60
Angular Testing made easy with Jest and Cypress
fabiangosebrink
0
70
Introducing NgRx in an Nx Angular Workspace
fabiangosebrink
0
260
Full-Stack-Web-Applications with Angular, Nx and .NET
fabiangosebrink
0
160
Angular Signals - Revolution in Angular development
fabiangosebrink
0
190
Kickstarting Your Journey with NgRx Signal Store
fabiangosebrink
0
130
Other Decks in Programming
See All in Programming
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
110
[JAWS-UG横浜 #79] re:Invent 2024 の DB アップデートは Multi-Region!
maroon1st
1
140
Grafana Loki によるサーバログのコスト削減
mot_techtalk
1
110
Amazon Bedrock Multi Agentsを試してきた
tm2
1
280
SpringBoot3.4の構造化ログ #kanjava
irof
2
970
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
200
Open source software: how to live long and go far
gaelvaroquaux
0
620
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
最近のVS Codeで気になるニュース 2025/01
74th
1
250
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
660
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
41
15k
Immutable ActiveRecord
megane42
0
130
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Writing Fast Ruby
sferik
628
61k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
We Have a Design System, Now What?
morganepeng
51
7.4k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Designing for humans not robots
tammielis
250
25k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Transcript
WebAPI mit ASP.NET Core
None
@FabianGosebrink
ASP.NET WebAPI
ASP.NET Core WebAPI
None
None
None
Open Source
http://github.com/aspnet
X-Platform
None
One Controller
MVC + WebAPI + Web Pages = ASP.NET Core
Kestrel
Speeeeeeed
None
None
Configuration
Middleware
None
None
None
None
REST
REST ist nicht WebAPI
GET /api/house/ GET /api/house/1 POST /api/house/ PUT /api/house/1 DELETE /api/house/1
Statuscodes
2xx = Gut!
4xx = Schlecht
5xx = Ganz schlecht!
Demo
Statuscodes Dependency Injection Validierung Middleware Configuration
Paging
/api/food?start=4&count=10
Sorting
/api/food?orderby=Id
Datashaping
/api/food?fields=Id, Calories
ASP.NET MVC ASP.NET CORE WebAPI
Write Good Code
@FabianGosebrink http://offering.solutions http://github.com/FabianGosebrink http://fabian-gosebrink.com