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
72
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
[iJS Munich] Better Angular Architectures with Libraries and Nx
fabiangosebrink
0
53
Mastering State Management in Angular with the NgRx Signal Store
fabiangosebrink
0
92
Angular Architectures with NgRx Stores & Effects
fabiangosebrink
0
42
Angular Testing made easy with Jest and Cypress
fabiangosebrink
0
50
Introducing NgRx in an Nx Angular Workspace
fabiangosebrink
0
240
Full-Stack-Web-Applications with Angular, Nx and .NET
fabiangosebrink
0
130
Angular Signals - Revolution in Angular development
fabiangosebrink
0
150
Kickstarting Your Journey with NgRx Signal Store
fabiangosebrink
0
100
Angular Signals under the Hood
fabiangosebrink
0
390
Other Decks in Programming
See All in Programming
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
240
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
300
CSC509 Lecture 12
javiergs
PRO
0
160
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Realtime API 入門
riofujimon
0
150
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Remix on Hono on Cloudflare Workers
yusukebe
1
300
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
630
Quine, Polyglot, 良いコード
qnighy
4
650
Featured
See All Featured
Fireside Chat
paigeccino
34
3k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
KATA
mclloyd
29
14k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Into the Great Unknown - MozCon
thekraken
32
1.5k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Become a Pro
speakerdeck
PRO
25
5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Visualization
eitanlees
145
15k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
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