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
Web API
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
canoas
May 09, 2012
Programming
300
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Web API
RESTful Services using ASP.NET Web API
canoas
May 09, 2012
Transcript
26 slides
08-05-2012 DevScope José António Silva Seminários UTAD
• • • www.devscope.net 2
www.devscope.net 3 Source: www.programmableweb.com – current APIs: 4535 + 100%
+ 50% + 3400% + 235% + 71% + 86% + 46% + 63%
Reach More Clients
Scale with the Cloud
Embrace HTTP
• • • • • • • • • www.devscope.net
7
• • • • www.devscope.net 8
ASP.NET MVC www.devscope.net 9 WCF Web HTTP WCF REST Starter
Kit WCF Web API
• • • • • • • • • •
• • • www.devscope.net 10
• • • • •
demo
• • • • www.devscope.net 14
• • • www.devscope.net 15
• • • • • www.devscope.net 16
• • • • www.devscope.net 17
demo Fiddler (HTTP debugger): http://fiddler2.com/Fiddler2/version.asp GET /contact/3 HTTP/1.1 Host: localhost:33936
Connection: keep-alive Origin: http://localhost:33936 X-Requested-With: XMLHttpRequest Accept: text/xml Referer: http://localhost:33936/ Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8,pt;q=0.6,pt-PT;q=0.4 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: CompositeVersionString_-668430239_1655095278=2.0.3947.24461
• • • www.devscope.net 19
demo http://localhost:33936/Contacts?$sort=Name http://localhost:33936/Contacts?$top=2 http://localhost:33936/contacts?$filter=ContactId%20eq%201
• • • • • www.devscope.net 21
• • • • • • www.devscope.net 22
• • • • www.devscope.net 24
• www.devscope.net 25
www.devscope.net 26
• • • • http://www.iis.net/webpi • http://www.tugberkugurlu.com/archive/getting-started-with-asp-net-web-api-tutorials-videos-samples • http://stephenwalther.com/blog/archive/2012/03/05/introduction-to-the-asp-net-web-api.aspx www.devscope.net
28
None
More Decks by canoas
See All by canoas
Branding your AD FS login page
canoas
0
280
#nodejs
canoas
1
110
2015-02-20 Microsoft-IoT-Camp-Demo
canoas
0
190
IDC Testing Portugal - TFS - Microsoft
canoas
0
93
An Introduction to CEP with StreamInsight
canoas
1
230
Other Decks in Programming
See All in Programming
Performance Optimization With LLMs
xleitix
0
260
Spec-driven Development with AI
simas
PRO
0
2.3k
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
180
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
350
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
880
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
190
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
240
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6k
AI Augmentation Techniques with Liberty
ivargrimstad
1
490
将来の標準フォーマッター?ktfmtを深堀る
t45k
0
110
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.3k
It's Worth the Effort
3n
188
29k
Thoughts on Productivity
jonyablonski
76
5.5k
Amusing Abliteration
ianozsvald
1
390
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
Navigating Weather and Climate Data
rabernat
0
590
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
940
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Accessibility Awareness
sabderemane
1
300