Your SlideShare is downloading. ×
Ow2011 fully-managed-odp-518049
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Ow2011 fully-managed-odp-518049

71
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
71
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
  • 2. 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
  • 3. 3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
  • 4. 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.
  • 5. 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
  • 6. 6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Current ODP.NET Architecture Managed and Unmanaged ODP.NET Oracle.Data Access.dll ODP.NET Unmanaged DLLs Oracle OCI UnmanagedManaged NET Database
  • 7. 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
  • 8. 8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Forthcoming ODP.NET Architecture Fully Managed ODP.NET Oracle.Managed DataAccess.dll Oracle Managed Database
  • 9. 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
  • 10. 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
  • 11. 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
  • 12. 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
  • 13. 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
  • 14. 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
  • 15. 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
  • 16. 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
  • 17. 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
  • 18. 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
  • 19. 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
  • 20. 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
  • 21. 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
  • 22. 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
  • 23. 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
  • 24. 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
  • 25. 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
  • 26. 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
  • 27. 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
  • 28. 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
  • 29. 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 – alex.keh@oracle.com
  • 30. 30 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Q&A
  • 31. 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.
  • 32. 32 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
  • 33. 33 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.