Aspire.Hosting.Oracle 13.5.3

Prefix Reserved
dotnet add package Aspire.Hosting.Oracle --version 13.5.3
                    
NuGet\Install-Package Aspire.Hosting.Oracle -Version 13.5.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspire.Hosting.Oracle" Version="13.5.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspire.Hosting.Oracle" Version="13.5.3" />
                    
Directory.Packages.props
<PackageReference Include="Aspire.Hosting.Oracle" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspire.Hosting.Oracle --version 13.5.3
                    
#r "nuget: Aspire.Hosting.Oracle, 13.5.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspire.Hosting.Oracle@13.5.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspire.Hosting.Oracle&version=13.5.3
                    
Install as a Cake Addin
#tool nuget:?package=Aspire.Hosting.Oracle&version=13.5.3
                    
Install as a Cake Tool

Oracle Database hosting integration

Use this integration to model, configure, and orchestrate an Oracle database resource in an Aspire solution.

Getting started

Add the integration

From your AppHost directory, add the Aspire.Hosting.Oracle integration with the Aspire CLI:

aspire add Aspire.Hosting.Oracle

Usage example

In the AppHost, add an Oracle database resource and reference it from another resource with either C# or TypeScript:

C#

var db = builder.AddOracle("oracle").AddDatabase("mydb");

var myService = builder.AddProject<Projects.MyService>()
                       .WithReference(db);

TypeScript

const db = await builder.addOracle("oracle").addDatabase("mydb");

const myService = await builder.addNodeApp("myService", "../my-service", "server.js")
                       .withReference(db);

Connection Properties

When you reference an Oracle database resource using WithReference, the following connection properties are made available to the consuming project:

Oracle database server

The Oracle database server resource exposes the following connection properties:

Property Name Description
Host The hostname or IP address of the Oracle server
Port The port number the Oracle server is listening on
Username The username for authentication
Password The password for authentication
Uri The connection URI in oracle:// format, with the format oracle://{Username}:{Password}@{Host}:{Port}
JdbcConnectionString JDBC-format connection string, with the format jdbc:oracle:thin:@//{Host}:{Port}. User and password credentials are provided as separate Username and Password properties.

Oracle database

The Oracle database resource inherits all properties from its parent OracleDatabaseServerResource and adds:

Property Name Description
Uri The connection URI in oracle:// format, with the format oracle://{Username}:{Password}@{Host}:{Port}/{DatabaseName}
JdbcConnectionString JDBC connection string with database name, with the format jdbc:oracle:thin:@//{Host}:{Port}/{DatabaseName}. User and password credentials are provided as separate Username and Password properties.
DatabaseName The name of the database

Aspire exposes each property as an environment variable named [RESOURCE]_[PROPERTY]. For instance, the Uri property of a resource called db1 becomes DB1_URI.

Additional documentation

https://aspire.dev/integrations/gallery/ https://aspire.dev/integrations/databases/efcore/oracle/oracle-host/

Feedback & contributing

https://github.com/microsoft/aspire

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Aspire.Hosting.Oracle:

Repository Stars
ProfessionalCSharp/ProfessionalCSharp2021
Source code for Professional C# and .NET 2021 Edition (with updates for C# 11 and .NET 7)
Version Downloads Last Updated
13.5.3 666 8/25/2026
13.5.2 380 8/21/2026
13.5.1 271 8/20/2026
13.5.0 1,068 8/18/2026
13.4.6 14,774 6/19/2026
13.4.5 1,887 6/17/2026
13.4.4 1,120 6/15/2026
13.4.3 2,663 6/8/2026
13.4.2 1,687 6/3/2026
13.4.1 193 6/3/2026
13.4.0 580 6/1/2026
13.3.5 2,134 5/21/2026
13.3.4 277 5/19/2026
13.3.3 2,452 5/15/2026
13.3.2 1,218 5/14/2026
13.3.1 578 5/12/2026
13.3.0 1,853 5/7/2026
13.2.4 4,608 4/24/2026
13.2.3 945 4/21/2026
13.2.2 2,611 4/8/2026
Loading failed