+ All Categories
Home > Technology > Ow2011 fully-managed-odp-518049

Ow2011 fully-managed-odp-518049

Date post: 11-May-2015
Category:
Upload: deepak-karma
View: 95 times
Download: 0 times
Share this document with a friend
Popular Tags:
33
1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Transcript
Page 1: Ow2011 fully-managed-odp-518049

1 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Page 2: Ow2011 fully-managed-odp-518049

2 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Introducing the New Thin Oracle Data

Provider For .NET

Alex Keh

Principal Product Manager, Oracle

Page 3: Ow2011 fully-managed-odp-518049

3 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Page 4: Ow2011 fully-managed-odp-518049

4 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

4 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

The following 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 5: Ow2011 fully-managed-odp-518049

5 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Program Agenda

• Current ODP.NET Architecture

• Managed ODP.NET Introduction

• Managed ODP.NET Deployment

• Migrating to Managed ODP.NET

• Timelines and Future Directions

Page 6: Ow2011 fully-managed-odp-518049

6 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Current ODP.NET ArchitectureManaged and Unmanaged

ODP.NET

Oracle.Data

Access.dll

ODP.NET

Unmanaged

DLLsOracle

OCI

UnmanagedManaged

NET

Database

Page 7: Ow2011 fully-managed-odp-518049

7 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Program Agenda

• Current ODP.NET Architecture

• Managed ODP.NET Introduction

• Managed ODP.NET Deployment

• Migrating to Managed ODP.NET

• Timelines and Future Directions

Page 8: Ow2011 fully-managed-odp-518049

8 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Forthcoming ODP.NET ArchitectureFully Managed

ODP.NET

Oracle.Managed

DataAccess.dllOracle

Managed Database

Page 9: Ow2011 fully-managed-odp-518049

9 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET

• 100% managed provider

• Namespaces

– Oracle.ManagedDataAccess.Client

– Oracle.ManagedDataAccess.Types

• Assembly

– Oracle.ManagedDataAccess.dll

Page 10: Ow2011 fully-managed-odp-518049

10 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET

• 32-bit and x64 Windows

– .NET Framework 4 and higher only

– Visual Studio 2010

• Installable via OUI and xcopy

• Supports Oracle DB 10.2 and higher

• Can be deployed side by side

– With unmanaged ODP.NET

– With managed ODP.NET

Page 11: Ow2011 fully-managed-odp-518049

11 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

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

Hello (Managed) World

Page 12: Ow2011 fully-managed-odp-518049

12 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET Features

• Standard ADO.NET provider objects, methods, and

properties

• Visual Studio drag and drop code generation

– Oracle Developer Tools for Visual Studio

• Full SQL or PL/SQL

• Connection pooling features

– Min, Max, Timeout, Lifetime, Increment, Decrement

– Automatic RAC Load Balancing and Fast Connection Failover

– Performance counters

Page 13: Ow2011 fully-managed-odp-518049

13 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET Features

• Entity Framework

• Native Oracle data types

– REF Cursor, LOBs, Date, String, Decimal, Binary, TimeStamp, etc.

– SecureFiles/LOB and LONG retrieval APIs

– Oracle data types in DataSet

• Multiple Active Result Sets

• Self-tuning

Page 14: Ow2011 fully-managed-odp-518049

14 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET Features

• Security and auditing

– Proxy authentication

– Operating system authentication

– End-to-end tracing with Client Id, Action, and Module

• Distributed transactions

– Oracle Services for Microsoft Transaction Server

• Managed: Enlist and commit

• Unmanaged: Recovery

Page 15: Ow2011 fully-managed-odp-518049

15 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET vs. Unmanaged ODP.NET

• User defined types

• Oracle-specific XML features and data types

• Advanced Queuing

• Client Result Cache

• …

Features Unavailable in First Release

Page 16: Ow2011 fully-managed-odp-518049

16 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Program Agenda

• Current ODP.NET Architecture

• Managed ODP.NET Introduction

• Managed ODP.NET Deployment

• Migrating to Managed ODP.NET

• Timelines and Future Directions

Page 17: Ow2011 fully-managed-odp-518049

17 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET Deployment Concepts

• Option 1: single configuration file deployment

– .NET config file contains TNS and sqlnet.ora settings

– Machine.config, web.config, app.config

• Option 2: multi-file configuration

– .NET config file

– Tnsnames.ora

• No sqlnet.ora

• No Windows Registry settings

Page 18: Ow2011 fully-managed-odp-518049

18 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET Deployment Concepts

• .NET config file

– Same attribute settings plus TNS and sqlnet.ora settings

– Child element to <configuration> is TBD

• Tnsnames.ora

– Same attribute settings

Page 19: Ow2011 fully-managed-odp-518049

19 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

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

Managed ODP.NET ClickOnce

Page 20: Ow2011 fully-managed-odp-518049

20 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Program Agenda

• Current ODP.NET Architecture

• Managed ODP.NET Introduction

• Managed ODP.NET Deployment

• Migrating to Managed ODP.NET

• Timelines and Future Directions

Page 21: Ow2011 fully-managed-odp-518049

21 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Unmanaged to Managed Migration

• Application migration process

– 1. Replace Oracle.ManagedDataAccess.dll reference to project

– 2. Modify namespace(s) to Managed ODP.NET

– 3. Change .NET config settings for Managed ODP.NET

• Include sqlnet.ora settings

• Managed ODP.NET APIs same as ODP.NET APIs

– Initially, Managed ODP.NET will not support all ODP.NET features

– Plan is eventual feature parity

Page 22: Ow2011 fully-managed-odp-518049

22 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

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

Porting to Managed ODP.NET

Page 23: Ow2011 fully-managed-odp-518049

23 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

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

Side by Side: Managed and Unmanaged

Page 24: Ow2011 fully-managed-odp-518049

24 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET vs. Unmanaged ODP.NET

• Easier side by side deployment

• Deploy smaller and fewer binaries

– Before: 150 MB

– After: 1 MB

• Easier patching process

• Fully integrated with Code Access Security

Advantages

Page 25: Ow2011 fully-managed-odp-518049

25 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET vs. Unmanaged ODP.NET

• Less functionality currently available

• Faster release to customers

• Oracle Developer Tools for Visual Studio requires

unmanaged ODP.NET

Disadvantages

Page 26: Ow2011 fully-managed-odp-518049

26 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Program Agenda

• Current ODP.NET Architecture

• Managed ODP.NET Introduction

• Managed ODP.NET Deployment

• Migrating to Managed ODP.NET

• Timelines and Future Directions

Page 27: Ow2011 fully-managed-odp-518049

27 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET Release Timeline

• Public beta 1 on OTN

– Late 2011 or early 2012

• Release more public betas

– Depends on customer feedback and additional features

• Production release

– End of 2012

Page 28: Ow2011 fully-managed-odp-518049

28 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Managed ODP.NET Future Directions

• Feature parity with ODP.NET

– Will occur over time

• Support new .NET Framework versions

– .NET Framework

• Support new Oracle ADO.NET features

• Support new Oracle Database Client features

Page 29: Ow2011 fully-managed-odp-518049

29 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

More Oracle .NET Resources

• OTN .NET Developer Center

– http://otn.oracle.com/dotnet

• For more questions or to join the beta program

[email protected]

Page 30: Ow2011 fully-managed-odp-518049

30 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Q&A

Page 31: Ow2011 fully-managed-odp-518049

31 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

31 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

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: Ow2011 fully-managed-odp-518049

32 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Page 33: Ow2011 fully-managed-odp-518049

33 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.


Recommended