Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Datengetriebene Web-APIs mit Entity Framework,...
Search
Manfred Steyer
PRO
November 26, 2016
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Datengetriebene Web-APIs mit Entity Framework, API Summit 2016
Manfred Steyer
PRO
November 26, 2016
More Decks by Manfred Steyer
See All by Manfred Steyer
Human in the Loop Beyond Approval: Toward True Collaboration @FrontMania 2026 in Utrecht
manfredsteyer
PRO
0
57
Agentic UI: Where the Agent meets the User @FrontMania 2026 in Utrecht
manfredsteyer
PRO
0
57
A2UI as an Architecture Question: Agentic UI Between AI Freedom and Control
manfredsteyer
PRO
0
92
AI-Ready Angular Architectures Architecture as Executable Contract
manfredsteyer
PRO
0
250
Nostalgia Meets Technology: Super Mario with TypeScript @BASTA 2026 in Mainz, Germany
manfredsteyer
PRO
0
49
Beyond Chatbots: Agentic UI with Open Standards @AGNTcon 2026 in Amsterdam
manfredsteyer
PRO
0
150
Next-Level Frontends: Agentic Web UIs Under the Hood
manfredsteyer
PRO
0
110
Agentic UI with Open Standards @ngGraz Sep 2026
manfredsteyer
PRO
0
120
Agentic UI with Open Standards @GDG Salzburg, Bgl & Prishtina
manfredsteyer
PRO
0
99
Other Decks in Programming
See All in Programming
ジョジョの世界をXRで再現する
mofurune
0
160
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
740
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
130
AWSに止められる覚悟してますか?
morizo_1984
2
530
wkhtmltopdfの次どうするか問題2026
willnet
2
1.9k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
210
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
490
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
150
Domain-Driven Transformation
hschwentner
2
2.3k
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
250
contenteditable と日本語入力に向き合う
colorful12
0
200
Featured
See All Featured
Balancing Empowerment & Direction
lara
6
1.3k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
A Tale of Four Properties
chriscoyier
163
24k
A designer walks into a library…
pauljervisheath
211
25k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
BBQ
matthewcrist
90
10k
Utilizing Notion as your number one productivity tool
mfonobong
4
620
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
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