TabuLynx.Core.AdomdClient
0.6.0
dotnet add package TabuLynx.Core.AdomdClient --version 0.6.0
NuGet\Install-Package TabuLynx.Core.AdomdClient -Version 0.6.0
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="TabuLynx.Core.AdomdClient" Version="0.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TabuLynx.Core.AdomdClient" Version="0.6.0" />
<PackageReference Include="TabuLynx.Core.AdomdClient" />
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 TabuLynx.Core.AdomdClient --version 0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TabuLynx.Core.AdomdClient, 0.6.0"
#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.
#addin nuget:?package=TabuLynx.Core.AdomdClient&version=0.6.0
#tool nuget:?package=TabuLynx.Core.AdomdClient&version=0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TabuLynx.Core.AdomdClient
A library that provides integration with Microsoft Analysis Services through ADOMD.NET, enabling seamless execution of DAX queries and interaction with Power BI data models.
📚 Quick Start
Dax Query on local powerBI
- Open powerBI rapport
- Add TabuLynx conf in appsettings.json
"TabuLynx": {
"ConnectionString": "Provider=MSOLAP;Data Source=localhost:{port};"
}
- Use AdomdDaxQueryExecutor in console app
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TabuLynx.Core.Hosting;
using TabuLynx.Core.AdomdClient;
using TabuLynx.Query.Dax;
var host = TabuLynxHost.CreateDefaultBuilder(args)
.ConfigureAppConfiguration(config =>
{
config.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true);
})
.ConfigureServices((context, services) =>
{
services.AddAdomdDaxQueryExecutorForLocalPowerBI();
})
.Build();
// Resolve the DAX query client
var daxQueryExecutor = host.Services.GetRequiredService<IDaxQueryExecutor>();
var result = await daxQueryExecutor.ExecuteQueryAsync("EVALUATE ROW(\"Hello\", 1)");
Console.WriteLine(result);
- Use AdomdDaxQueryExecutor in web app
using TabuLynx.Core.Configuration;
using TabuLynx.Query.Dax;
using TabuLynx.Core.AdomdClient;
var builder = WebApplication.CreateBuilder(args);
builder.Configuration.AddJsonFile("appsettings.json");
builder.Services.Configure<TabuLynxOptions>(builder.Configuration.GetSection("TabuLynx"));
builder.Services.AddAdomdDaxQueryExecutorForLocalPowerBI();
var app = builder.Build();
...
var daxQueryExecutor = app.Services.GetRequiredService<IDaxQueryExecutor>();
var result = await daxQueryExecutor.ExecuteQueryAsync("EVALUATE ROW(\"Hello\", 1)");
Console.WriteLine(result);
🧩 What’s Included?
- AdomdServiceCollectionExtensions — extension methods for DI registration
Product | Versions 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.
-
net8.0
- TabuLynx.Model.Extractor.Dax (>= 0.6.0)
- TabuLynx.Model.Extractor.Tom (>= 0.6.0)
- TabuLynx.Query.Dax.AdomdClient (>= 0.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.