Building and Consuming REST-based Data Services for the Web

Slides:



Advertisements
Similar presentations
.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Advertisements

ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server Developer Tools, Codename “Juneau” Database Services Sanjay Nagamangalam Principal Program Manager SQL Server Manageability.
 Pablo Castro Software Architect Microsoft Corporation TL08.
Session 1.
Introducing Visual Studio ® LightSwitch™ Andrew Coates Microsoft DEV201 #auteched #dev201.
 Bertrand Le Roy Senior Program Manager Lead Microsoft Corporation PC32.
Service Interfaces Atom & AtomPub Atom-Enabled Data Services Drill Down: Windows Live Spaces Photos Data Services Framework Wrap-up.
Project “Astoria” first announced in Mix 2007 Shared early prototypes, got tons of feedback Now we’re talking about the real deal Production quality bits,
1 Jon Box Architect Evangelist Microsoft John Mullinax Platform Strategy Advisor Microsoft.
 Mike Flasko Program Manager Microsoft Corporation TL07.
Tony Goodhew Product Planner DEV328.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
Why data services? Common challenges when creating rich web applications Creating rich web applications with data services Future scenarios & roadmap.
1 ADO.NET Data Services Mike Taulty Developer & Platform Group Microsoft Ltd
Shyam Pather Development Manager Microsoft Session Code: DTL208.
2 ADO.NET Data Services for the Web Mike Flasko Program Manager, Microsoft “Project Astoria”
2 Developing Data-Centric Web Applications Jonathan Carter Technical Evangelist Microsoft Corporation Session code: WUX311.
MIX 09 6/5/2018 9:14 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Jim Nakashima Program Manager – Cloud Tools Microsoft Corporation
Microsoft Ajax Taking Ajax to the Next Level
Tech Ed North America /13/ :13 AM Required Slide
End to end app development ASP.NET, WCF, WF, EF, & RIA Services
Office Power Hour New developer APIs and features for Apps for Office
ADO.NEXT Advances in Data Access for 2008
TL20 – Entity Framework Futures
Building modern web applications with Visual Studio and Web Essentials
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
MIX 09 11/23/2018 6:07 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
What’s new in Visual Studio for web developers
Accessing Data in a .NET Web Application
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
Best Practices: Creating OData Services using WCF Data Services
Tech·Ed North America /7/2018 2:51 PM
Your Devices + OData + Azure = 
MIX 09 12/9/2018 6:08 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
ASP.NET 4.5 loves HTML5, CSS3 & JavaScript
Tech Ed North America /1/ :36 AM Required Slide
Jim Nakashima Program Manager Cloud Tools
ASP.NET 4 Core Runtime for Web Developers
Tech·Ed North America /17/2019 1:47 AM
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
Pablo Castro Software Architect Microsoft Corporation
Building Silverlight Apps with RIA Services
From Development to Production: Optimizing for Continuous Delivery
Maxim Lukiyanov Program Manager Microsoft Corporation
Building Business Applications in LightSwitch
MIX 09 2/28/2019 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
OData Futures: creating the web of data
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
Silverlight Debugging
From Development to Production: Optimizing for Continuous Delivery
Ward Bell VP Technology IdeaBlade, Inc.
4/19/2019 1:57 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
5/1/2019 3:29 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Building RESTful services using OData
Шитманов Дархан Қаражанұлы Тарих пәнінің
Code First Development in Microsoft ADO.NET Entity Framework 4.1
7/19/2019 2:53 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /27/2019 6:20 AM
Erik Porter Program Manager ASP.NET Microsoft Corporation
Building Data-Driven Applications Using "Quadrant" and "M"
8/23/ :09 PM #DEV332 Building Modern, HTML5-Based Business Apps on Windows Azure and Office 365 with Visual Studio LightSwitch Andrew
9/14/2019 6:51 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
利用IIS部署與維護 SOA應用程式的技巧
Presentation transcript:

Building and Consuming REST-based Data Services for the Web Session Code: WUX313 Building and Consuming REST-based Data Services for the Web Mike Flasko Program Manager Microsoft

Agenda Why data services Characteristics of a data service Creating and consuming services Summary: A data platform for the web

Silverlight Applications Why Data Services? HTML + Javascript Data (XML, etc) DLL + XAML Data (XML, etc) Data (XML, etc) Mashup UI Data Feeds AJAX Applications Silverlight Applications Online Services Mashups

Exploring Data Services Clients (Tools, Libraries, etc) HTTP (AtomPub) ADO.NET Data Services Framework SQL Data Services SQL Server (Cloud data service) (On premises data service)

A REST Interface for Data Entity Data Model URIs Every resource is addressable via a URI Flexible URI scheme for data retrieval HTTP Data as resources, HTTP verbs to manipulate it Leverage caching, proxies, authentication, … Formats AtomPub, JSON The underlying model Entities and associations  resources and links

Creating Data Services HTTP Create services directly from Visual Studio Various data sources Entity Framework LINQ providers Model-driven Structural description in Entity Data Model Schema shapes the service contract Hosting/HTTP Listener Data Services Runtime IQueryable [+ IUpdatable] Data Access Layer Entity Framework Custom LINQ provider Relational database Other sources

Refining and Securing Services Visibility Per-container visibility control Read, Query and Write options Authentication Integrate with hosting environment ASP.NET, WCF or custom authentication schemes Interceptors Execute before HTTP GET/PUT/POST/DELETE Enable validation, custom row-level security policies Maintain the REST interface Service Operations Custom entry points, e.g. /MyTags?startDate='2007-01-01' Composable, follow URI scheme

Additional Service Considerations…. Optimistic Concurrency Integrates with EF notion of concurrency tokens per type Uses existing HTTP semantics (ETags) Batching Create responsive, operation intensive applications Enables “all or nothing” groups of CUD operations Versioning Simple versioning scheme Error Handling & Contracts Map exceptions in service-tier to platform independent, HTTP-friendly responses Debug mode to control verbosity of error information on the wire

Consuming Data Services An HTTP stack is enough AtomPub clients .NET Framework & Silverlight 2 LINQ to ADO.NET Data Services Framework AJAX (CodePlex) ASP.NET Data Source Control

Summary Data Service Clients Tools HTTP (AtomPub, …) Domain Specific (Visual Studio, …) Data Service Clients (Any HTTP client, .NET, SL, ASP.NET, ASP.NET AJAX, …) HTTP (AtomPub, …) Windows Azure Tables ADO.NET Data Services Framework (on premise or hosted) SQL Data Services Domain Specific Building Block

Roadmap ADO.NET Data Services Framework shipped as part of .NET FX 3.5 SP1 Updated AJAX client for data services released just before PDC08 Windows Azure Tables & SQL Data Services CTPs announced at PDC 08 Working on the design of data services V2 features now – let us know what you think! “Astoria Offline” Alpha Preview by EOY

What do you think? Transparent Design Process Design notes posted to the team blog as we go (http://blogs.msdn.com/astoriateam) Jump on a post early and its more likely your comments will shape the product Watch team members describe features in an uncomfortable setting

Q & A FRIDAY - DAY 5 12:45 - 13:15 Meet me in the Ask-the-Experts pavilion! FRIDAY - DAY 5 12:45 - 13:15

Resources Team blog: ADO.NET Data Services Forum http://blogs.msdn.com/astoriateam ADO.NET Data Services Forum http://forums.microsoft.com Data developer center: http://msdn.microsoft.com/data Email me: mike.flasko@microsoft.com

Related Content Data Services Chalk Talk WUX09-IS Creating hybrid application/platform web properties using REST services (Friday 9am @ Room 134) Entity Framework Sessions DAT 203 - Learning the Entity Framework DAT 307 – An In Depth Look at the Entity Framework

Now extended from 2 to 24 hours after session for more chance to WIN Don’t forget to complete your session feedback forms via the CommNet terminals or the Registered Delegate Pages for your chance to win a HTC Touch Dual! With an amazing line up of international speakers, there are even more chances to win an evaluation prize! So make sure you submit feedback for all the sessions you attend! http://www.microsoft.com/emea/teched2008/developer/feedback.aspx

Your feedback is important to us Your feedback is important to us! Help us to understand what really matters to you! Submit your Overall Conference Feedback via the CommNet terminals or the Registered Delegate Pages for your chance to win an Inspiron Mini Notebook! http://www.microsoft.com/emea/teched2008/developer/feedback.aspx

© 2008 Microsoft Corporation. All rights reserved © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.