Change the Rules Distributed data apps with.NET Zlatko Knezevic Developer Evangelist Microsoft

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

What Is Microsoft Marketplace DataMarket What Is Microsoft Marketplace DataMarket? Michael Stiefel
Dhananjay Kumar
SharePoint 2010 Client Side Object Model. Agenda Introduction The Problem Client side vs Server Side Client Side Object Model – How it works – What can.
.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
Shyam Pather Development Manager Microsoft Session Code: DTL402.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
Jeff Derstadt Senior Development Lead Microsoft Corporation Patterns & Architecture.
UNIT-e Research & Development Microsoft Technology Day Stephen Cain (System Architect)
T Sponsors Sameer Chabungbam Principal Program Manager, Microsoft Connector API Apps BizTalk Summit 2015 – London ExCeL London | April 13th & 14th.
OData Data Sources Clients Web Browsers (Internet Explorer, Firefox, …) Web Browsers (Internet Explorer, Firefox, …) Mobile Phones (Android,
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
WCF RIA Services - Querying and Updating Data SILVERLIGHTSHOW.NET WEBINARS SERIES BRIAN NOYES, CHIEF ARCHITECT, IDESIGN INC 2 FEB 2011.
The Jukebox Orian Paz & Yair Cleper Instructor: Viktor Kulikov Semester: Spring 2009 Final Presentation.
Jeremy Boyd Director – Mindscape MSDN Regional Director
(code name: Data Dude) Josh Robinson Aculix.
Building Ad-Hoc Reports using the SQL Server 2005 Reporting Services (SSRS) Report Builder (SQL307) Adrian Rupp Business Intelligence Solutions Specialist.
Eric Nelson Developer & Platform Group Microsoft Ltd
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Eric Nelson (or )
What’s New? – BCS 2013 Brett Lonsdale.  Co-founder of Lightning Tools  One of the hosts on the SharePoint Pod Show  Co-organizer of SharePoint Saturday.
Microsoft Confidential ASP.NET Broadest reach Most mature dev platform Silverlight Broad reach Rich, Interactive UI WPF Richest, Interactive UI.
Shyam Pather Development Manager Microsoft Corporation SESSION CODE: DEV324.
ADO.NET DATA SERVICES Mike Taulty Developer & Platform Group Microsoft UK
Service Interfaces Atom & AtomPub Atom-Enabled Data Services Drill Down: Windows Live Spaces Photos Data Services Framework Wrap-up.
Open Data Protocol * Han Wang 11/30/2012 *
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,
OData: There’s a Feed for That Pablo Castro Software Architect Microsoft Corporation
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
Oct * Brad Tutterow. VS 2008.NET 3.5LINQ Entity Framework  The ADO.NET Entity Framework is part of Microsoft’s next generation of.NET technologies.
HTML5 AND THE FUTURE JAVASCRIPT PLATFORM Marcelo Lopez Ruiz Senior Software Design Engineer Microsoft Corporation.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
2008 Summer Road Trip Welcome! Summer Roadtrip Overview Showcase of 2008 Launch Wave offerings End to end application build with Visual Studio 2008.
1 ADO.NET Data Services Mike Taulty Developer & Platform Group Microsoft Ltd
Implementing OData: How to Create a Feed for That Mike Flasko Lead Program Manager Microsoft Corporation
March 15 – 17, Las Vegas Sascha P. Corti Microsoft
Entity Framework 7: What’s New? Ricardo Peres Technical Evangelist at Simplifydigital. Microsoft
2 Behind every great site, there is great data Eric Nelson Developer Evangelist Microsoft UK
Share your Excel workbooks in the web Use slicer targets to optionally filter dashboard items Interact with your workbook with all of the rich.
Data Access Methodologies: When to choose what (ADO.NET, Entity Framework, WCF Data Services) Wriju Ghosh Lead Partner Consultant, Microsoft.
Excel Services Displays all or parts of interactive Excel worksheets in the browser –Excel “publish” feature with optional parameters defined in worksheet.
Exploring Networked Data and Data Stores Lesson 3.
Virtual techdays INDIA │ November 2010 SharePoint 2010 – Your one stop shop for all portal requirements Saranya Sriram │ Developer Evangelist, Microsoft.
Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft
2 ADO.NET Data Services for the Web Mike Flasko Program Manager, Microsoft “Project Astoria”
Comprehensive Flexible Global Storage and Search Responsive Available Secure Manageable Federation Coordination Consolidation Transformation Synchronization.
Introduction ITEC 420.
Introducing the Microsoft® .NET Framework
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.
 .NET CORE
Visual Studio Tools for Office 2005
Entity Framework By: Casey Griffin.
IBM Data Server Gateway for OData
Entity Framework 4 and WCF Data Services 4
ADO.NET Entity Framework
ADO.NEXT Advances in Data Access for 2008
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Accessing Data in a .NET Web Application
Tech Ed North America /1/ :36 AM Required Slide
Pablo Castro Software Architect Microsoft Corporation
Maxim Lukiyanov Program Manager Microsoft Corporation
Visual Studio + SQL Server Is Better
WCF Data Services and Silverlight
Mark Quirk Head of Technology Developer & Platform Group
Visual Studio 2010 and .NET Framework 4 Training Workshop
.NET Framework V3.5+ & RESTful web services
SQL Azure to .NET Developers
Presentation transcript:

Change the Rules Distributed data apps with.NET Zlatko Knezevic Developer Evangelist Microsoft

Data options in.NET world

Some history included Native interfaces ODBC as a abstraction layer OLE DB ADO.NET as a wrapper with.NET – With factories in 2.0 world ORMs as of 3.0

Today, things are different Client-server is a past paradigm Services talking to one another Distribution of data, applications, infrastructure TDD/DDD/BDD as a development practice

SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …

Change the Rules ENTITY FRAMEWORK 4.0

Entity Framework 1.0 had too many pain points The designer! Model First not supported Poor support for Stored Procedures No Pluralization/Singularization Foreign Keys hidden Lazy Loading not supported Missing LINQ Operators vs LINQ to SQL Generated SQL unreadable No support for Plain Old CLR Objects N-Tier difficult

New in Entity Framework 4 Model-first development Automatic pluralization Foreign keys in models POCO class support (Add-in) Lazy loading T4 Code Generation Template customization IObjectSet Virtual SaveChanges ObjectStateManager control Self-tracking entities SQL generation improvements More LINQ operator support LINQ extensibility ExecuteStoreQuery ExecuteStoreCommand SPROC import improvements Model defined functions WPF designer integration Code-First development (Feature CTP)

Better Tools and Design Experience Model First Templated code generation Stored Procedures Pluralization/Singularization Complex Types Better delete and search

More powerful/flexible runtime Deferred Loading (aka lazy loading) Foreign Keys surfaced More complete LINQ implementation ExecuteStoreQuery EntityFunctions and SqlFunctions Improvements to generated SQL

Persistence Ignorance First class support for Persistence Ignorance No modifications to your classes!

N-Tier Self Tracking Entities

Code Only database modelling All above is nice, but you still need the edmx file What if you want the code to be “the truth”? Code-only modelling means just that Currently only in CTP

Change the Rules DEMO

Change the Rules ODATA (WCF DATA SERVICES)

oData? What is it? Why should we care? How are we supposed to use it?

A little bit of history… MIX07 was a birthplace of “Astoria” Later renamed ADO.NET Data Services Requirements for web data services – Plain HTTP – Uniform patterns – Focus on data – Abstract

Basic idea The basic idea is simple You already have this HUGE platform and API thing Why not build on top of it?? In a way that is friendly and automatic??

REST REPRESENTATIONAL STATE TRANSFER

OData Uniform way of representing structured data – Atom, JSON formats Uniform URL conventions – Navigation, filtering, sorting, paging, etc. Uniform operations – Addressability – GET, POST, PUT, DELETE always mean the same

Expose Any data over HTTP Through either JSON or XML (Atom) Your source needs to be IQueryable Works like a charm for Entity Framework contexts

Data Source Options Data Services Runtime HTTP traffic Entity Framework Provider Reflection Provider Custom Provider.NET Classes [+ LINQ provider] Entity Framework Database Data Source Custom providers: - IDataServiceMetadataProvider - IDataServiceQueryProvider Updates: - IDataServiceUpdateProvider Special features: - IDataServiceStreamProvider - IDataServicePagingProvider

Consume Data on any platform Bindings and POC code for – PHP – Java – JavaScript Client libraries for.NET Power Pivot and other means

business logic store service interface

oData point: SharePoint 2010 SharePoint needed 2 things in this space Flexible data interface – Maximize reach, minimum barrier of entry – Data centric, but enforcing business logic Developer story – Libraries for as many clients as possible – Great Visual Studio integration

oData consumer: PowerPivot “Self-service business intelligence” – Let people find and use their own data – …but where’s the data? Broad direct database access is impractical – OData feeds expose data over application logic – PowerPivot can handle OData natively Reports often represent the best data sources – All reports in Reporting Services are now OData feeds

Servers WCF Data Services SharePoint 2010 SQL Server Reporting Services 2008 R2 SQL Azure IBM WebSphere eXtreme Scale Microsoft Media Room WCF RIA Services Services Netflix Mix 2010 Nerd Dinner Vancouver’s vanGuide Open Government Data Initiative Open Science Data Initiative Microsoft Codename “Dallas” City of Edmonton Clients Excel + PowerPivot LINQPad OData Explorer Client libraries.NET Silverlight Windows Phone 7 Series Javascript Java Objective-C PHP

Change the Rules DEMO

Change the Rules SQL SERVER 2008 R2

SQL Server 2008 at a glance A lot of improvements for next-generation apps Beyond rational data types – Spatial Data type – Hierarchy data type Improvements in rational engine – FILESTREAM data type – New DateTime functions Support for sparse columns Better management And a lot more…

SQL Server 2008 R2 Adding on the solid foundation that is SQL 2008 Improvements in management, reporting and federation StreamInsight™ Support for oData in Reporting Services Better business insight with new BI advances – PowerPivot

Visual Studio 2010 & SQL Server 2008 R2 Continued “DB professional” support – Offline database projects – Provides a place for the DB in ALM cycle New T-SQL IDE and developing features Data-tier Application projects

Data-tier Applications Improved Transact-SQL IDE Supports offline development, refactoring, versioning, policy Builds single unit of deployment containing all database objects (DACPAC) Registered with SQL Server when deployed