NoCOUG 2011-Getting Started With .NET

Embed Size (px)

DESCRIPTION

Oracle

Citation preview

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    1/42

    1

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    2/42

    Getting Started with Oracle and .NET

    Riaz Ahmed

    Director Software Development at Oracle

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    3/42

    3

    Program genda

    Oracle and Microsoft Oracle and .NET getting started

    Oracle Developer Tools for is!al St!dio

    Oracle Data "rovider for .NET

    Oracle "roviders for AS".NET Oracle .NET stored proced!res

    Additional Oracle .NET feat!res

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    4/42

    !

    Oracle and "icroso#t

    Partnershi$

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    5/42

    %

    Oracle&s 'ommitment to .NET

    #$$%#$$#&$'

    .NET

    (.)

    #$$*

    OD".NETODT +

    .NET S"

    %,&-it

    ODA

    ODA

    #$$%

    .NET #.$

    +

    S #$$*

    #$$/

    .NET

    '.$

    S #$$'

    ODA

    #$$0

    #$$/&$0

    ODA#$$1

    #$$1

    ODA

    #$($

    #$($

    .NET , +

    S #$($

    .NET '.*

    +

    S #$$0

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    6/42

    (

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    7/42)

    Oracle .NET * +arge ,e-elo$er 'ommunit

    Over 0$$2 Oracle .NET developer comm!nit3

    Microsoft M" endorsements of ODA

    4ill Ev5en6 fo!nder of 7NETA

    Andrew 4r!st

    8ohn oo9

    Top twent3 most downloaded OTN software

    ODA downloads

    One of the most visited we-sites on OTN

    OTN .NET Developer enter

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    8/42/

    Oracle and .NET *

    Getting Started

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    9/420

    Oracle Technolog Networ *

    .NET ,e-elo$er 'enter

    htt$2otn.oracle.comdotnet

    :ree downloads of is!al St!dio tools6 OD".NET

    ;hitepapers

    Sample ode Demo ideos

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    10/4214

    Oracle .NET ,e-elo$ment En-ironment

    5isual

    Studio

    5isual

    Studio

    $$lication

    ,e-elo$ment,e$lo

    ,e$lo

    ,ata6ase

    ,e-elo$ment

    Oracle ,ataPro-ider #or .NET

    Oracle ,e-elo$erTools #or 5isual

    Studio

    Oracle ,ata6ase

    E7tensions #or .NET

    Oracle Pro-iders#or SP.NET

    .NET

    8ramewor

    .NET

    8ramewor9e6 or

    'lientSer-er

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    11/4211

    ,e-elo$ on 9indows *

    :un ,ata6ase on an Plat#orm

    O,T andO,P.NETO,T andO,P.NET

    ;indows;indows

    ;indows

    ?in!)

    Solaris

    Oracle ((g6 ($g6 or 1i

    Other

    5isualStudio5isualStudio

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    12/421;

    Oracle ,e-elo$er Tools

    #or 5isual Studio

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    13/4213

    , E " O N S T : T I O N

    5isual StudioIntegration

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    14/421!

    O,T 8eature O-er-iew

    :!ll3 integrated with is!al St!dio #$($6 #$$06 and #$$*

    Server E)plorer

    Data So!rces ;indow

    Dataset Designer

    Ta-leAdapter onfig!ration ;izard

    @!er3 4!ilder@!er3 Designer

    More

    A!tomatic code generation ;in:orm and AS".NET

    Ma9es AS".NET we- application development ver3 eas3

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    15/42

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    16/421(

    O,T 8eature O-er-iew

    "erformance anal3sis and t!ning Oracle "erformance Anal3zer

    T!ne 3o!r r!nning applications !se of the data-ase

    S@? T!ning Advisor

    T!ne ad&hoc F!eries in @!er3 ;indow T!ne inefficient application S@? detected -3 Oracle "erformance

    Anal3zer

    Messaging

    Advanced @!e!ing GA@H designers reate6 modif36 and administer 3o!r F!e!es and F!e!e ta-les

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    17/42

    1)

    O,T 8eature O-er-iew

    Oracle @!er3 ;indow Ad

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    18/42

    1/

    Oracle ,ata Pro-ider

    #or .NET

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    19/42

    10

    O,P.NET =asics

    7mplements standard ADO.NET Adds Oracle D4&specific capa-ilities

    Eas3 to !se and int!itive

    Native access to Oracle Data-ase Ctilize advanced Oracle Data-ase feat!res E.g. RA6 performance6 sec!rit36 data t3pes6 IM?6 etc.

    D4 server can -e on an3 operating s3stem

    D4 client can -e '#&-it or %,&-it S!pports .NET :ramewor9 (.$ and higher

    D4 client and server versions not need to match

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    20/42

    ;4

    O,P.NET O6ect "odel

    DataSetOracle

    DataAdapter

    Oracle

    Transaction

    Oracle

    ommand

    Oracle

    onnection

    Oracle

    DataReader

    'onnected +aer?O,P.NET@

    ,isconnected+aer

    Oracle

    Oracle

    ommand4!ilder

    ,ata+aer

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    21/42

    ;1

    , E " O N S T : T I O N

    O,P.NET

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    22/42

    ;;

    Ae O,P.NET 8eatures

    onnection pooling RAJ a!tomatic load -alancing

    RA and Data B!ardJ a!tomatic =dead> connection clean!p

    "erformance co!nters

    :!ll "?S@? s!pport "ac9aged6 non&pac9aged6 anon3mo!s6 a!tonomo!s

    4atch S@? availa-le with anon3mo!s "?S@?

    Native Oracle data t3pes

    RE: !rsors6 ?O4s6 IM?T3pe6 TimeStamp6 etc. Safe t3pe mapping to .NET data t3pes

    Oracle data t3pes in DataSet

    OracleDataAdapter.Ret!rn"roviderSpecificT3pes K tr!e

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    23/42

    ;3

    Ae O,P.NET 8eatures

    "erformance t!ning Statement caching

    :etchSize and RowSize

    Sec!rit3 and a!diting

    "ro)3 a!thentication End&to&end tracing with lient 7d6 Action6 and Mod!le

    Deplo3ment

    Oracle Cniversal 7nstaller great for individ!als

    Icop3 7nstant lient great for large deplo3ments

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    24/42

    ;!

    "icroso#t Oracle'lient "igration to O,P.NET

    Microsoft Oraclelient GMSOH Microsofts ADO.NET provider for Oracle data-ase

    Deprecation anno!nced 8!ne6 #$$1

    Microsoft strongl3 recommends !sing another Oracle provider

    MSO to OD".NET migration

    (.Add OD".NET reference

    #.Add OD".NET namespace

    '.Cpdate connection string Gif necessar3H

    ,.Add one line of code for -inding parameters

    OracleCommand.BindByName = true; //C#

    httpJwww.oracle.comtechnetwor9topicsdotnetinde

    )&$0*/$'.html

    http://www.oracle.com/technetwork/topics/dotnet/index-085703.htmlhttp://www.oracle.com/technetwork/topics/dotnet/index-085703.htmlhttp://www.oracle.com/technetwork/topics/dotnet/index-085703.htmlhttp://www.oracle.com/technetwork/topics/dotnet/index-085703.html
  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    25/42

    ;%

    B$coming 8eatures

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    26/42

    ;(

    Oracle Su$$ort #or +INC and Entit 8ramewor

    Entit3 Data Model ;izard and Designer Benerate a concept!al model from Oracle Data-ase

    Cpdate concept!al model6 storage model6 and mappings from

    Oracle Data-ase

    Benerate Oracle S@? DD? script from the concept!al model

    @!er3 lang!age interfaces

    ?7N@ to Entities

    Entit3 S@?

    DM? capa-ilities Ginsert!pdatedeleteH

    Entit3 :ramewor9 a!to&generates DM? statements for Oracle

    Data-ase

    Or !se 3o!r own Oracle stored proced!res for DM?

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    27/42

    ;)

    Oracle Su$$ort #or +INC and Entit 8ramewor

    Availa-ilit3 4etaJ Availa-le now6 version ((.#.$.#.'$

    "rod!ctionJ End of #$((

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    28/42

    ;/

    8ull "anaged O,P.NET

    ($$L managed provider 7ncl!ding Oracle lient

    :!ll3 ADO.NET compliant

    Release sched!le 4eta #$((

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    29/42

    ;0

    Oracle Pro-iders

    #or SP.NET

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    30/42

    34

    Oracle Pro-iders #or SP.NET2 'once$ts

    "re&-!ilt services to store we-site state intodata-ases

    Eas3 to learn

    4ased on standard AS".NET provider A"7s and schema

    an -e managed -3 77S Mem-ership and role information

    7nstallation

    R!n "?S@? scripts to create provider schemas

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    31/42

    31

    Oracle Pro-iders #or SP.NET2 'om$onents

    Eight providers availa-le ache Dependenc3 "rovider

    Mem-ership "rovider

    "rofile "rovider

    Role "rovider

    Site Map "rovider

    Session State "rovider

    ;e- "arts "ersonalization "rovider

    ;e- Events "rovider

    Administrators pic9 which providers to !se

    One or more in an3 com-ination

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    32/42

    3;

    Oracle .NET Stored

    Procedures

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    33/42

    33

    Oracle ,ata6ase E7tensions #or .NET

    Data-ase option

    ;indows onl3

    4oth '#&-it and %,&-it s!pported

    M!st have .NET :ramewor9

    Oracle Data-ase ($g Release # or later

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    34/42

    3!

    'D5='FFSer-erProect

    ssem6l#oo.dll

    ?$roc SP@

    =uil

    d

    ,e-elo$

    StoredProcedure

    SC+

    'lient$$lication

    In-oe,e$lo

    Oracle ,e-elo$er

    Tools #or 5S.NET

    Oracle ,ata6ase E7tensions #or .NET

    Oracle ,e-elo$er Tools

    #or 5isual Studio

    Oracle ,e-elo$er Tools

    #or 5isual Studio

    5isualStudio5isualStudio

    Oracle ,ata6aseE7tensions #or .NETOracle ,ata6aseE7tensions #or .NET

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    35/42

    3%

    dditional Oracle

    .NET 8eatures

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    36/42

    3(

    TimesTen ,ata Pro-ider #or .NET

    ;hat is TimesTen Memor3&optimized relational data-ase for instant responsiveness

    and ver3 high thro!ghp!t

    Deplo3ed in application tier as an em-edded or standalone D4

    Availa-le with ((.#.$.# S!pports OD".NET classes6 en!merations6 interfaces6

    delegates6 and str!ct!res

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    37/42

    3)

    dditional Oracle .NET 'a$a6ilities

    oherence

    Oracle Application Testing S!ite

    4er9ele3 D4

    Oracle 4!siness "rocess Management Brid ontrol "l!g&7ns

    And more.

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    38/42

    3/

    $$endi7

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    39/42

    30

    "ore Oracle .NET :esources

    .NET Technolog3 enter httpJotn.oracle.comdotnet

    :or more F!estions

    ale).9ehoracle.com

    christian.sha3oracle.com

    http://otn.oracle.com/dotnetmailto:[email protected]:[email protected]://otn.oracle.com/dotnet
  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    40/42

    !4

    The preceding is intended to o!tline o!r generalprod!ct direction. 7t is intended for information

    p!rposes onl36 and ma3 not -e incorporated into an3

    contract. 7t is not a commitment to deliver an3

    material6 code6 or f!nctionalit36 and sho!ld not -erelied !pon in ma9ing p!rchasing decisions.

    The development6 release6 and timing of an3

    feat!res or f!nctionalit3 descri-ed for Oracles

    prod!cts remains at the sole discretion of Oracle.

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    41/42

    !1

  • 7/17/2019 NoCOUG 2011-Getting Started With .NET

    42/42