new.net features for oracle database 11g alex keh principal product manager, server technologies,...

33

Upload: brett-bell

Post on 03-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle
Page 2: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

<Insert Picture Here>

New .NET Features for Oracle Database 11gAlex KehPrincipal Product Manager, Server Technologies, Oracle

Page 3: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Agenda

• Oracle on .NET • Ease of Development• Performance• Manageability and Installation• Next Steps

Page 4: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

<Insert Picture Here>

Oracle on .NET Themes

Page 5: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

.NET Development Environment Support

Visual StudioEnvironmentVisual StudioEnvironment

IIS

C++, C#, VB .NET

Application

C++, C#, VB .NET

Application

Develop DeployIIS

ASP.NETIIS

ASP.NETMTS/COM+MTS/COM+

Application ApplicationDeploy

Database Development

Oracle Data Provider for .NET

Oracle Developer Tools for VS.NET

Oracle Database Extensions for .NET

Oracle Providers for ASP.NET

Page 6: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

New .NET Feature Themes

• Ease of Development• Tight integration with Visual Studio 2005 and 2008…

• …And .NET Framework 2.0, 3.0, and 3.5• Improve productivity for ASP.NET development• Objects/UDTs/ADTs

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

• Manageability and Installation• XCopy deployment: smaller client and easier packaging

Page 7: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

<Insert Picture Here>

Ease of Development

Page 8: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, 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 9: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Ease of Development – Visual Studio

• New Oracle Wizards and Designers• Grant/Revoke Privileges Wizard• Object, VARRAY, Nested Table Designers• UDT Custom Class Code Generation Wizard• Import Table Wizard – Migrate tables/data from databases, Excel,

Access

• Full Oracle UDT Support• View UDTs in Server Explorer• Retrieve UDT data• Use UDT types in other wizards (e.g. Table Designer)

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

Page 10: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, 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 11: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

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

New ODT Features

Page 12: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Ease of Development – ASP.NET

• Overall goal: Improve ASP.NET developer productivity• More automation and tools

• Improved ASP.NET design-time support• Visual Studio Data Sources Window• Code generation

• Drag and drop objects to automatically create a running ODP.NET web application

Page 13: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Oracle Providers for ASP.NET Features

• 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 14: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Oracle Providers for ASP.NET Features

• 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 15: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Oracle Providers for ASP.NET

IIS

ASP.NET Controls

ASP.NET Services

Oracle Providers for ASP.NET

ODP.NET

Page 16: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, 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

• Each provider is independent of one another• Administrators choose which provider(s) to use

Page 17: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

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

ASP.NET Providers

Page 18: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, 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 19: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, 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 20: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

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

.NET UDT Development

Page 21: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

<Insert Picture Here>

Performance

Page 22: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Performance – Data Retrieval (11g)

• Oracle Result Cache • Caches results sets either on client or server• Accessible across the same process to different users• No .NET code changes required• Snapshot consistent – cache refreshes without user

intervention

• Faster LOB retrieval• Pre-fetch LOB data, length, and chunk size• Works with SecureFiles and traditional LOBs

• Improved statement caching• Cache ODP.NET parameter contexts

Page 23: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

<Insert Picture Here>

Manageability and Installation

Page 24: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Instant Client XCopy Deployment

• Zip package of binaries• Install done manually or through a third-party installer easily• Great control over the installation process

• Install process• Step 1: Copy IC files to disk• Step 2: Run install.bat• Step 3: Add installation directories to Windows PATH• Step 4: Modify NLS_LANG to desired locale

Page 25: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

XCopy Install.bat

Page 26: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Instant Client (IC) XCopy Install

• Easiest to package/install• Xcopy – administrators script to specific requirements,

generally large deployments• OUI – for small scale deployments

• Smallest client footprint• Xcopy

• Fastest client deployment• Xcopy

• No difference in the functionality of each client component included• Not all client components are part of Instant Client xcopy

install

Page 27: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Instant Client XCopy Components

• Existing Instant Client xcopy components• SQL*Plus• OCI• OCCI• ODBC• JDBC-OCI

• New Instant Client xcopy components• ODP.NET• Oracle Providers for ASP.NET• Oracle Provider for OLE DB• OO4O• Oracle Services for MTS

Page 28: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

<Insert Picture Here>

Next Steps

Page 29: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

Oracle Technology Network – .NET Developer Center

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

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

Page 30: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle

More Information

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

• Windows Server Center• http://otn.oracle.com/windows

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

• For more questions• [email protected]

Page 31: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, 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.

Page 32: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle
Page 33: New.NET Features for Oracle Database 11g Alex Keh Principal Product Manager, Server Technologies, Oracle