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
68
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
Angular Architectures with NgRx Stores & Effects
fabiangosebrink
0
73
Angular Testing made easy with Jest and Cypress
fabiangosebrink
0
82
From Desktop to web and back
fabiangosebrink
0
17
Better Angular Architectures with Libraries and Nx
fabiangosebrink
0
250
Developing forms and validation with Typed Angular Reactive Forms
fabiangosebrink
0
47
Angular Testing made easy with Jest and Cypress
fabiangosebrink
0
58
Monorepos with Angular and Nx
fabiangosebrink
0
120
Create modern Web Apps with the new Angular and it's ecosystem
fabiangosebrink
0
88
Realtime Cross Platform Apps with Angular, ASP.NET Core and SignalR
fabiangosebrink
0
120
Other Decks in Programming
See All in Programming
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
1
110
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
190
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
650
GitHub Copilotのススメ
marcy731
1
200
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
新宿ダンジョンを可視化してみた
satoshi7190
2
260
PHPはいつから死んでいるかの調査
chiroruxx
1
400
Git Rebase
bkuhlmann
11
1.6k
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
270
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
ONE WEDGE_company_guide
1wedge_one
0
490
Snowflakeで眠ったデータを起こそう!
estie
0
120
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Atom: Resistance is Futile
akmur
259
25k
Automating Front-end Workflow
addyosmani
1356
200k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
How to name files
jennybc
65
93k
The Mythical Team-Month
searls
216
42k
Become a Pro
speakerdeck
PRO
11
4.5k
Building Applications with DynamoDB
mza
88
5.6k
Web development in the modern age
philhawksworth
202
10k
The Pragmatic Product Professional
lauravandoore
25
5.8k
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