Getting Started with Oracle and .NET

advertisement
<Insert Picture Here>
Getting Started
with Oracle and .NET
Alex Keh
Principal Product Manager
Server Technologies
Agenda
•
•
Oracle and .NET – Getting Started
Oracle Developer Tools for Visual Studio
•
•
Oracle Providers for ASP.NET
•
•
Demo
Oracle Data Provider for .NET
•
•
Demo
Demo
Next Steps
<Insert Picture Here>
Oracle and .NET –
Getting Started
Oracle and Microsoft Relationship
Engineering
• Close collaboration with Microsoft engineering teams
• Access to pre-release drops of Microsoft products
• Developer and database websites for both communities
Community
• Joint training, road shows, tech articles, white papers, etc.
• Conference sponsorships (TechEd, PDC, OpenWorld, etc.)
Support
• Microsoft Premier Support Agreement
• Collaboration of support teams
.NET Development Environment Support
Oracle Developer
Tools for Visual
Studio
Oracle Data
Provider for .NET
Application
Development
.NET
Application
Visual Studio
Environment
Deploy
Database
Development
Deploy
Web or
Client/Server
Application
Oracle Providers
for ASP.NET
Oracle Database
Extensions for .NET
.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.
Develop on Windows, Database on any
Platform
ODT and
ODP.NET
Windows
Linux
Visual Studio
Environment
Unix
Windows
Other
Oracle 11g,10g, 9i, or 8i
<Insert Picture Here>
Oracle Developer Tools for
Visual Studio (ODT)
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
D E M O N S T R A T I O N
Visual Studio
Integration
Feature Overview
• Oracle Wizards and Designers
•
•
•
•
•
•
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
Feature Overview
• Oracle Query Window
• Ad Hoc SQL
• Explain Plan
• .NET Stored Procedure Deployment
• Integrated help system – SQL, PL/SQL keywords
<Insert Picture Here>
Oracle Providers for ASP.NET
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
Oracle Providers for ASP.NET
•
Seamless integration with ASP.NET services and
controls
•
•
•
Easy to switch from SQL Server to Oracle quickly
•
•
Reference to specific providers unnecessary
High level of abstraction: services and controls based
programming
Configuration file determines which data source to use
Easy to setup and manage
•
Can be managed by IIS or Website Admin Tool
Oracle Providers for ASP.NET
IIS
ASP.NET Controls
ASP.NET Services
Oracle Providers for ASP.NET
ODP.NET
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
D E M O N S T R A T I O N
ASP.NET
Providers
<Insert Picture Here>
Oracle Data Provider for .NET
(ODP.NET)
ODP.NET Object Model
Disconnected
Layer
DataSet
Connected Layer
(ODP.NET)
Oracle
DataAdapter
Data
Layer
Oracle
CommandBuilder
Oracle
DataReader
Oracle
Command
Oracle
Transaction
Oracle
Connection
Oracle
D E M O N S T R A T I O N
ODP.NET
ODP.NET Features
• Connection pooling
• 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
ODP.NET Features
• Native Oracle data types
• 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
ODP.NET Features
• XML
• 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
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
<Insert Picture Here>
Next Steps
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
• White papers
• Sample code
• Demo videos
• Help forums
• “How to” step by step tutorials
• Latest Oracle on .NET news
More Information
• .NET Technology Center
• http://otn.oracle.com/dotnet
• Windows Server Center
• http://otn.oracle.com/windows
• For more questions
• alex.keh@oracle.com
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