Vidyano.Core
5.52.0
Prefix Reserved
dotnet add package Vidyano.Core --version 5.52.0
NuGet\Install-Package Vidyano.Core -Version 5.52.0
<PackageReference Include="Vidyano.Core" Version="5.52.0" />
<PackageVersion Include="Vidyano.Core" Version="5.52.0" />
<PackageReference Include="Vidyano.Core" />
paket add Vidyano.Core --version 5.52.0
#r "nuget: Vidyano.Core, 5.52.0"
#:package Vidyano.Core@5.52.0
#addin nuget:?package=Vidyano.Core&version=5.52.0
#tool nuget:?package=Vidyano.Core&version=5.52.0
Vidyano.Core
Official .NET client library for Vidyano applications. This library provides a comprehensive client-side SDK for connecting to Vidyano backend services.
Installation
Install the Vidyano.Core NuGet package:
dotnet add package Vidyano.Core
Or via Package Manager Console:
Install-Package Vidyano.Core
Quick Start
using Vidyano;
// Initialize the client
var client = new Client()
{
Uri = "https://your-vidyano-service.com"
};
// Connect with credentials
await client.SignInUsingCredentialsAsync("username", "password");
// Execute a query
var query = await client.GetQueryAsync("YourQueryName");
await query.SearchTextAsync(string.Empty);
// Access results
foreach (var item in query)
{
Console.WriteLine(item["PropertyName"]);
}
Demo Application
Check out the Demo folder for a complete console application that connects to our public demo service at https://demo.vidyano.com.
To run the demo:
cd Demo
dotnet run
Features
- Cross-platform support - Works on Windows, Linux, and macOS
- Multiple .NET targets - Supports .NET Standard 2.0 and .NET 8.0
- Async/await patterns - Modern asynchronous programming model
- MVVM architecture - Built-in support for data binding and property change notifications
- Comprehensive action system - Execute backend actions with ease
- Multi-language support - Internationalization for 30+ languages
- Type-safe operations - Generic implementations for compile-time safety
Basic Usage
Connecting to a Service
var client = new Client()
{
Uri = "https://your-service-url"
};
await client.SignInUsingCredentialsAsync("username", "password");
Working with Persistent Objects
// Get a persistent object
var po = await client.GetPersistentObjectAsync("Customer", "customer-id");
// Update attributes
po["Name"].Value = "New Name";
po["Email"].Value = "email@example.com";
// Save changes using the Save action
var saveAction = po.GetAction("Save");
if (saveAction != null && saveAction.CanExecute)
await saveAction.Execute(null);
Executing Queries
// Get and execute a query
var query = await client.GetQueryAsync("Customers");
await query.SearchTextAsync(string.Empty);
// Access results (Query implements IReadOnlyList<QueryResultItem>)
foreach (var item in query)
{
Console.WriteLine($"Customer: {item["Name"]}");
}
// Get total count
Console.WriteLine($"Total items: {query.TotalItems}");
// Paging through results
for (int i = 0; i < query.Count; i++)
{
var item = query[i];
Console.WriteLine($"Item {i}: {item.Id}");
}
Working with Actions
// Execute an action on a persistent object
var po = await client.GetPersistentObjectAsync("Order", "order-id");
var approveAction = po.GetAction("Approve");
if (approveAction != null && approveAction.CanExecute)
{
await approveAction.Execute(null);
}
TypeScript/JavaScript Client
For TypeScript and JavaScript applications, we also provide an npm package:
npm install @vidyano/core
Learn more about the TypeScript client at @vidyano/core.
Documentation
For comprehensive documentation, visit www.vidyano.com.
Contributing
We welcome contributions! Please feel free to submit pull requests or open issues on our GitHub repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support and questions:
- Open an issue on GitHub
- Visit our website at www.vidyano.com
- Contact us at support@vidyano.com
About Vidyano
Vidyano is a comprehensive application platform that enables rapid development of data-driven applications. Learn more at www.vidyano.com.
Copyright © 2025 2sky NV. All rights reserved.
Product | Versions 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 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. |
.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. |
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.4)
- System.ComponentModel (>= 4.3.0)
- System.Net.Http (>= 4.3.4)
-
net8.0
- Newtonsoft.Json (>= 13.0.4)
- System.ComponentModel (>= 4.3.0)
- System.Net.Http (>= 4.3.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.