Presentation is loading. Please wait.

Presentation is loading. Please wait.

Getting Started with Oracle and .NET

Similar presentations

Presentation on theme: "Getting Started with Oracle and .NET"— Presentation transcript:


2 Getting Started with Oracle and .NET
Alex Keh Principal Product Manager Server Technologies

3 Agenda Oracle and .NET – Getting Started
Oracle Developer Tools for Visual Studio Demo Oracle Providers for ASP.NET Oracle Data Provider for .NET Next Steps

4 <Insert Picture Here>
Oracle and .NET – Getting Started

5 Oracle and Microsoft Relationship
Engineering Close collaboration with Microsoft engineering teams Access to pre-release drops of Microsoft products Community Developer and database websites for both communities Joint training, road shows, tech articles, white papers, etc. Conference sponsorships (TechEd, PDC, OpenWorld, etc.) Support Microsoft Premier Support Agreement Collaboration of support teams

6 .NET Development Environment Support
Oracle Developer Tools for Visual Studio Oracle Data Provider for .NET Application Development Deploy Visual Studio Environment .NET Application Deploy Web or Client/Server Application Database Development Oracle Providers for ASP.NET Oracle Database Extensions for .NET

7 .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.

8 Develop on Windows, Database on any Platform
ODT and ODP.NET Linux Visual Studio Environment Unix Windows Other Oracle 11g,10g, 9i, or 8i

9 <Insert Picture Here>
Oracle Developer Tools for Visual Studio (ODT)

10 Feature Overview Fully integrated with Visual Studio 2008/2005
Server Explorer Data Sources Window Dataset Designer TableAdapter Configuration Wizard Query Builder/Query Designer More Fully integrated with Visual Studio .NET 2003 Oracle Explorer Automatic code generation – Winform and ASP.NET Makes ASP.NET web application development very easy

11 Visual Studio Integration
D E M O N S T R A T I O N Visual Studio Integration

12 Feature Overview Oracle Wizards and Designers Oracle Data Window
Table/View Designer Stored Procedure/Function/package Wizards Grant/Revoke Privileges Wizard UDT Designers UDT Custom Class Code Generation Wizard Table/View Migration Wizard Oracle Data Window Oracle Database Project Edit and Run SQL scripts SQL*Plus is built in Source control integration Integrated PL/SQL Editor and Debugger

13 Feature Overview Oracle Query Window .NET Stored Procedure Deployment
Ad Hoc SQL Explain Plan .NET Stored Procedure Deployment Integrated help system – SQL, PL/SQL keywords

14 <Insert Picture Here>
Oracle Providers for ASP.NET

15 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

16 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

17 Oracle Providers for ASP.NET
IIS ASP.NET Controls ASP.NET Services Oracle Providers for ASP.NET ODP.NET

18 Oracle Providers for ASP.NET
Oracle Providers for ASP.NET Components Cache Dependency Provider Membership Provider Profile Provider Role Provider Site Map Provider Session State Provider Web Parts Personalization Provider Web Events Provider Administrators can pick and choose which providers to use

19 D E M O N S T R A T I O N ASP.NET Providers

20 <Insert Picture Here>
Oracle Data Provider for .NET (ODP.NET)

21 ODP.NET Object Model Disconnected Layer Connected Layer (ODP.NET) Data
Oracle DataAdapter Oracle CommandBuilder DataSet Oracle DataReader Oracle Command Oracle Transaction Oracle Connection Oracle


23 ODP.NET Features Connection pooling RAC Full PL/SQL support
Min, Max, Timeout, Lifetime, Increment, Decrement RAC Automatic load balancing Automatic connection cleanup Full PL/SQL support Packaged, non-packaged, anonymous, autonomous Batch SQL available with anonymous PL/SQL Here are some of the ODP.NET features that were not previously available to ADO, OLE DB .NET, nor ODBC .NET users: More robust anonymous (use PL/SQL blocks in .NET code) PL/SQL support Native Oracle types and safe type mapping Connection Pooling Configuration PL/SQL can be used more flexibly with ODP.NET. Anonymous PL/SQL allows the client to batch SQL calls to the DB. When you embed multiple commands within anonymous PL/SQL, only one roundtrip to the database is made, thereby improving data access performance. Native Oracle types allow users to use Oracle data types within their .NET programs. This makes using Oracle data easier and much more flexible from .NET. It saves developers and applications from doing unnecessary conversions to .NET data types if they are not needed. Each native Oracle data type can be mapped to a respective .NET data type. Because Oracle data types tend to be higher precision than .NET types, Oracle allows conversion between the two types without losing data. This is known as safe type mapping. For example, Oracle Number can hold 38 digits, whereas .NET Decimal only holds 28. Safe type mapping allows converting Oracle Number to .NET byte array or .NET string and back to Oracle Number without losing any data. Creating DB connections is resource intensive. As such, connection pooling is an invaluable performance tuning option. Previously, .NET developers could only set timeout values for their connection pools. With ODP.NET, connection pools are very flexible to configure for any type of application user load.

24 ODP.NET Features Native Oracle data types Parameters
REF Cursors, LOBs, XMLType, TimeStamp, etc. Safe type mapping to .NET data types Parameters PL/SQL Associative Array data type LOBs Ability to pre-fetch or defer LOB retrieval

25 ODP.NET Features XML Transactions XMLType data type
Query and Save XML from the DB Both relational and object-relational Interoperate with MS XML APIs (e.g. XmlReader) Supports XSLT, XPATH, and XML Schema Transactions Enterprise Services via Oracle Services for MTS Local (Implicit and Explicit) System.Transactions Savepoints There features are not available to ADO, OLE DB .NET, nor ODBC .NET users: ODP.NET XML APIs XML DB is a high performance XML storage and retrieval technology in the Oracle DB. XML DB stores XML natively in the DB with its own data type, XMLType. ODP.NET exposes XMLType as a native type within .NET to manipulate XML and share XML with Microsoft’s XML services, such as XMLReader. ODP.NET can access relational and object-relational data as XML with the ability to query and save XML from the database easily.

26 Top Unique ODP.NET Features
Features Oracle SQL 2008 Better Result Set Tuning Options Yes No Configurable LOB Retrieval Yes No Array Parameters Yes No Proxy Auth. and Secure App Context Yes No Real Application Clusters Support Yes No Self-Updating Cache Yes No

27 <Insert Picture Here>
Next Steps

28 Oracle Technology Network – .NET Developer Center
Free downloads of Visual Studio tools, ODP.NET, ASP.NET providers, and Oracle Database XE White papers Sample code Demo videos Help forums “How to” step by step tutorials Latest Oracle on .NET news

29 More Information .NET Technology Center Windows Server Center
Windows Server Center For more questions

30 The preceding is intended to outline our general product direction
The preceding is intended to outline our general product direction. It is intended for informational 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.



Download ppt "Getting Started with Oracle and .NET"

Similar presentations

Ads by Google