Windows Forms in Visual Studio 2005 Mike Pelton Systems Engineer Microsoft Ltd

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

17. Data Access ADO.Net Architecture New Features of ADO.NET
Getting the Most From Visual Basic 2005 Jay Roxe Lead Product Manager Visual Studio.
ADO vs ADO.NET ADOADO.NET Client/server coupledDisconnected collection of data from data server Uses RECORDSET object (contains one table) Uses DATASET.
DEV351 ADO.NET Performance Pablo Castro Program Manager – ADO.NET Team Microsoft Corporation.
Chapter 18 - Data sources and datasets 1 Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
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.
Chapter 12: Using ADO.NET 2.0 Programming with Microsoft Visual Basic 2005, Third Edition.
Introduction to Database Processing with ADO.NET.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Mike Henderlight Title: Program Manager.
Create Windows ® Applications with.NET Allan Knudsen.NET Developer Evangelist Microsoft.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Visual Basic 2005 and Windows Forms 2.0 Enhancements Tyler Whitney Microsoft, Corp.
SQL Server 2005 CLR Integration ADO.NET 2.0 Mike Taulty
SharePoint Collaboration Features & Workflow
Design & Development Tools: Visual Studio 2005 SQL Server 2005 Biztalk Server 2006 David Gristwood, Mike Taulty Developer & Platform Group Microsoft Ltd.
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Passage Three Introduction to Microsoft SQL Server 2000.
Advanced Deployment Topics – MSI Enhancements Om Sharma Program Manager, Windows Installer Microsoft Corporation.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
From VS C# 2010 Programming, John Allwork 1 VS2010 C# Programming - DB intro 1 Topics – Database Relational - linked tables SQL ADO.NET objects Referencing.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
Introduction to ADO.Net and Visual Studio Database Tools ISYS 512.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Visual Studio ®.NET Data with XML Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft Modified.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
DAT336 Connected vs Disconnected Data Access in ADO.NET Pablo Castro Program Manager – ADO.NET Team Microsoft Corporation.
Introducing Reporting Services for SQL Server 2005.
Windows Small Business Server 2003 Setting up and Connecting David Overton Partner Technical Specialist.
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
Windows Forms in Visual Studio 2005: An Overview Name: Joe Stegman Title: Lead Program Manager Session code.
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.
Module 7: Accessing Data by Using ADO.NET
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Introduction to ADO.NET ADO.NET - Lesson 01  Training time: 10 minutes  Author:
Presented by Joseph J. Sarna Jr. JJS Systems, LLC
Name Microsoft Student Partner Overview of the Visual Studio 2005 Express Products.
Windows Role-Based Access Control Longhorn Update
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.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Making the Most of WinForms 2.0 Data Binding Rajiv Sodhi Microsoft India.
Module 3: Working with Local Data. Overview Using DataSets Using XML Using SQL Server CE.
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Joe Stegman Title: Lead Program Manager Session code.
What’s New in Windows Forms 2.0 Stephen Turner Software Design Engineer
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
DEV221 Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Developing Custom ASP.NET Providers For Membership And Role Manager Stefan Schackow PRS404 Program Manager – Web Platform and Tools Microsoft Corporation.
Top 10 Entity Framework Features Every Developer Should Know
Integrating Data Lesson 6.
Introduction to Database Processing with ADO.NET
Introduction to Database Processing with ADO.NET
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Visual Studio Tools for Office 2005
2007 Office System Integration
ADO.NET Accessing Databases in VS.NET
Server & Tools Business
Visual Studio 2005 Tools For Office: Creating A Multi-tier Application
Chapter 10 ADO.
Developing for Windows Azure
Visual Studio + SQL Server Is Better
Windows Forms in Visual Studio 2005: An in-depth look at key features
Windows Forms in Visual Studio 2005: An Overview
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:

Windows Forms in Visual Studio 2005 Mike Pelton Systems Engineer Microsoft Ltd

Agenda Goals New Features Run time Design Time, Layout, and Configuration ADO.NET 2 New Data Features for WinForms Deployment

Windows Forms 2.0 Goals Bring the ease and reliability of Web application deployment to client applications Professional Look and Feel New controls and enhancements Simplify client application development Simplify working with data Fewer lines of code Fewer clicks

New Runtime Features Controls Professional ToolBars and Menus (ToolStrip) Data Controls DataGridView (new Grid Control) DataContainer (now DataConnector) Splitter Container Web Browser MaskedEdit Grid and Flow Layout

Runtime Features Productivity Client Configuration Read/Write User Settings Read Only Application Settings Asynchronous Component Sound API Improved Printing API XP control and Operating System features Enhanced Existing Controls

New Designer Features Design Time In-situ Property Editing Smart Tasks Designer Layout Assistance and Usability Hide Initialize Component User Control Container

Other New Features Layout Table and Flow Layout Controls Configuration Read/Write User Configuration Settings Read Only Application Settings

But What About ADO.NET? Evolution Disconnected stack enhancements Provider-independent API SQL Server 2005 integration

Performance Three-tier application Uses remoting and DataSets to exchange data between tiers Both client  server and server  client Performance is not great DataSet serializes as XML even with the binary formatter High CPU, memory and bandwidth usage Making changes to DataSet is slow in large DataSets

XML vs Binary Serialization Remoting end-to-end speed

Performance In DataSet New binary remoting option in DataSet Reduction in memory, CPU, and bandwidth Improvement in end to end time (Latency) Disabled by default (for compatibility) DataSet.RemotingFormat property Index engine Changes to DataSet are simply faster Index update time close to constant, instead of close to linear

Usability Stand-alone DataTable Your application needs only one table at some given point E.g. return value from a webservice You need to create a DataSet anyway Streaming You have a DataReader, but want a table Or… You have a DataTable, but want a reader

Usability DataTable enhancements Most common DataSet operations made available on DataTable ReadXml, WriteXml, webservices/remoting Integrate with streaming interfaces DataReader  DataTable: Load() New options: PreserveCurrentValues, UpdateCurrentValues, OverwriteRow DataTable  DataReader: DataTableReader

Scenario: Unknown Server You’re writing a database-centric tool or application Don’t know the database upfront Don’t want to have completely different code- paths for each database vendor IDb* interfaces don’t seem to be enough

Provider-Independent API ADO.NET v1.1 is based on interfaces Not enough for provider-agnostic code Hard to evolve ADO.NET v2.0 introduces a common API Using abstract base classes instead of interfaces Better versioning story Provider-independent apps fully enabled at the API level :) SQL syntax is still back-end specific

Scenario: Multiple Changes Your application uses DataSets A user or process makes multiple changes Adds, changes and removes rows You use the DataAdapter to propagate updates to the database server The DataAdapter does one round-trip per changed row This may impact performance

SQL Server 2005: Batch Updates New support for batching adapter.UpdateBatchSize = your_batch_size That’s it! Batches can execute inside a transaction for added speed and consistency Availability Also works with SQL Server 7.0, 2000 Also available in OracleClient

Scenario: Stale Data Caching in the middle tier You keep some cache data in your middle-tier E.g. in a DataSet Need to have an artificial expiration policy so the cache doesn’t go too stale E.g. expire by timeout It would be nice to flush the cache only when the underlying data changes

Dependencies SqlDependency tracks dependencies on query results Works in conjunction with the server Built on top of SQL Server 2005 Query Notifications Straightforward use Bind the dependency to the command Execute the command We’ll fire an event if the data changes Requires SQL Server 2005 and.NET 2.0

Multiple Active Result-Sets Previous versions of SQL Server Only one pending statement per connection “MARS” relaxes that restriction Multiple results can be active Caller can interleave fetches to each of them Non-resultset-returning operations can also be interleaved Requires SQL Server 2005 and.NET 2.0

Windows Forms New Data Features Goal: Simplify and enhance data access New Data controls DataGridView Control DataConnector Component Data Design Time Data Bases Web Services Business Objects

“ClickOnce” Deployment Deployment issues blocked rich client’s success Goal: Make rich client deployment as easy as Web deployment “ClickOnce”Offline Desktop Integration Permission elevation

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