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
Datengetriebene Web-APIs mit Entity Framework,...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Manfred Steyer
PRO
November 26, 2016
Programming
0
130
Datengetriebene Web-APIs mit Entity Framework, API Summit 2016
Manfred Steyer
PRO
November 26, 2016
Tweet
Share
More Decks by Manfred Steyer
See All by Manfred Steyer
Premier Disciplin for Micro Frontends Multi Version/ Framework Scenarios @OOP 2026, Munic
manfredsteyer
PRO
0
12
Beyond the Basics: Signal Forms
manfredsteyer
PRO
0
56
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
130
All About Angular‘s New Signal Forms
manfredsteyer
PRO
0
27
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
260
Your Architecture as a Crime Scene?Forensic Analysis
manfredsteyer
PRO
0
180
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
270
Your Architecture as a Crime Scene:Forensic Analysis
manfredsteyer
PRO
0
130
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
250
Other Decks in Programming
See All in Programming
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
CSC307 Lecture 05
javiergs
PRO
0
500
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
CSC307 Lecture 03
javiergs
PRO
1
490
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
100
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
460
CSC307 Lecture 09
javiergs
PRO
1
840
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
220
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
22k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
93
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
120
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Deep Space Network (abreviated)
tonyrice
0
49
Building the Perfect Custom Keyboard
takai
2
690
Skip the Path - Find Your Career Trail
mkilby
0
57
Raft: Consensus for Rubyists
vanstee
141
7.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Transcript
Datengetriebene Web-APIs mit Entity Framework Manfred Steyer twitter.com/ManfredSteyer ManfredSteyer
Über mich … Manfred Steyer SOFTWAREarchitekt.at Trainer & Consultant GDE
& MVP EF & ASP.NET & Angular Page 2 ManfredSteyer
Ziel Möglichkeiten für datengetriebene Web-APIs mit EF und ASP.NET Web
API anhand eines Beispiels aufzeigen Folie 3
Nicht-Ziele Einen Client entwickeln Einführung in Entity Framework Einführung in
Web API Anderen Sessions Konkurrenz machen Folie 4
Didaktik Fallbeispiel Live-Coding Folie 5
Inhalt Warum datenbasierte APIs? Überblick: Web API und EF Lazy
Loading und Web APIs Eager Loading und Serialisierungsoptionen Change Tracking in verteilten Systemen Abfragen via HTTP mit OData Folie 6
Warum datenbasierte APIs?
Services sind das Rückgrat einer Anwendung Folie 8
HTTP-Services, Web APIs GET /flights/Graz-Frankfurt?date=2016-12-24 HTTP/1.1 Host: www.softwarearchitekt.at Accept: text/json
HTTP/1.1 200 OK Content-Type: text/json [ {"Time": "1700", "FlightNumer":"LH4711", ...}, {"Time": "1800", "FlightNumer":"LH4712", ...}, … ]
FALLBEISPIEL Page 10
Aufbau Folie 11
DEMO Page 12
ODATA Page 14
Was ist OData? Offener Standard Definiert wie Daten über HTTP
abgefragt werden können ?$filter=Sterne ge 3&$orderby=Bezeichnung desc Definiert wie Daten über HTTP bearbeitet werden können Folie 15
NuGet-Package Microsoft.AspNet.Odata Folie 16
OData-Abfragen aktivieren Folie 17 [EnableQuery] public IQueryable<Hotel> Get() { […]
}
DEMO Page 18
Zusammenfassung Lazy Loading deaktivieren Serializer auf zyklische Verweise vorbereiten (Eager
Loading) Self Tracking Entities OData für flexible Abfragen Folie 26
[mail]
[email protected]
[web] SOFTWAREarchitekt.at [twitter] ManfredSteyer Contact