Avalon – Using Data In Your Applications

Slides:



Advertisements
Similar presentations
Microsoft Dynamics AX 2009 Integration and Development with.NET Framework Enterprise Portal.
Advertisements

DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Chapter 12: Using ADO.NET 2.0 Programming with Microsoft Visual Basic 2005, Third Edition.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Advanced Deployment Topics – MSI Enhancements Om Sharma Program Manager, Windows Installer Microsoft Corporation.
Future Directions for Leveraging Advanced XML Tools and Building Custom XML Solutions Denise Draper DAT321 Microsoft Corporation.
Some Basic Database Terminology
Introduction to ADO.Net and Visual Studio Database Tools ISYS 512.
Target: dependency property Source: any public property CLR and WPF properties Target: dependency property Source: any public property CLR and WPF properties.
Using the Actions Pane, Host Controls, and Smart Tags
DEV397 Windows Forms Databinding Mike Henderlight Program Manager Windows Forms Microsoft Corporation.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
DAT305 Boost Your Data-Driven Application Development Using SQL Server Centric.NET Code Generator Pascal Belaud Microsoft France.
DAT 379 XML Today And Tomorrow Mark Fussell Lead Program Manager Microsoft Corporation.
Delivering Excellence in Software Engineering ® EPAM Systems. All rights reserved. Data Binding in ASP.NET.
Microsoft Dynamics NAV 2009 and Architecture Overview Name Title Microsoft Corporation.
“ WinFS” Future Directions: Building Data-Centric Applications Using Windows Presentation Foundation “Avalon” and Windows Forms Ramesh Nagarajan DAT310.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
1 Chapter 20 – Data sources and datasets Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
TRAINING SESSIONS.NET Controls.  Standard Controls  Label  Textbox  Checkbox  Button, Image Button, Image control  Radio Button  Literal  Hyperlink.
Introduction to ADO.Net and VS Database Tools and Data Binding ISYS 350.
Lap Around Windows Presentation Foundation Rob Relyea PRS305 Lead Program Manager Windows Presentation Foundation
Making the Most of WinForms 2.0 Data Binding Rajiv Sodhi Microsoft India.
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Joe Stegman Title: Lead Program Manager Session code.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
OFC311 Developing Microsoft Office InfoPath 2003 Solutions: Technical Drilldown Part 1 Tudor Toma Group Program Manager Office Microsoft Corporation.
Module 10: Data Access in ASP.NET. Overview Overview of the ASP.NET Data Access What is Data Access List of Data Source Control What is Data Bound How.
Part of the Microsoft.NET Framework 3.0 Tomer Shamam.NET Technologies Expert Sela Group
DAT 390 Advanced ADO.NET Programming Techniques Jackie Goldstein Renaissance Computer Systems
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
Using Data in Microsoft Visual Studio 2005 Tools for the Microsoft Office System Mike Hernandez Product Manager Visual Studio Tools for Office.
DAT303 - Entity Framework: Application Patterns Pablo Castro Technical Lead, Microsoft Corporation.
Building Enterprise Applications Using Visual Studio®
Mike Harsh PRSL001 Program Manager Microsoft Corporation
Shanku Niyogi PRS 312 Group Program Manager Microsoft Corporation
Introduction to Database Processing with ADO.NET
Visual Basic 2010 How to Program
5/13/2018 8:08 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
5/20/2018 2:53 AM © 2006 Microsoft Corporation. All rights reserved.
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Visual Studio Tools for Office 2005
2007 Office System Integration
Shanku Niyogi PRS 312 Group Program Manager Microsoft Corporation
MGB 2003 Adam Calderon – C# MVP Principal Engineer Interknowlogy
Build data-driven collection and list apps using XAML
Searching Business Data with MOSS 2007 Enterprise Search
Microsoft Dynamics.
XAML User Interface Creation in C#
WCF (Indigo): Under the Hood of the Channel Layer
Reaching more customers with accessible Metro style apps using HTML5
Searching Business Data with MOSS 2007 Enterprise Search
ADO.NEXT Advances in Data Access for 2008
Accessing Data in a .NET Web Application
Building Rich, Interactive Controls for Windows “Longhorn”
Tech Ed North America /1/ :36 AM Required Slide
What's New in Visual Studio 2005
Microsoft Dynamics.
"Avalon": Building Applications With Controls And Dialogs
DEV312 基于WPF的数据绑定.
Visual Studio 2010 SharePoint Development Tools Overview
Build data-driven collection and list apps using ListView in HTML5
TechEd /3/ :48 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Chapter 10 Accessing Database Files
ADO.NET Entity Framework
Windows Forms in Visual Studio 2005: An in-depth look at key features
Introduction to ASP.NET Parts 1 & 2
SharePoint 2007 Developer Overview Collaboration BI Features
Mark Quirk Head of Technology Developer & Platform Group
9/8/ :03 PM © 2006 Microsoft Corporation. All rights reserved.
Introduction to ADO.Net and Visual Studio Database Tools.
Presentation transcript:

Avalon – Using Data In Your Applications 7/19/2018 2:50 AM Session Code: CLI306 Avalon – Using Data In Your Applications Namita Gupta Program Manager Microsoft Corporation namitag@microsoft.com © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Agenda UI binding Flexible Styling of data 7/19/2018 2:50 AM Agenda UI binding Flexible Styling of data Integration with Data Models What you should do until Longhorn ships © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

UI Binding Bind to any property of any Element 7/19/2018 2:50 AM UI Binding Element Bind to any property of any Element Binding to any property of any CLR object Dynamic TwoWay Transformable Property Transformer Binding Collection “Data Item” Property © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Creating Simple Bindings 7/19/2018 2:50 AM Creating Simple Bindings Compact Syntax <TextBox Text=“*Bind(Path=CaseName)”/> Verbose Syntax <TextBox> <TextBox.Text> <Bind Path=“CaseName”/> </TextBox.Text> </TextBox> Code Bind b = new Bind(); b.Path = “CaseName”; TextBox tb = new TextBox(); tb.SetBinding(TextBox.TextProperty, b); TextBox Element Text Binding LegalCase CLR Object CaseName class LegalCase{ string CaseName {get;set;} … } © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

DataContext DataContext DockPanel class LegalCase{ 7/19/2018 2:50 AM DataContext class LegalCase{ string CaseName {get;set;} string Client {get;set;} double HoursWorked{get;set;} double Cost{get;set;} } DataContext DockPanel Text TextBox Text Text Text Text CaseName Client Cost © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

7/19/2018 2:50 AM UI Binding © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Agenda UI binding Flexible styling of data 7/19/2018 2:50 AM Agenda UI binding Flexible styling of data Integration with Data Models What you should do until Longhorn ships © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

UI-Centric Model “Data” as UI Elements <ListBox> 7/19/2018 2:50 AM UI-Centric Model “Data” as UI Elements <ListBox> <ListItem>Melissa vs Dick</ListItem> <ListItem>Harry vs Sally< /ListItem> <ListItem>Luke vs Darth Vader</ListItem> <ListItem>Joe vs Ben</ListItem> </ListBox> SelectedItem returns a ListItem element Rendering is the UIElement © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Data-Centric Model Melissa vs Dick Controls understand data content 7/19/2018 2:50 AM Data-Centric Model Controls understand data content <ListBox> <LegalCase CaseName=“Melissa vs Dick”/> <LegalCase CaseName=“Harry vs Sally”/> <LegalCase CaseName=“Luke vs Darth Vader”/> <LegalCase CaseName=“Joe vs Ben”/> </ListBox> SelectedItem returns Selected LegalCase object Rendering is determined by Data Style <Style def:Name=“*typeof(LegalCase)”> <Style.VisualTree> <DockPanel> <Image Source=“images/case.png”/> <Text Text=“*Bind(Path=Name)”/></DockPanel> </Style.VisualTree> </Style> Melissa vs Dick © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Key Concepts Controls consume generic content 7/19/2018 2:50 AM Key Concepts Controls consume generic content - string, CLR objects, UIElement You define Presentation of the Content. Presentation is flexible, reusable and easily modifiable. © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Controls with Content Singular content (Button, Hyperlink) 7/19/2018 2:50 AM Controls with Content Singular content (Button, Hyperlink) ContentControl Content ContentStyle Plural Content (ListBox, Menu, ComboBox) ItemsControl Items ItemStyle Lazy instantiation of UI (Virtualization) © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Data Styling & Master Detail 7/19/2018 2:50 AM Data Styling & Master Detail © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

7/19/2018 2:50 AM Infragistics © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

-- Joe Dour, VP Infragistics 7/19/2018 2:50 AM “We were able to create a grid that supports hierarchical data by leveraging the ListBox control in the framework” “We were able to implement the grid without writing a single line of code for doing rendering, hit testing, scrolling or measuring text. All of this functionality, and more, we got for free” “In addition, the styling infrastructure of the framework allowed us to expose an incredible level of customization support for users of the control with minimal effort” -- Joe Dour, VP Infragistics © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Dynamic Collection And Views ICollectionChange Automatic update of UI for any inserts or deletes in the underlying data CollectionView Current Record semantics Sort Filter Multiple views over a collection We provide an implementation based on ArrayList © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

CollectionViews 7/19/2018 2:50 AM © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Agenda UI binding Flexible styling of data 7/19/2018 2:50 AM Agenda UI binding Flexible styling of data Integration with Data Models What you should do until Longhorn ships © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

7/19/2018 2:50 AM Data Models Easily use WinFS, Indigo, Xml, DataSet, all CLR objects in Avalon UI Out of the box set of DataSources to easily work with Data Models in Longhorn Asynchronous access to data Declarative solution Extensible model with Simple Interface © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WinFS – Local Data Store 7/19/2018 2:50 AM WinFS – Local Data Store Where all end-user data lives in Longhorn A data model built on relational database technology and NTFS A set of domain-specific schemas with extensibility for custom schemas Has API for queries that return strongly typed objects representing the data © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WinFS In Avalon Dynamic bindings to WinFS objects WinFSDataSource <WinFSDataSource.Query> <Query TargetType=“*typeof(LegalCase)” xmlns=“winfs”/> </WinFSDataSource.Query> </WinFSDataSource> WinFSDataSource Async data access Declarative solution © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

7/19/2018 2:50 AM Xml In Avalon Support Databinding to XML DOM and XPathDocument in Longhorn Enable binding using XPATH <TextBox Text= “*Bind(Path= Task/@TaskID)” /> TwoWay, transformable, dynamic databinding to nodes XmlDataSource Inline Xml Read Xml from file Async Load Xml from a server or Web service © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

ADO.NET DataSet Dynamic bindings to DataSet, DataTables and DataRows Enable binding to fields and walk relationships <TextBox Text=“*Bind(Path=CustomerOrders.Date)”/> SqlDataSource Async data load Declarative solutions © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

CaseBuilder – Xml, DataSet 7/19/2018 2:50 AM CaseBuilder – Xml, DataSet © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

WebServices Go see talk CLI 311 7/19/2018 2:50 AM WebServices Go see talk CLI 311 Using Indigo effectively in Avalon applications Correct way to do Asynchronous data access in Avalon © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Agenda UI binding Flexible styling of data 7/19/2018 2:50 AM Agenda UI binding Flexible styling of data Integration with Data Models What you should do until Longhorn ships © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

What Should You Do Until Longhorn Ships? 7/19/2018 2:50 AM What Should You Do Until Longhorn Ships? Move to managed code today - use Windows Forms Windows Forms provides a seamless path to Longhorn Avalon supports Windows Forms Data Model (IBindingList) IPropertyChange in System in Whidbey Windows Forms supports IPropertyChange Separate business logic and UI © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Summary Pervasive use of Databinding Rich Visualization of data 7/19/2018 2:50 AM Summary Pervasive use of Databinding Rich Visualization of data Your Data, Your Way © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Community Resources Get your questions answered! 7/19/2018 2:50 AM Community Resources Get your questions answered! Newsgroups microsoft.public.windows.developer.winfx.avalon Client Track Lounge - Concourse Foyer Connect with Microsoft client product teams and PDC 2003 Speakers Ask The Experts Tuesday 7 pm – 9 pm in Hall G,H PDC Weblogs http://pdcbloggers.net © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

© 2003-2004 Microsoft Corporation. All rights reserved. 7/19/2018 2:50 AM © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.