Chris Menegay Sr. Consultant TECHSYS Business Solutions

Slides:



Advertisements
Similar presentations
Connecting Web Services to Microsoft Office Applications: An Introduction to Information Bridge Framework Darren Neimke Senior Consultant Readify Limited.
Advertisements

.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Enterprise Smart Clients Architecture, Patterns, Design, Best Practices Keith Elder Manager, Sr. Software Engineer Quicken Loans Blog:
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
Inside Data Access with SQLXML: Architecture Guide Rolandas Gricius MCT, MCSE, MCSD Adapted From.
Chapter 10 ADO. What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a programming interface to access data in a database.
The Ins and Outs of Secure Data Access Jørgen Thyme Developer & Platform Strategy Group, Microsoft
Chapter 14 Database Connectivity and Web Technologies
ESupport Shifting Customers to the Internet for Support Published: January 2002.
DBA230 Introducing SQL Server 2000 Reporting Services Jason Carlson Product Unit Manager SQL Server Microsoft Corporation.
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Native Support for Web Services  Native Web services access  Enables cross platform interoperability  Reduces middle-tier dependency (no IIS)  Simplifies.
Visual Studio ®.NET Data with XML Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft Modified.
CST203-2 Database Management Systems Lecture 2. One Tier Architecture Eg: In this scenario, a workgroup database is stored in a shared location on a single.
DAT336 Connected vs Disconnected Data Access in ADO.NET Pablo Castro Program Manager – ADO.NET Team Microsoft Corporation.
D402 Extending your LOB Solution with Microsoft EPM Larry Duff Senior Consultant Microsoft Corporation.
Developing Reporting Solutions with SQL Server
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
Information System Development Courses Figure: ISD Course Structure.
James Akrigg Microsoft Ltd Integrating InfoPath Forms Into Workflow Solutions And Business Processes.
Advanced Reporting Concepts Philip Yuen Program Manager Microsoft Office Project.
Tips and Tricks for Managing and Administering your Enterprise Project Management Server Solution Mike Joe / Karthik Chermakani Software Test Engineer.
Windows Forms in Visual Studio 2005 Mike Pelton Systems Engineer Microsoft Ltd
Name Microsoft Student Partner Overview of the Visual Studio 2005 Express Products.
Building a real-world, Internet- scale stock trading application Naveen Prabhu Quadwave Consulting Pvt. Ltd.
Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.
Introducing Microsoft SQL Server 2000 Reporting Services Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.
SQLXML XML Technology For SQL Server Brian Moore Developer and Platform Strategy Group Microsoft Corporation.
Ben Robb MVP, SharePoint Server CTO, cScape Ltd Interoperability Overview: All Roads Lead to SharePoint.
DAT 405 Extreme SqlXml Irwin Dolobowsky Program Manager – SqlXml Microsoft Corporation.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Architecting Real-World Enterprise Application. Agenda CPR - Background Challenges in the Architecture Architecture Details Q & A Summary.
Introduction to SQL Server 2000 Reporting Services Jeff Dumas Technical Specialist Microsoft Corporation
Data Access Methodologies: When to choose what (ADO.NET, Entity Framework, WCF Data Services) Wriju Ghosh Lead Partner Consultant, Microsoft.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
DEV291 Microsoft CRM Jason Hunt Technical Product Manager.
DAT303 - Entity Framework: Application Patterns Pablo Castro Technical Lead, Microsoft Corporation.
Building Enterprise Applications Using Visual Studio®
Introducing SQL Server 2000 Reporting Services
Integrating Enterprise Applications Into SharePoint® Portal Server
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.
6/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Business Connectivity Services in SharePoint 2010 and Office 2010
Avalon – Using Data In Your Applications
Visual Studio Tools for Office 2005
Enterprise Library Overview
2007 Office System Integration
Проектиране и изграждане на сигурни Smart Client приложения
Searching Business Data with MOSS 2007 Enterprise Search
Microsoft Dynamics.
ADO.NET Entity Framework Marcus Tillett
Searching Business Data with MOSS 2007 Enterprise Search
Welcome to GDC’05 Riyadh, Saudi Arabia
Lecture 1: Multi-tier Architecture Overview
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
Chapter 10 ADO.
Building Business Applications in LightSwitch
Developing and testing enterprise Java applications
Microsoft Office System UK Developers Conference
The Social Life of Information
Visual Studio + SQL Server Is Better
ADO.NET Entity Framework
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
Windows Forms in Visual Studio 2005: An in-depth look at key features
Mark Quirk Head of Technology Developer & Platform Group
9/8/ :03 PM © 2006 Microsoft Corporation. All rights reserved.
Presentation transcript:

Chris Menegay Sr. Consultant TECHSYS Business Solutions Data Access Patterns Chris Menegay Sr. Consultant TECHSYS Business Solutions

Agenda Data Access Methodology Techniques for Data Access Summary Data Access Layer Techniques for Data Access ADO.NET Datasets Datareaders Microsoft Data Access Application Blocks SQLXML Summary

Data Most applications deal with data that is persisted in some manner RDBMS Flat file Mainframe XML Need a consistent way to write code to take application data and persist it.

Selecting a Solution There is more than one ‘right way’ You are part of the answer… …your skills …your background …your familiarity What are you doing with the data? Does it contain business logic? What tools are you using with it? What is the destination of the data? Are you exchanging it with other partners? What type of project are you working on? Self-contained app versus enterprise framework

Layered Architecture Pattern Users Operational Management Security Communication UI Components UI Process Components Service Interfaces Business Workflows Business Components Business Entities Data Access Components Service Agents Data Sources Services

Data Access Layer Contains all data access code. Contains only data access code. Does not contain business code. Does not contain UI code. Tip: Use IDBConnection, IDBCommand, etc.

Q: Why am I doing this? Consistency and Maintenance It scales – works for small applications as well as large ones Never have to wonder ‘where is all the code that accesses the customer table?’ Tip: you can code generate a lot of this

Data Access Layer

ADO.NET Data Access Support Data is relational is objects is XML is Data Technology Strengths Use if… DataSet and DataReader in ADO.NET Relational (tabular) model Highest performance Explicit control Fully exposes database functionality You are comfortable with the relational model You require maximum control/performance/functionality You are using UI bound controls Interoperability. Format for the Web – B2B, A2A Sparse (semi-structured) data XML Services e.g. XQuery, XSD Relational mapping via metadata Decoupled from database schema You need to query data from XML data sources e.g. XML Web Services You use vertical industry XML schemas for content publishing e.g. XBRL, RIXML, FinXML You need to load XML documents into database tables You are using UI bound controls for XML SQLXML in ADO.NET

DataSets And Datareaders Use Datasets for: Holding data in memory – great for winforms applications with databinding. Allow sorting and filtering at the client Combine results from multiple stores Use Datareaders for: Read once data Speed

Data Access Helpers

Why a helper block? Consistent mechanism for accessing data Simplifies code

Microsoft Data Access Application Block

DataSets And Data Providers Overview Architecture Scenarios Demo

.NET Data Providers: Overview Goal: Integrate manipulation of relational data with the .NET Framework Accessing a Relational Store (.NET Data Providers) Connecting, Executing Commands, Retrieving Results Explicit Architecture Provided a defined interface: IDBConnection IDBCommand, etc Predictable behavior, semantics Optimized performance

DataSet And Data Providers: Architecture DataAdapter .NET Data Provider DataReader Command Connection

Data Providers & Helper Blocks

SQLXML Overview Architecture Scenarios Demo

SQLXML: Overview Growing number of applications unifying under XML based interfaces Loose coupling Coping with decentralized data Managing sparse (semi-structured) data SQLXML supports XML over SQLServer XML programming model for queries and updates XQuery(Whidbey) - Full fledged XML query language XML Views Mapping technology to expose logical XML views of SQL Server relational tables XML Views provide XQuery support over SQL Server.

ADO.NET With SQLXML

SQLXML: Scenarios Represent data as XML Source and sink for XML Content management systems, B2B scenarios Queries and updates against XML Views Loading large XML data sets Bulk load data into existing relational table structure E.g. Catalog information Transfer data as XML between databases Agree on transfer format Apply mappings at either end

SQLXML

Summary It’s all about DATA… Plan how you want to access/maintaing your data Structure your code! Understand the strengths of each technology DataSet and Datareader Relational Model Ultimate Performance, Control SQLXML XML Model Interoperable, self-describing format Pick the technology appropriate to your scenario How results will be used Tools to be applied Your knowledge/comfort level

Call To Action Take the next step with SQL Server and .NET data access. Sign up to meet with the MS technical team to discuss an architectural design session or a proof of concept. For more information, please email SCDLITE@microsoft.com You can download all presentations at www.microsoft.com/usa/southcentral/

SQL Server Summit Brought To You By:

© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.