DAT 379 XML Today And Tomorrow Mark Fussell Lead Program Manager Microsoft Corporation.

Slides:



Advertisements
Similar presentations
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
Advertisements

Inside an XSLT Processor Michael Kay, ICL 19 May 2000.
Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 25.
Microsoft Office Open XML Formats Brian Jones Lead Program Manager Microsoft Corporation.
SQL Server 2005 CLR Integration ADO.NET 2.0 Mike Taulty
Design & Development Tools: Visual Studio 2005 SQL Server 2005 Biztalk Server 2006 David Gristwood, Mike Taulty Developer & Platform Group Microsoft Ltd.
DEV450 Visual Studio: Best Practices For Debugging Managed Applications Habib Heydarian Scott Nonnenberg Program Managers Microsoft Corporation.
Future Directions for Leveraging Advanced XML Tools and Building Custom XML Solutions Denise Draper DAT321 Microsoft Corporation.
.NET and XML (or XML in.NET) David Oguns Matt Harding.
DAT304 Leveraging XML and HTTP with Sql Server Irwin Dolobowsky Program Manager Webdata Group.
WEB329 ASP.NET: A Lap Around the New Enhancements for Web Developers in Microsoft Visual Studio 2005 Omar Khan Lead Program Manager Web Platform and Tools.
XML Fundementals XML vs.. HTML XML vs.. HTML XML Document (elements vs. attributes) XML Document (elements vs. attributes) XML and RDBMS XML and RDBMS.
1 Sandcastle Documentation Compilers For Managed Class Libraries common) Enabling managed class library developers throughout the world to easily create.
OFC304 Excel 2003 Overview: XML Support Joseph Chirilov Program Manager.
Presentation XML. NET SEMINAR By: Siddhant Ahuja (SID)
ASP.NET and XML Presented By: Shravan S. Mylavarapu 1.
Sofia, Bulgaria | 9-10 October Using XQuery to Query and Manipulate XML Data Stephen Forte CTO, Corzen Inc Microsoft Regional Director NY/NJ (USA) Stephen.
ARC312 Tools For Architecture: Designing For Deployment Alex Torone Program Manager Microsoft Corporation Bill.
Extending System.Xml Ted Neward
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.
XML DOM Functionality in.NET DSK Chakravarthy
OFC335 Microsoft Office Word 2007 XML Programmability: True Data/View Separation and Rich Eventing for Custom XML Tristan Davis Program Manager Microsoft.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
OFC 308 Advanced Word XML: The WordML Schema and Bringing Everything Together Brian Jones Program Manager Authoring Services.
The.NET Language Integrated Query Project Anders Hejlsberg TLN306 Technical Fellow Microsoft Corporation.
Objectives In this lesson, you will learn to: *Identify the need for ADO.NET *Identify the features of ADO.NET *Identify the components of the ADO.NET.
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
Module 7: Accessing Data by Using ADO.NET
Declaratively Producing Data Mash-ups Sudarshan Murthy 1, David Maier 2 1 Applied Research, Wipro Technologies 2 Department of Computer Science, Portland.
Windows Forms in Visual Studio 2005 Mike Pelton Systems Engineer Microsoft Ltd
DEV333 Instrumenting Applications for Manageability with the Enterprise Instrumentation Framework David Keogh Program Manager Visual Studio Enterprise.
Eric White Technical Evangelist Microsoft Corporation Session Code: OFC403.
“ WinFS” Future Directions: Building Data-Centric Applications Using Windows Presentation Foundation “Avalon” and Windows Forms Ramesh Nagarajan DAT310.
OFC291 Microsoft® Office Word XML (part 1 of 3): Introduction Martin Sawicki Lead Program Manager.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
Language Integrated Query (LINQ). Data Access Programming Challenges Developers must learn data store-specific query syntax Multiple, disparate data stores.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
DAT377 Data Mining In SQL Server 2000 And SQL Server 2005 (Code Named “Yukon”) Paul Bradley Principal, Data Mining Technology Apollo Data Technologies.
.NET and XML (or XML in.NET) Matt Harding David Oguns.
DAT325 SQL Server 2005 (Codenamed “Yukon”): Using the Service Broker To Build Asynchronous, Queued Database Applications Roger Wolter Program Manager.
What’s New in Visual Studio NET Framework 2.0 Themes Windows Forms 2.0 ASP.NET 2.0.NET Compact Framework 2.0 Set the bar in developer productivity.
ARC411 Domain Specific Language Tools For Model-Driven Development In Microsoft Visual Studio 2005 Jochen Seemann Program Manager Enterprise Tools Microsoft.
DAT 405 Extreme SqlXml Irwin Dolobowsky Program Manager – SqlXml Microsoft Corporation.
Ken Casada Developer Evangelist Microsoft Switzerland
DAT 378 SQL Server 2000 Bringing The Best of Reporting Services and Analysis Services Together Sean Boon Program Manager, BI Systems
DAT 354: Building SQL Server Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.
InfoPath: Developing Forms Using Managed Code Dan Green Paradigm Logic CLI312.
Open XML Developer Workshop XSLT and Open XML. Open XML Developer Workshop Disclaimer The information contained in this slide deck represents the current.
DAT 390 Advanced ADO.NET Programming Techniques Jackie Goldstein Renaissance Computer Systems
XSLT ‘Extreme’ TLA327 Dave McMahon MCAD,MCDBA,MVP – Connected Systems Developer.
Building Enterprise Applications Using Visual Studio®
XSLT and Open XML.
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Avalon – Using Data In Your Applications
Visual Studio Tools for Office 2005
Microsoft Connect /1/2018 2:36 AM
Language Integrated Query (LINQ)
12/9/2018 6:15 AM © 2004 Microsoft Corporation. All rights reserved.
Tech Ed North America /1/ :36 AM Required Slide
DAT381 Team Development with SQL Server 2005
Visual Studio 2005 Tools For Office: Creating A Multi-tier Application
Jochen Seemann Program Manager Enterprise Tools Microsoft Corporation
DEV354 Visual Studio 2005: New Enhancements For Debugging Applications
Microsoft Build /27/2019 2:26 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
ADO.NET Entity Framework
Mark Quirk Head of Technology Developer & Platform Group
9/8/ :03 PM © 2006 Microsoft Corporation. All rights reserved.
Presentation transcript:

DAT 379 XML Today And Tomorrow Mark Fussell Lead Program Manager Microsoft Corporation

The Zen of XML XML Origami A understanding of XML is inescapable

XML Programming In.NET Today V1.1 Themes Standards compliance UsabilityExtensibility Integration with ADO.NET Tomorrow V2.0 Themes PerformanceUsability Querying over XML documents and SQL Server with ADO.NET XML Tools in Visual Studio

XML I/O Scenarios Today Streaming XML Reading XML from file, http, or other source Use the XmlTextReader for parsing XML Fast, Forward-only cursor XmlValidatingReader – Schema Validating Writing XML Use the XmlTextWriter for writing XML Fast, forward-only streaming writer Use the XmlTextReader and XmlTextWriter in combination Simple transformations

XML I/O Scenarios Tomorrow Reading XML from file, http or other source Usability – Typed and untyped XML. CLR types from XML Usability – Static Create methods Pipelining and layering functionality Security – DoS and resource access authorization Writing XML Typed and untyped XML – From CLR types to XML Wellformedness checking when writing to file Easier implementation of custom XmlReaders and XmlWriters More methods and properties have default implementatons on XmlReader class

Usability CLR Type Accessors On XmlReader, XmlWriter and XPathNavigator Double price = XmlConvert.ToDouble(reader.ReadElementString()); //Replaced by Double price = reader.ReadValueAsDouble; On the XmlWriter DateTime publicationdate = new DateTime(2004,5,24); writer.WriteStartAttribute("publicationdate");writer.WriteValue(publicationdate);writer.WriteEndAttribute();

Usability Static Create Methods Prevent a proliferation of XmlReader and XmlWriter implementations XmlReaderSettings and XmlWriterSettings classes Optimizations depending on the settings Pipelining XmlReaderSettings settings = new XmlReaderSettings(); settings.Schemas.Add(“books.xsd"); settings.XsdValidate = true; XmlReader reader = XmlReader.Create(“books.xml”, settings ); while(!reader.Read()) { }

XmlReader and XmlWriter

Document Scenarios Today XML Stores Creating and editing documents Use the XmlDocument class (XML DOM) Querying and transforming XML XSLT Path 1.0 Applying business logic Events to determine what has changed XML over a webservice Use the XmlNode class

Document Scenarios Tomorrow Creating and editing documents Consistent editing API with XmlWriter Typed XML store with Validation support Richer querying and transformation XSLT and XQuery Applying business logic XML documents over a Web service Moving XML between components more easily

XPathDocument A Better XML DOM The XPathDocument replaces the XmlDocument as the primary XML store Feature Set 20%-40% more performant for XSLT and XQuery Editing capabilities through the XPathEditableNavigator using an XmlWriter XML schema validation Strongly typed store with schema; e.g., Integers stored as CLR int type Events fired for insert, update, and delete Change tracking support

Working with the XPathDocument versus the XmlDocument

System.Xml Today (V1.1) XslTransform XmlReader XmlWriter XmlDocumentXPathDocument XPathNavigator XmlSchemaCollection

XPathEditableNavigator XsltCommandXQueryCommand XmlWriter XmlWriterSettings XPathNavigator XPathDocumentXmlDocument XmlSchemaSet XmlReader XmlReaderSettings XmlSchemaSet System.Xml Tomorrow (V2)

Querying Scenarios Today Querying XPath 1.0 to select nodes within an XML document Use XPathNavigator and Select() methods Transforming XML Transforming XML XML schema to XML schema HTML document generation Use XsltTransform class

Querying Scenarios Tomorrow Querying XQuery is to XML as SQL is to relational databases XQuery includes XPath 1.0 and 2.0 and more… Has a friendlier syntax Strongly-typed Construction of XML Ability to do joins across documents Comprehensive set of functions and operators Use XQueryCommand class Transforming XML Compiled XSLT with the XsltCommand class Generates MSIL Debugging XSLT

XQuery: The Essentials As simple as XPath… Get all the customers from the context document /customers FLWOR — FOR/LET/WHERE/ORDER BY/RETURN Yet much more powerful… Get all the customers and for each customer list their order amounts joining across two documents for $cust in doc (‘customers’)//customer return { for $order in doc (‘orders’)//order where ($cust/id = $order/custid) return { } for $cust in doc (‘customers’)//customer return { for $order in doc (‘orders’)//order where ($cust/id = $order/custid) return { }

Querying XML With XQuery

Performance Improvements XML parsing and XSLT performance XML schema validation 20% faster XmlTextReader 100% faster (2x) XmlTextWriter 100% faster (2x) XSLT 4x faster

XML Tools In Visual Studio 2005 XML Editing, XML Schema generation, and XSLT Debugging

Summary Today the XML support in.NET provides the ability to easily work with any XML that you encounter Tomorrow there are many improvements to address usability, querying, performance and XML tools within Visual Studio 2005

Find me in the Community Lounge MSDN XML Developer Center What's New in System.Xml for Visual Studio 2005 and the.NET Framework 2.0 Release What's New in System.Xml for Visual Studio 2005 and the.NET Framework 2.0 ReleaseNewsgroups microsoft.public.dotnet.xml for V1 microsoft.beta.whidbey.xml for V2

Related Sessions Thursday DATPNL Data Access Round Table. 11:45 AM- 12:30 PM, Room 8 DAT319 XML in the Database - the XML Data Type in SQL Server 2005 (code named "Yukon"). 1:30 PM- 2:45 PM, Room 5AB DAT376 What's New in ADO.NET for Visual Studio 2005 (code named "Whidbey"). 5:30 PM- 6:45 PM, Room 5AB Friday DAT327 SQL Server 2005 (code named "Yukon"): Inside XQuery. 2:45 PM- 4:00 PM, Room 9

Q1:Overall satisfaction with the session Q2:Usefulness of the information Q3:Presenter’s knowledge of the subject Q4:Presenter’s presentation skills Q5:Effectiveness of the presentation Please fill out a session evaluation on CommNet

© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.