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.

Slides:



Advertisements
Similar presentations
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Advertisements

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
Interactivity Navigating a data model Working with large quantities of data Entry Editing and adding data User feedback and validation Presentation.
Building a social networking portal on Windows Azure in 1 hour Saranya Sriram Developer Evangelist Microsoft, India.
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.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
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,
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
 Mike Flasko Program Manager Microsoft Corporation TL07.
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 …
Azure Services Platform Update James Conard Sr. Director Developer & Platform Evangelism Microsoft Corporation.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Why data services? Common challenges when creating rich web applications Creating rich web applications with data services Future scenarios & roadmap.

customer.
1 ADO.NET Data Services Mike Taulty Developer & Platform Group Microsoft Ltd
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

2 ADO.NET Data Services for the Web Mike Flasko Program Manager, Microsoft “Project Astoria”
Building and Consuming REST-based Data Services for the Web
MIX 09 4/17/2018 4:41 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
The Microsoft Web Platform, Starring IIS and Your App
Jim Nakashima Program Manager – Cloud Tools Microsoft Corporation
9/11/ :22 PM What’s New for Silverlight and Windows Presentation Foundation (WPF) Developers in Microsoft Visual Studio 2010 Mark A Wilson-Thomas.
End to end app development ASP.NET, WCF, WF, EF, & RIA Services
Office Power Hour New developer APIs and features for Apps for Office
Office 365 Development.
TL20 – Entity Framework Futures
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
What’s new in Visual Studio for web developers
Title of Presentation 12/2/2018 3:48 PM
Tech Ed North America /1/ :36 AM Required Slide
Jim Nakashima Program Manager Cloud Tools
ASP.NET 4 Core Runtime for Web Developers
LitwareHR v2: an S+S reference application
Pablo Castro Software Architect Microsoft Corporation
Working across the .NET Continuum
Building Silverlight Apps with RIA Services
Building Business Applications in LightSwitch
Introduction to VSTS Database Professional
MIX 09 2/28/2019 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Brian Keller Senior Technical Evangelist Microsoft
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
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.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
What’s new in Visual Studio 2012
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
Office 365 Development July 2014.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Tech·Ed North America /27/2019 6:20 AM
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
Presentation transcript:

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 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.

Modeling RESTful Data Services: Present and Future 6/5/2018 9:14 AM Modeling RESTful Data Services: Present and Future Pablo Castro Software Architect Microsoft Corporation © 2007 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.

Agenda On data services for the web Modeling data services Structure Security Behavior What’s next… Short- and long-term plans

Scenarios for Data Services Data in RIAs Silverlight/AJAX apps Client-server designed and deployed together Easy deployment Functionality surfaces in user interface Data-Centric Services Online services Loosely coupled clients and servers Easy access State, functionality through service interface

REST-ish Service Interfaces RESTful State and functionality in terms of resources Expose uniform interface Follows REST constraints Client-server Stateless Layered Cacheable Web Friendly Not necessarily RESTful Heavy use of URLs Not just for addressing GET/POST simple XML/JSON documents Low barrier of entry

What does the service look like? Service structure

Service Structure Flexible interface != database interface Model as appropriate for a service interface Application-level concepts Latency, payload size considerations Consider optimistic concurrency requirements Server-side schema versus service schema Access rights control service level schema Hidden, read-only, non-queryable, POST-only sets Maintain full capability for server-side code

Who can access the service? Authentication

Authentication Consider your target scenario AJAX/Silverlight applications “Forms” authentication works well Login in HTML forms or within Silverlight Wide-open RESTful service interface Standard schemes much more important Basic + SSL often does it Digest, certificates provide more robust options “Integrated” is great for corporate networks

Who can do what with the service? Access Control

Access Control Use query and change interceptors Policies that apply regardless of access path Query path composition-based, highly efficient Role-based access control For actions Row-level security For entities

Behaviors in a resource-centric interface? State-based behavior

Behavior on State Transitions Custom methods break the uniform interface Still possible if needed: “Service operations” Consider WCF/SOAP service if it’s all methods Behavior attached to state transitions ProcessSalesOrder()  Order.Status=“Ready” Change interceptors to detect transitions Perform secondary side-effects Kick-off workflows …

Short and long term plans What's next… Short and long term plans

ADO.NET Data Services v1.5, CTP 1 6/5/2018 9:14 AM announcing ADO.NET Data Services v1.5, CTP 1 © 2007 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.

ADO.NET Data Services v1.5 Focused on service capabilities Row count – everybody asked for this :) Feed customization BLOBs with streaming interface for media Data-binding for the .NET and Silverlight Server-driven paging “Fancy” providers with full flexibility Installs without overwriting 1.0 runtime CTP1 available now, RTM around this fall

ASP.NET AJAX and Data Services New version of ASP.NET AJAX coming Preview 4 available in codeplex now Built-in support for Data Services Great templates and data binding features It all works together 

Use Data Services for a REST interface over SDS SQL Data Services SDS  full relational store in the cloud Use existing applications and know-how Use existing database APIs Host in Azure or access over the Internet Use Data Services for a REST interface over SDS Azure Client/ Browser SDS Web App Azure Client/ Server/ Browser SDS

.NET RIA Services Asks for Data Services programming model Server: Better business logic framework Client: Better UI and validation integration Integrate with “Domain Service” classes .NET RIA Services use Data Services for queries, updates and data exchange Author Data Services using .NET RIA Services

.NET RIA Services public class CatalogService : DataService<Catalog> { // initialization, interceptors, etc. } public class Catalog : LinqToEntitiesDomainService<BikesEntities> public IQueryable<Product> GetProducts() return Context.Products .Where(p => p.Status == "Active"); public void UpdateProduct(Product current, Product original) // ... Data Service exposes domain through RESTful interface Domain Service encapsulates business logic

"Astoria Offline" Sync-enabled service interfaces End-to-end solution for building offline applications Client and server libraries, Visual Studio integration, etc. Standard disclaimer: early exploration, just thoughts for now :)

Summary You can build fully functional RESTful services with ADO.NET Data Services Behaviors, access control, etc. can be modeled using a resource-centric interface We are extending data services to provide more base functionality Future focus on better business logic programming model and sync/offline

Resources Data Services Team Blog ADO.NET Data Services page @ MSDN http://blogs.msdn.com/astoriateam ADO.NET Data Services page @ MSDN http://msdn.microsoft.com/data ADO.NET Data Services forums http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataservices/threads/

Please Complete an Evaluation Form Your feedback is important! MIX 09 6/5/2018 9:14 AM Please Complete an Evaluation Form Your feedback is important! Evaluation forms can be found on each chair Temp Staff at the back of the room have additional evaluation form copies © 2009 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.

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 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. © 2007 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.