Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
82
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
71
Angular testing made easy with Jest and Cypress
fabiangosebrink
0
110
Introducing state management into an application with NgRx
fabiangosebrink
0
180
Scalable architectures in Angular with Nx
fabiangosebrink
0
150
My Biggest Angular Mistakes and How To Avoid Them
fabiangosebrink
0
260
[iJS Munich] Better Angular Architectures with Libraries and Nx
fabiangosebrink
0
160
Mastering State Management in Angular with the NgRx Signal Store
fabiangosebrink
0
390
Angular Architectures with NgRx Stores & Effects
fabiangosebrink
0
120
Angular Testing made easy with Jest and Cypress
fabiangosebrink
0
120
Other Decks in Programming
See All in Programming
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
6
2.1k
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
1k
Go コードベースの構成と AI コンテキスト定義
andpad
0
120
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
400
JETLS.jl ─ A New Language Server for Julia
abap34
1
390
WebRTC と Rust と8K 60fps
tnoho
2
2k
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
9
1.1k
TestingOsaka6_Ozono
o3
0
150
SwiftUIで本格音ゲー実装してみた
hypebeans
0
320
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
430
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
330
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
130
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Documentation Writing (for coders)
carmenintech
76
5.2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Code Review Best Practice
trishagee
74
19k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Designing Experiences People Love
moore
143
24k
Facilitating Awesome Meetings
lara
57
6.7k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.2k
For a Future-Friendly Web
brad_frost
180
10k
The Invisible Side of Design
smashingmag
302
51k
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