SlideShare a Scribd company logo
1 of 45
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
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 decision. The development, release, and timing
of any features or functionality described for Oracle’s products
remains at the sole discretion of Oracle.
Christian Shay
Principal Product Manager
.NET and Windows
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Introducing:
.NET Stored Procedures for
Oracle Database 10g
Release 2 and Oracle
Developer Tools for Visual
Studio .NET
Agenda
• Oracle Developer Tools for Visual Studio .NET
• Overview
• Demo - drill down
• Oracle Database Extensions for .NET
• Overview
• Demo – My First SP
• Tuning and Data Access
• Demo – Data Access in a SP
• Demo – Debugging a .NET SP
Windows Development
Environment Support
Visual Studio
Environment
IIS
Oracle Developer
Tools for VS.NET
C++, C#,
VB .NET
Application
Develop
ODP.NET
Deploy
Oracle DB
Extensions
For .NET
IIS
(ASP
ASP.NET)
MTS/
COM+
Application
Deploy
Oracle Services for MTS
Database
Development
Oracle Developer Tools for Visual
Studio .NET
• Tightly integrated “Add-in” for Visual Studio .NET
• Oracle is a premier-level partner in the Microsoft
Visual Studio Industry Partner (VSIP) Program
• Available for free download now
• http://otn.oracle.com/dotnet
Develop on Windows, Database on
any Platform
Visual Studio
Environment
Oracle Developer
Tools for VS.NET
Windows
Windows
Linux
Unix
Oracle 10g, 9i, or 8i
Other
Benefits
• Easy to learn and intuitive
• Leverage SQL Server development experience
• Powerful features that enhance productivity – e.g.
designers, auto code generation
• Exposes latest and greatest Oracle functionality
• Stay in Visual Studio for project lifecycle
Feature Overview
• Oracle Explorer – browse and alter schema
• Wizards and Designers
• Automatic code generation
• PL/SQL Editor with IntelliSense
• Oracle Data Window
• Oracle Query Window (ad hoc SQL)
• .NET Stored Procedure Deployment Wizard
• Integrated help system – SQL, PL/SQL keywords
D E M O N S T R A T I O N
Oracle Developer
Tools - Drill Down
Oracle Explorer
• Tree control, similar to “Server Explorer”
• View Oracle schema objects
• Generate SQL for schema objects
• Filter hides unwanted schema objects
• A starting place for most tasks
• View, alter, create schema objects
• Auto generate code
• View and edit Oracle data
• Run stored procedures and functions
Oracle Explorer
Designers and Wizards
• Table Designer
• View Designer
• Stored Procedure/Function Wizard
• Package Wizards
• Sequence Designer
• Synonym Designer
• Trigger Designer
• Data Adapter Wizard
Table Designer
Automatic Code Generation
• Drag and drop a schema object from Oracle Explore
• Generated code uses OracleDataAdapter class
(ODP.NET)
• Data Adapter Wizard can be run to customize
• Generate “typed datasets” as needed
PL/SQL Code Editor
• Syntax Coloring
• Collapsible regions
• IntelliSense
• Context sensitive help for SQL/PLSQL keywords
• Intelligent error display in task list
• Context-sensitive help for Oracle error numbers
PL/SQL Code Editor
Data Window
• View and update table data
• Run stored procedures and view data
• Supports Oracle data types
• View complex data types such as Ref Cursors
Data Window
Oracle Query Window
• Execute “ad hoc” SQL
• Drag and drop objects from Oracle Explorer to
generate SQL
• Result of select statements in grid or text format
• Execute multiple statements in a row
• Run scripts (“@myscript.sql”)
Integrated Online Help
• Getting started
• Walkthroughs
• Oracle Developer Tools Reference Guide
• Context sensitive help for UI elements
• Context sensitive SQL and PLSQL keywords
• Oracle Error Manual
• Oracle SQL Reference Guide
• Oracle PL/SQL Reference Guide
Integrated Online Help
Coming Soon – CY 2005
• PL/SQL Debugging
• Visual Studio .NET 2005 support
• Many other features
Agenda
• Oracle Developer Tools for Visual Studio .NET
• Overview
• Demo - drill down
• Oracle Database Extensions for .NET
• Overview
• Demo – My First SP
• Tuning and Data Access
• Demo – Data Access in a SP
• Demo – Debugging a .NET SP
Oracle Database Extensions
for .NET
• Oracle 10g Release 2 on Windows
• Write Microsoft Visual C# or Visual Basic .NET
stored procedures/functions
• Build assembly in Visual Studio .NET
• Deploy from Visual Studio .NET using .NET
Deployment Wizard
Architecture
Write .NET Stored Procedures for
Oracle
Visual Studio
Environment
Oracle Developer
Tools for VS.NET
Oracle DB
Extensions
for .NET
C#,VB.NET,C++
Server Project
(Use ODP.NET
if required)
Assembly
foo.dll
(proc sp)
Build
Develop
Stored Proc
Stored
Procedure,
SQL ..
Client
Application
Invoke
Invoke
Deploy
Supported Platforms
• Windows only
• .NET Framework 1.1
• Oracle 10.2 or later
When to use
• Ease of development
• Computationally intensive code
• Leverage .NET programming expertise
• Leverage existing .NET code libraries
• Windows platform only
Install
• “Custom” install of “Oracle Database
Extensions for .NET” is required
• DBCA performs configuration
• CLR Service created and started
• Service is named <OracleHomeName>ClrAgnt
Creating a .NET Stored
Procedure
1. Use Visual Studio .NET to build a .NET
procedure or function in the usual way
2. If data access is required, use ODP.NET
classes
3. Result is a .NET assembly
4. Run .NET Stored Procedure Deployment
Wizard (included with Oracle Developer Tools)
5. Call .NET stored procedure as you would any
other Oracle stored procedure
Stored Procedure
Requirements
• Be declared a public static method.
• Not be a constructor or a destructor.
• Use parameter types that are compatible with
the Oracle native database types.
Security Levels
• Safe - Access only to database resources.
• External - Read or write to local files, and
access to network resources such as sockets
and internet nodes
• Unsafe- Unrestricted execution including
execution of unmanaged code. It is a superset
of all other security levels.
D E M O N S T R A T I O N
Your First .NET SP
OraCLRAgent Service
• Multithreaded Agent Architecture
• Optimized for security and performance
• A separate multithreaded process is started for
each system identifier
• Each TNS listener that is running on a system
listens for incoming connection requests for a set
of SIDs.
• As system load thresholds are met, additional
processes are spawed
Performance Tuning
• Edit Service <OracleHomeName>ClrAgnt
• Example: ORACLE_HOMEbinoraclragnt.exe
agent_sid=CLRExtProc max_task_threads=5
Performance Tuning
• max_sessions – (25) Number of maximum
sessions
• max_task_threads – (6) Number of maximum
task threads
• max_dispatchers – (2) Number of maximum
dispatchers
ODP.NET Server Side
Differences
• Failover/Notifications, Transaction and
Connection classes have differences
• No transactions can be started, committed, or
rolled back from within a .NET SP that uses
the default connection of the caller
• Regular transaction symantics apply if a new
connection is opened in the SP
D E M O N S T R A T I O N
.NET SP Data
Access
D E M O N S T R A T I O N
.NET SP
Debugging
Next Steps
• .NET Developer Center -
http://otn.oracle.com/dotnet
• Visit our booth in the demogrounds:
• Oracle Database 10g area - Moscone South
• More .NET and Windows sessions:
• ODP.NET: New Features in ADO.NET 2.0 and Oracle
Database 10g Release 2
– NEXT! (Today 4:30 PM 304 Moscone South)
• Oracle Database on Windows: Best Practices
Thursday, 2:30PM in 304 Moscone South
• OTN Ask the Experts
Wednesday, 4PM – OTN Lounge, Moscone West
• E-mail me: christian.shay@oracle.com
Q U E S T I O N S
A N S W E R S
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

More Related Content

What's hot

MySQL as a Document Store
MySQL as a Document StoreMySQL as a Document Store
MySQL as a Document StoreTed Wennmark
 
OpenSuse 2015: Secure Deployment Changes Coming in MySQL 5.7
OpenSuse 2015: Secure Deployment Changes Coming in MySQL 5.7OpenSuse 2015: Secure Deployment Changes Coming in MySQL 5.7
OpenSuse 2015: Secure Deployment Changes Coming in MySQL 5.7Georgi Kodinov
 
Scala adoption by enterprises
Scala adoption by enterprisesScala adoption by enterprises
Scala adoption by enterprisesMike Slinn
 
Learning Silicon Valley Culture
Learning Silicon Valley CultureLearning Silicon Valley Culture
Learning Silicon Valley CultureTaro L. Saito
 
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9Bhaskar Naik
 
50 Shades of Fail KScope16
50 Shades of Fail KScope1650 Shades of Fail KScope16
50 Shades of Fail KScope16Christian Berg
 
Slick – the modern way to access your Data
Slick – the modern way to access your DataSlick – the modern way to access your Data
Slick – the modern way to access your DataJochen Huelss
 
Oracle SQL Developer - POUG 2018
Oracle SQL Developer - POUG 2018Oracle SQL Developer - POUG 2018
Oracle SQL Developer - POUG 2018Sabine Heimsath
 
Apex world 2018 continuously delivering APEX
Apex world 2018 continuously delivering APEXApex world 2018 continuously delivering APEX
Apex world 2018 continuously delivering APEXSergei Martens
 
Silicon Valley JUG meetup July 18, 2018
Silicon Valley JUG meetup July 18, 2018Silicon Valley JUG meetup July 18, 2018
Silicon Valley JUG meetup July 18, 2018Oracle Developers
 
Infinum Android Talks #09 - DBFlow ORM
Infinum Android Talks #09 - DBFlow ORMInfinum Android Talks #09 - DBFlow ORM
Infinum Android Talks #09 - DBFlow ORMInfinum
 
ASP.NET Core Demos Part 2
ASP.NET Core Demos Part 2ASP.NET Core Demos Part 2
ASP.NET Core Demos Part 2Erik Noren
 
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16Alfredo Abate
 
ASP.NET Core Demos
ASP.NET Core DemosASP.NET Core Demos
ASP.NET Core DemosErik Noren
 
Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid C2B2 Consulting
 
Adi Sapir ISUG 123 11/10/2012
Adi Sapir ISUG 123 11/10/2012Adi Sapir ISUG 123 11/10/2012
Adi Sapir ISUG 123 11/10/2012sqlserver.co.il
 
SOLID Programming with Portable Class Libraries
SOLID Programming with Portable Class LibrariesSOLID Programming with Portable Class Libraries
SOLID Programming with Portable Class LibrariesVagif Abilov
 

What's hot (20)

MySQL as a Document Store
MySQL as a Document StoreMySQL as a Document Store
MySQL as a Document Store
 
OpenSuse 2015: Secure Deployment Changes Coming in MySQL 5.7
OpenSuse 2015: Secure Deployment Changes Coming in MySQL 5.7OpenSuse 2015: Secure Deployment Changes Coming in MySQL 5.7
OpenSuse 2015: Secure Deployment Changes Coming in MySQL 5.7
 
The RDBMS You Should Be Using
The RDBMS You Should Be UsingThe RDBMS You Should Be Using
The RDBMS You Should Be Using
 
Scala adoption by enterprises
Scala adoption by enterprisesScala adoption by enterprises
Scala adoption by enterprises
 
Learning Silicon Valley Culture
Learning Silicon Valley CultureLearning Silicon Valley Culture
Learning Silicon Valley Culture
 
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
Weblogic server-overview-weblogic-scripting-tool0-1228252752844434-9
 
50 Shades of Fail KScope16
50 Shades of Fail KScope1650 Shades of Fail KScope16
50 Shades of Fail KScope16
 
Slick – the modern way to access your Data
Slick – the modern way to access your DataSlick – the modern way to access your Data
Slick – the modern way to access your Data
 
Oracle SQL Developer - POUG 2018
Oracle SQL Developer - POUG 2018Oracle SQL Developer - POUG 2018
Oracle SQL Developer - POUG 2018
 
Apex world 2018 continuously delivering APEX
Apex world 2018 continuously delivering APEXApex world 2018 continuously delivering APEX
Apex world 2018 continuously delivering APEX
 
Silicon Valley JUG meetup July 18, 2018
Silicon Valley JUG meetup July 18, 2018Silicon Valley JUG meetup July 18, 2018
Silicon Valley JUG meetup July 18, 2018
 
Infinum Android Talks #09 - DBFlow ORM
Infinum Android Talks #09 - DBFlow ORMInfinum Android Talks #09 - DBFlow ORM
Infinum Android Talks #09 - DBFlow ORM
 
introduction v4
introduction v4introduction v4
introduction v4
 
ASP.NET Core Demos Part 2
ASP.NET Core Demos Part 2ASP.NET Core Demos Part 2
ASP.NET Core Demos Part 2
 
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
 
ASP.NET Core Demos
ASP.NET Core DemosASP.NET Core Demos
ASP.NET Core Demos
 
Sq lite presentation
Sq lite presentationSq lite presentation
Sq lite presentation
 
Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid Advanced queries on the Infinispan Data Grid
Advanced queries on the Infinispan Data Grid
 
Adi Sapir ISUG 123 11/10/2012
Adi Sapir ISUG 123 11/10/2012Adi Sapir ISUG 123 11/10/2012
Adi Sapir ISUG 123 11/10/2012
 
SOLID Programming with Portable Class Libraries
SOLID Programming with Portable Class LibrariesSOLID Programming with Portable Class Libraries
SOLID Programming with Portable Class Libraries
 

Similar to Ow

Oracle database connection with the .net developers
Oracle database connection with the .net developersOracle database connection with the .net developers
Oracle database connection with the .net developersveerendramb3
 
PLSSUG - Troubleshoot SQL Server performance problems like a Microsoft Engineer
PLSSUG - Troubleshoot SQL Server performance problems like a Microsoft EngineerPLSSUG - Troubleshoot SQL Server performance problems like a Microsoft Engineer
PLSSUG - Troubleshoot SQL Server performance problems like a Microsoft EngineerMarek Maśko
 
2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...
2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...
2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...Marcus Vinicius Miguel Pedro
 
2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to CloudMarcus Vinicius Miguel Pedro
 
FlexDeploy Product Technical Overview
FlexDeploy Product Technical OverviewFlexDeploy Product Technical Overview
FlexDeploy Product Technical OverviewDalibor Blazevic
 
Oracle Fusion Middleware on Exalogic Best Practises
Oracle Fusion Middleware on Exalogic Best PractisesOracle Fusion Middleware on Exalogic Best Practises
Oracle Fusion Middleware on Exalogic Best PractisesMichel Schildmeijer
 
SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSPC Adriatics
 
O365con14 - migrating your e-mail to the cloud
O365con14 - migrating your e-mail to the cloudO365con14 - migrating your e-mail to the cloud
O365con14 - migrating your e-mail to the cloudNCCOMMS
 
Sql developer - Powerful Free tool for Developers and DBA's
Sql developer - Powerful Free tool for Developers and DBA'sSql developer - Powerful Free tool for Developers and DBA's
Sql developer - Powerful Free tool for Developers and DBA'sNavneet Upneja
 
7 steps to simplifying your AI workflows
7 steps to simplifying your AI workflows7 steps to simplifying your AI workflows
7 steps to simplifying your AI workflowsWisecube AI
 
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. NielsenJ1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. NielsenMS Cloud Summit
 
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...Alfredo Krieg
 
6232 b 01
6232 b 016232 b 01
6232 b 01stamal
 
oracle 10G DBA Training In Delhi NCR
oracle 10G DBA Training In Delhi NCRoracle 10G DBA Training In Delhi NCR
oracle 10G DBA Training In Delhi NCRShri Prakash Pandey
 
ZZ BC#7 asp.net mvc practice and guideline by NineMvp
ZZ BC#7 asp.net mvc practice and guideline by NineMvpZZ BC#7 asp.net mvc practice and guideline by NineMvp
ZZ BC#7 asp.net mvc practice and guideline by NineMvpChalermpon Areepong
 
Database continuous integration, unit test and functional test
Database continuous integration, unit test and functional testDatabase continuous integration, unit test and functional test
Database continuous integration, unit test and functional testHarry Zheng
 
DMann-SQLDeveloper4Reporting
DMann-SQLDeveloper4ReportingDMann-SQLDeveloper4Reporting
DMann-SQLDeveloper4ReportingDavid Mann
 

Similar to Ow (20)

Apex ace update
Apex ace updateApex ace update
Apex ace update
 
Oracle database connection with the .net developers
Oracle database connection with the .net developersOracle database connection with the .net developers
Oracle database connection with the .net developers
 
PLSSUG - Troubleshoot SQL Server performance problems like a Microsoft Engineer
PLSSUG - Troubleshoot SQL Server performance problems like a Microsoft EngineerPLSSUG - Troubleshoot SQL Server performance problems like a Microsoft Engineer
PLSSUG - Troubleshoot SQL Server performance problems like a Microsoft Engineer
 
2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...
2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...
2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...
 
2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud
 
FlexDeploy Product Technical Overview
FlexDeploy Product Technical OverviewFlexDeploy Product Technical Overview
FlexDeploy Product Technical Overview
 
70487.pdf
70487.pdf70487.pdf
70487.pdf
 
Oracle Fusion Middleware on Exalogic Best Practises
Oracle Fusion Middleware on Exalogic Best PractisesOracle Fusion Middleware on Exalogic Best Practises
Oracle Fusion Middleware on Exalogic Best Practises
 
SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi Vončina
 
O365con14 - migrating your e-mail to the cloud
O365con14 - migrating your e-mail to the cloudO365con14 - migrating your e-mail to the cloud
O365con14 - migrating your e-mail to the cloud
 
Sql developer - Powerful Free tool for Developers and DBA's
Sql developer - Powerful Free tool for Developers and DBA'sSql developer - Powerful Free tool for Developers and DBA's
Sql developer - Powerful Free tool for Developers and DBA's
 
7 steps to simplifying your AI workflows
7 steps to simplifying your AI workflows7 steps to simplifying your AI workflows
7 steps to simplifying your AI workflows
 
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. NielsenJ1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
 
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
 
6232 b 01
6232 b 016232 b 01
6232 b 01
 
Azure data lake sql konf 2016
Azure data lake   sql konf 2016Azure data lake   sql konf 2016
Azure data lake sql konf 2016
 
oracle 10G DBA Training In Delhi NCR
oracle 10G DBA Training In Delhi NCRoracle 10G DBA Training In Delhi NCR
oracle 10G DBA Training In Delhi NCR
 
ZZ BC#7 asp.net mvc practice and guideline by NineMvp
ZZ BC#7 asp.net mvc practice and guideline by NineMvpZZ BC#7 asp.net mvc practice and guideline by NineMvp
ZZ BC#7 asp.net mvc practice and guideline by NineMvp
 
Database continuous integration, unit test and functional test
Database continuous integration, unit test and functional testDatabase continuous integration, unit test and functional test
Database continuous integration, unit test and functional test
 
DMann-SQLDeveloper4Reporting
DMann-SQLDeveloper4ReportingDMann-SQLDeveloper4Reporting
DMann-SQLDeveloper4Reporting
 

Recently uploaded

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 

Recently uploaded (20)

POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 

Ow

  • 1. “This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
  • 2. 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 decision. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
  • 3.
  • 4. Christian Shay Principal Product Manager .NET and Windows “This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
  • 5. Introducing: .NET Stored Procedures for Oracle Database 10g Release 2 and Oracle Developer Tools for Visual Studio .NET
  • 6. Agenda • Oracle Developer Tools for Visual Studio .NET • Overview • Demo - drill down • Oracle Database Extensions for .NET • Overview • Demo – My First SP • Tuning and Data Access • Demo – Data Access in a SP • Demo – Debugging a .NET SP
  • 7. Windows Development Environment Support Visual Studio Environment IIS Oracle Developer Tools for VS.NET C++, C#, VB .NET Application Develop ODP.NET Deploy Oracle DB Extensions For .NET IIS (ASP ASP.NET) MTS/ COM+ Application Deploy Oracle Services for MTS Database Development
  • 8. Oracle Developer Tools for Visual Studio .NET • Tightly integrated “Add-in” for Visual Studio .NET • Oracle is a premier-level partner in the Microsoft Visual Studio Industry Partner (VSIP) Program • Available for free download now • http://otn.oracle.com/dotnet
  • 9. Develop on Windows, Database on any Platform Visual Studio Environment Oracle Developer Tools for VS.NET Windows Windows Linux Unix Oracle 10g, 9i, or 8i Other
  • 10. Benefits • Easy to learn and intuitive • Leverage SQL Server development experience • Powerful features that enhance productivity – e.g. designers, auto code generation • Exposes latest and greatest Oracle functionality • Stay in Visual Studio for project lifecycle
  • 11. Feature Overview • Oracle Explorer – browse and alter schema • Wizards and Designers • Automatic code generation • PL/SQL Editor with IntelliSense • Oracle Data Window • Oracle Query Window (ad hoc SQL) • .NET Stored Procedure Deployment Wizard • Integrated help system – SQL, PL/SQL keywords
  • 12. D E M O N S T R A T I O N Oracle Developer Tools - Drill Down
  • 13. Oracle Explorer • Tree control, similar to “Server Explorer” • View Oracle schema objects • Generate SQL for schema objects • Filter hides unwanted schema objects • A starting place for most tasks • View, alter, create schema objects • Auto generate code • View and edit Oracle data • Run stored procedures and functions
  • 15. Designers and Wizards • Table Designer • View Designer • Stored Procedure/Function Wizard • Package Wizards • Sequence Designer • Synonym Designer • Trigger Designer • Data Adapter Wizard
  • 17. Automatic Code Generation • Drag and drop a schema object from Oracle Explore • Generated code uses OracleDataAdapter class (ODP.NET) • Data Adapter Wizard can be run to customize • Generate “typed datasets” as needed
  • 18. PL/SQL Code Editor • Syntax Coloring • Collapsible regions • IntelliSense • Context sensitive help for SQL/PLSQL keywords • Intelligent error display in task list • Context-sensitive help for Oracle error numbers
  • 20. Data Window • View and update table data • Run stored procedures and view data • Supports Oracle data types • View complex data types such as Ref Cursors
  • 22. Oracle Query Window • Execute “ad hoc” SQL • Drag and drop objects from Oracle Explorer to generate SQL • Result of select statements in grid or text format • Execute multiple statements in a row • Run scripts (“@myscript.sql”)
  • 23. Integrated Online Help • Getting started • Walkthroughs • Oracle Developer Tools Reference Guide • Context sensitive help for UI elements • Context sensitive SQL and PLSQL keywords • Oracle Error Manual • Oracle SQL Reference Guide • Oracle PL/SQL Reference Guide
  • 25. Coming Soon – CY 2005 • PL/SQL Debugging • Visual Studio .NET 2005 support • Many other features
  • 26. Agenda • Oracle Developer Tools for Visual Studio .NET • Overview • Demo - drill down • Oracle Database Extensions for .NET • Overview • Demo – My First SP • Tuning and Data Access • Demo – Data Access in a SP • Demo – Debugging a .NET SP
  • 27. Oracle Database Extensions for .NET • Oracle 10g Release 2 on Windows • Write Microsoft Visual C# or Visual Basic .NET stored procedures/functions • Build assembly in Visual Studio .NET • Deploy from Visual Studio .NET using .NET Deployment Wizard
  • 29. Write .NET Stored Procedures for Oracle Visual Studio Environment Oracle Developer Tools for VS.NET Oracle DB Extensions for .NET C#,VB.NET,C++ Server Project (Use ODP.NET if required) Assembly foo.dll (proc sp) Build Develop Stored Proc Stored Procedure, SQL .. Client Application Invoke Invoke Deploy
  • 30. Supported Platforms • Windows only • .NET Framework 1.1 • Oracle 10.2 or later
  • 31. When to use • Ease of development • Computationally intensive code • Leverage .NET programming expertise • Leverage existing .NET code libraries • Windows platform only
  • 32. Install • “Custom” install of “Oracle Database Extensions for .NET” is required • DBCA performs configuration • CLR Service created and started • Service is named <OracleHomeName>ClrAgnt
  • 33. Creating a .NET Stored Procedure 1. Use Visual Studio .NET to build a .NET procedure or function in the usual way 2. If data access is required, use ODP.NET classes 3. Result is a .NET assembly 4. Run .NET Stored Procedure Deployment Wizard (included with Oracle Developer Tools) 5. Call .NET stored procedure as you would any other Oracle stored procedure
  • 34. Stored Procedure Requirements • Be declared a public static method. • Not be a constructor or a destructor. • Use parameter types that are compatible with the Oracle native database types.
  • 35. Security Levels • Safe - Access only to database resources. • External - Read or write to local files, and access to network resources such as sockets and internet nodes • Unsafe- Unrestricted execution including execution of unmanaged code. It is a superset of all other security levels.
  • 36. D E M O N S T R A T I O N Your First .NET SP
  • 37. OraCLRAgent Service • Multithreaded Agent Architecture • Optimized for security and performance • A separate multithreaded process is started for each system identifier • Each TNS listener that is running on a system listens for incoming connection requests for a set of SIDs. • As system load thresholds are met, additional processes are spawed
  • 38. Performance Tuning • Edit Service <OracleHomeName>ClrAgnt • Example: ORACLE_HOMEbinoraclragnt.exe agent_sid=CLRExtProc max_task_threads=5
  • 39. Performance Tuning • max_sessions – (25) Number of maximum sessions • max_task_threads – (6) Number of maximum task threads • max_dispatchers – (2) Number of maximum dispatchers
  • 40. ODP.NET Server Side Differences • Failover/Notifications, Transaction and Connection classes have differences • No transactions can be started, committed, or rolled back from within a .NET SP that uses the default connection of the caller • Regular transaction symantics apply if a new connection is opened in the SP
  • 41. D E M O N S T R A T I O N .NET SP Data Access
  • 42. D E M O N S T R A T I O N .NET SP Debugging
  • 43. Next Steps • .NET Developer Center - http://otn.oracle.com/dotnet • Visit our booth in the demogrounds: • Oracle Database 10g area - Moscone South • More .NET and Windows sessions: • ODP.NET: New Features in ADO.NET 2.0 and Oracle Database 10g Release 2 – NEXT! (Today 4:30 PM 304 Moscone South) • Oracle Database on Windows: Best Practices Thursday, 2:30PM in 304 Moscone South • OTN Ask the Experts Wednesday, 4PM – OTN Lounge, Moscone West • E-mail me: christian.shay@oracle.com
  • 44. Q U E S T I O N S A N S W E R S
  • 45. “This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”