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
78
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
Why State is the Most Important Part of Your Angular Application
fabiangosebrink
0
61
Angular testing made easy with Jest and Cypress
fabiangosebrink
0
94
Introducing state management into an application with NgRx
fabiangosebrink
0
140
Scalable architectures in Angular with Nx
fabiangosebrink
0
120
My Biggest Angular Mistakes and How To Avoid Them
fabiangosebrink
0
230
[iJS Munich] Better Angular Architectures with Libraries and Nx
fabiangosebrink
0
140
Mastering State Management in Angular with the NgRx Signal Store
fabiangosebrink
0
350
Angular Architectures with NgRx Stores & Effects
fabiangosebrink
0
110
Angular Testing made easy with Jest and Cypress
fabiangosebrink
0
110
Other Decks in Programming
See All in Programming
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
2
770
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
700
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
400
Android 16 × Jetpack Composeで縦書きテキストエディタを作ろう / Vertical Text Editor with Compose on Android 16
cc4966
2
250
アセットのコンパイルについて
ojun9
0
130
チームのテスト力を鍛える
goyoki
3
470
はじめてのMaterial3 Expressive
ym223
2
860
AI時代のUIはどこへ行く?
yusukebe
18
9k
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
24
12k
ProxyによるWindow間RPC機構の構築
syumai
3
1.2k
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
470
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
1.3k
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
We Have a Design System, Now What?
morganepeng
53
7.8k
Rails Girls Zürich Keynote
gr2m
95
14k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Statistics for Hackers
jakevdp
799
220k
Designing Experiences People Love
moore
142
24k
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