Show / Hide Table of Contents

Oracle Cloud Infrastructure SDK for .NET

This project is open source and maintained by Oracle Corp. The home page for the project is Oracle Cloud Infrastructure SDK for .NET.

Install Packages

The SDK is published as Nuget packages.

Use either dotnet CLI or Visual Studio to install and consume a package from nuget.org.

  • dotnet CLI:
dotnet add package <PACKAGE_ID> --version <VERSION> (If version not specified then it pulls the latest version)

Example:
dotnet add package OCI.DotNetSDK.Core
dotnet add package OCI.DotNetSDK.Identity
dotnet add package OCI.DotNetSDK.Identity -v 1.0.0
  • Visual Studio: Right-click a project and select "Manage Nuget Packages" and then search for the package name and version number to install.

Working with the SDK for .NET

To start working with the SDK for .NET

  1. Import the service package,
  2. create a client, and
  3. use that client to make calls.

Examples

Examples can be found here.

In this article
  • Install Packages
  • Working with the SDK for .NET
  • Examples
Back to top