new.net features for the oracle database christian shay product manager oracle

38

Upload: noah-owen

Post on 24-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle
Page 2: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

<Insert Picture Here>

New .NET Features for the Oracle DatabaseChristian ShayProduct ManagerOracle

Page 3: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

<Insert Picture Here>

Agenda

• Oracle and .NET Overview• New Feature Themes• Ease of Development• Performance• Manageability and Installation

Page 4: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

<Insert Picture Here>

Oracle on .NET Overview

Page 5: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

.NET Development Environment Support

Visual StudioEnvironmentVisual StudioEnvironment

ApplicationDevelopment Deploy

Deploy

Database Development

Oracle Data Provider for .NET

Oracle Developer Tools for Visual

Studio

Oracle Database Extensions for .NET

Oracle Providers for ASP.NET

.NET Application

.NET Application

Web or Client/ServerApplication

Page 6: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

.NET Components for Oracle Database

• Free• Stay in Visual Studio for project lifecycle

• Supports Visual Studio 2003, 2005, and 2008

• Complete access to .NET functionality• Supports .NET Framework 1.0 and higher• Supports 32-bit, x64, and 64-bit Itanium platforms• ASP.NET services and controls via ASP.NET providers

• Easy to use and intuitive• Native access to Oracle Database

• Utilize advanced Oracle Database features• E.g. RAC, performance, security, data types, XML, etc.

Page 7: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Develop on Windows, Database on any Platform

Visual StudioVisual StudioEnvironmentEnvironmentVisual StudioVisual StudioEnvironmentEnvironment

ODT and ODT and ODP.NETODP.NETODT and ODT and ODP.NETODP.NET

WindowsWindows

Windows

Linux

Unix

Oracle 11g,10g, 9i, or 8i

Other

Page 8: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Oracle Technology Network – .NET Developer Center

• http://otn.oracle.com/dotnet• Free downloads of Visual Studio tools, ODP.NET and

Oracle Database XE. • Whitepapers• Sample Code• Demo Videos• Help Forums• “How to” step by step tutorials• Latest Oracle on .NET News

Page 9: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

<Insert Picture Here>

New Feature Themes

Page 10: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

New .NET Feature Themes

• Ease of Development• Tight integration with Visual Studio 2005 and 2008• Improve productivity for ASP.NET development• Objects/UDTs/ADTs

• Performance• Expose new tuning features• Improve performance out of the box

• Manageability and Installation• Deployment: smaller client and easier packaging

Page 11: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

<Insert Picture Here>

Ease of Development

Page 12: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Ease of Development – Visual Studio

• Fully integrated with Visual Studio 2005 and 2008• Server Explorer• Data Sources Window• Data Source Configuration Wizard• Dataset Designer• TableAdapter Configuration Wizard • Query Builder/Query Designer• More

• Automatic code generation – Winform and ASP.NET • Data Sources Window• Integration with SQLDataSource control• Makes ASP.NET web application development very easy

Page 13: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Ease of Development – Visual Studio

• New Oracle Wizards and Designers• Grant/Revoke Privileges Wizard• Import Table Wizard – Migrate tables/data from databases, Excel,

Access• Object, VARRAY, Nested Table Designers• UDT Custom Class Code Generation Wizard

• Full Oracle UDT Support• View UDT’s in Server Explorer• CRUD operations on UDTs in tables and views• Use UDT types in other Wizards (eg Table designer)

• Oracle Data Window Enhancements• Customizable – control how many rows are fetched

Page 14: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Ease of Development – Visual Studio

• New Oracle Database Project• Manage, Edit and Run SQL scripts• SQL*Plus is built in• Source control integration – SourceSafe and Team Foundation

Server

• Oracle Query Window• New UI• Explain Plan• Auto-commit toggle

• ODT Options page• Customize how you use ODT

Page 15: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

D E M O N S T R A T I O N

New ODT Features

Page 16: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Ease of Development – UDTs

• Benefit: Simplify Oracle UDT application development• Optimum for Spatial and other object developers

• UDT development – data access• Oracle data types

• Objects• Mapped to .NET custom objects

• Collections (Varrays and Nested Tables) • Mapped to .NET custom objects and arrays

• REF• ODP.NET OracleRef can represent Oracle REF

• Custom type factory and custom type required• Custom type factory instantiates the custom type• Custom types define mapping between UDT

attributes/elements and .NET type members

Page 17: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Ease of Development – UDTs

• UDT development - tools• Create, view, and modify UDTs and their specifications

• Designers for Varrays, Nested Tables, and Objects• Designers for Object tables and views• New tree control nodes for UDTs

• Custom Class Wizard• Automatically generate .NET custom type from existing

Oracle Collections and Objects• Generates C#, VB.NET, or C++

Page 18: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

D E M O N S T R A T I O N

UDTs

Page 19: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Oracle Providers for ASP.NET

• Pre-built services to store website state into Oracle• Services for commonly used website information• E.g. user info, user roles, shopping cart

• Easy to learn• Based on standard ASP.NET provider APIs and schema• Inherits from .NET Framework 2.0 base classes• Compatible with ASP.NET service classes• No unique extensions in Oracle ASP.NET providers

Page 20: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Oracle Providers for ASP.NET

• Seamless integration with ASP.NET services and controls• Reference to specific providers unnecessary• High level of abstraction: services and controls based

programming

• Easy to switch from SQL Server to Oracle quickly• Configuration file determines which data source to use

• Easy to setup and manage• Can be managed by IIS or Website Admin Tool

Page 21: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Oracle Providers for ASP.NET

IIS

ASP.NET Controls

ASP.NET Services

Oracle Providers for ASP.NET

ODP.NET

Page 22: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Available Providers

• Oracle Providers for ASP.NET components• Membership Provider • Role Provider• Profile Provider• Session State Provider• Site Map Provider• Web Parts Personalization Provider• Web Event Provider• Cache Dependency Provider

• Administrators pick which provider(s) to use• Most providers are independent of one another

Page 23: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

D E M O N S T R A T I O N

ASP.NET Providers

Page 24: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

<Insert Picture Here>

Performance

Page 25: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Performance – Data Retrieval (11g)

• Client Result Cache • Automatically caches results sets on client• No .NET code changes required to use• Accessible across the same process to different sessions

with same user settings• Cache remains consistent via DB Change Notification

• Improved statement caching• Cache ODP.NET parameter contexts

• Better LOB performance• LOB prefetching – fewer roundtrips• Even more LOB performance improvement using

SecureFiles

Page 26: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Performance – Loading External Data

• Load external data quickly into Oracle database programmatically

• ADO.NET 2.0 Bulk Copy • Direct data upload from .NET to Oracle• Excellent for large amounts of external data• Performance comparable to SQL*Loader

Page 27: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Performance – 64-bit

• Allow ODP.NET and .NET stored procedures to use more scalable 64-bit hardware (10.2.0.3)

• Windows x64• 64-bit ODP.NET• 64-bit .NET Stored Procedures

• Windows Itanium• 64-bit ODP.NET• 64-bit .NET Stored Procedures

• Available for download on OTN from .NET Center

Page 28: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

<Insert Picture Here>

Manageability and Installation

Page 29: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Instant Client (IC)

• IC available with OUI and xcopy• No functionality difference between IC and standard client• IC Benefits

• Control over install process• Xcopy

• Fine grain control over installation process• Great for large scale deployments or ISV packaging

• OUI – great for small scale deployments• Smaller install size compared to standard install

• Xcopy install – smallest footprint• OUI install – small footprint

• Fastest client deployment – Xcopy install

Page 30: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

New Instant Client Components

• ODP.NET• Oracle Providers for ASP.NET• Oracle Provider for OLE DB• OO4O• Oracle Services for MTS

Page 31: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

IC Deployment

• OUI• Use the installer as you normally would

• Xcopy• Step 1: Unzip and copy IC files to disk• Step 2: Run install.bat

• Provide parameters specifying product(s) to install, Oracle Home name, and target location

• Step 3: Add installation directories to Windows PATH• Step 4: Modify NLS_LANG to desired locale

Page 32: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Managing Multiple Oracle Homes in .NET

• Solution for ODP.NET 10.2.0.4 and higher• ODP.NET reads .NET config files for location of unmanaged

Oracle DLLs• Each app can use different Oracle client DLLs even if same

ODP.NET managed version is used

• DLL search order• 1. Current application directory• 2. Application config or web.config• 3. Machine.config• 4. Windows Registry

• HKLM\Software\Oracle\ODP.NET\<version>\DllPath• 5. Windows System Path setting

Page 33: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

D E M O N S T R A T I O N

Client Deployment

Page 34: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

<Insert Picture Here>

Appendix

Page 35: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

More Information

• .NET Technology Center• http://otn.oracle.com/dotnet

• .NET Blog• http://cshay.blogspot.com/

• For more questions• [email protected]

search.oracle.com

or

Page 36: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

Your Feedback is Important

Please fill out a session evaluation form and either put them in the basket near the exit or drop them off at

the conference registration desk.

Thank you!

Page 37: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle
Page 38: New.NET Features for the Oracle Database Christian Shay Product Manager Oracle

The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.