Microsoft.Fabric.Api 1.0.0-beta.5

Prefix Reserved
This is a prerelease version of Microsoft.Fabric.Api.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.Fabric.Api --version 1.0.0-beta.5                
NuGet\Install-Package Microsoft.Fabric.Api -Version 1.0.0-beta.5                
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="Microsoft.Fabric.Api" Version="1.0.0-beta.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Fabric.Api --version 1.0.0-beta.5                
#r "nuget: Microsoft.Fabric.Api, 1.0.0-beta.5"                
#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.
// Install Microsoft.Fabric.Api as a Cake Addin
#addin nuget:?package=Microsoft.Fabric.Api&version=1.0.0-beta.5&prerelease

// Install Microsoft.Fabric.Api as a Cake Tool
#tool nuget:?package=Microsoft.Fabric.Api&version=1.0.0-beta.5&prerelease                

Guide to Using the .NET SDK for Microsoft Fabric REST API

Description

The Microsoft Fabric API provides developers with programmatic access to manage and interact with Microsoft Fabric resources. It enables developers to automate a wide array of tasks, including data integration, data warehousing, big data analytics, deployment process automation, Fabric items provisioning, and more.

This document provides an overview of the API endpoints, authentication methods, and usage examples for the .NET SDK for Fabric REST API. The .NET SDK is a client library that simplifies communication with the Microsoft Fabric API service and handles serialization and error handling for you.

Installation via NuGet

To install the client library via NuGet:

  • Search for Microsoft.Fabric.Api in the NuGet Library, or
  • Type Install-Package Microsoft.Fabric.Api into the Package Manager Console.

Getting Started

1. Register your application

Register your application to use Microsoft Fabric API.

2. Authenticate for the Microsoft Fabric service

The Microsoft Fabric .NET Client Library supports the use of TokenCredential classes in the Azure.Identity library.

You can read more about available Credential classes at Azure Identity client library for .NET.

The recommended library for authenticating against Microsoft Identity (Azure AD) is MSAL.

For an example of how to acquire a Microsoft Entra token for Microsoft Fabric Service, see Microsoft Fabric API - get token.

3. Create a Microsoft Fabric client object with an authentication provider

An instance of the FabricClient class handles building requests, sending them to the Microsoft Fabric API, and processing the responses. To create a new instance of this class, you need to provide a instance of TokenCredential or the string representation of its underlying Microsoft Entra access token.

4. Make requests to Microsoft Fabric

Once you have completed authentication and have a FabricClient, you can begin to make calls to the service.

For example, to get a list of workspaces:

using Microsoft.Fabric.Api;

// Get the list of workspaces using the client
var workspaces = fabricClient.Core.Workspaces.ListWorkspaces().ToList();
Console.WriteLine("Number of workspaces: " + workspaces.Count);
foreach (var workspace in workspaces)
{
    Console.WriteLine($"Workspace: {workspace.DisplayName}, Capacity ID: {workspace.CapacityId}");
}

Documentation and resources

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-beta.12 257 10/31/2024
1.0.0-beta.11 420 10/23/2024
1.0.0-beta.10 766 10/17/2024
1.0.0-beta.9 262 10/9/2024
1.0.0-beta.8 931 10/3/2024
1.0.0-beta.7 3,879 9/19/2024
1.0.0-beta.6 691 9/4/2024
1.0.0-beta.5 1,526 8/22/2024
1.0.0-beta.4 4,064 8/8/2024
1.0.0-beta.3 36 8/1/2024
1.0.0-beta.2 83 7/25/2024
1.0.0-beta.1 55 7/17/2024
1.0.0-beta 2,834 6/25/2024