Ow2011 fully-managed-odp-518049
-
Upload
deepak-karma -
Category
Technology
-
view
95 -
download
0
Transcript of Ow2011 fully-managed-odp-518049
![Page 1: Ow2011 fully-managed-odp-518049](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/1.jpg)
1 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
![Page 2: Ow2011 fully-managed-odp-518049](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/3.jpg)
3 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
![Page 4: Ow2011 fully-managed-odp-518049](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/15.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/18.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/19.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/20.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/21.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/22.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/23.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/24.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/25.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/26.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/27.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/28.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/29.jpg)
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
![Page 30: Ow2011 fully-managed-odp-518049](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/30.jpg)
30 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Q&A
![Page 31: Ow2011 fully-managed-odp-518049](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/31.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/32.jpg)
32 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
![Page 33: Ow2011 fully-managed-odp-518049](https://reader033.fdocuments.us/reader033/viewer/2022052410/554fcc29b4c90542018b52fb/html5/thumbnails/33.jpg)
33 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.