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
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
9
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
CSC307 Lecture 06
javiergs
PRO
0
690
CSC307 Lecture 02
javiergs
PRO
1
780
Implementation Patterns
denyspoltorak
0
290
CSC307 Lecture 01
javiergs
PRO
0
690
CSC307 Lecture 03
javiergs
PRO
1
490
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.6k
Architectural Extensions
denyspoltorak
0
290
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
We Are The Robots
honzajavorek
0
160
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
320
Accessibility Awareness
sabderemane
0
52
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
A better future with KSS
kneath
240
18k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
250
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
220
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
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