DHI.Platform.SDK
3.1.2
Prefix Reserved
dotnet add package DHI.Platform.SDK --version 3.1.2
NuGet\Install-Package DHI.Platform.SDK -Version 3.1.2
<PackageReference Include="DHI.Platform.SDK" Version="3.1.2" />
paket add DHI.Platform.SDK --version 3.1.2
#r "nuget: DHI.Platform.SDK, 3.1.2"
// Install DHI.Platform.SDK as a Cake Addin #addin nuget:?package=DHI.Platform.SDK&version=3.1.2 // Install DHI.Platform.SDK as a Cake Tool #tool nuget:?package=DHI.Platform.SDK&version=3.1.2
Platform SDK
How to work with platform SDK
See documentation on https://develop.mike-cloud.com/Sdk.html
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 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. |
-
.NETStandard 2.0
- Azure.Storage.Blobs (>= 12.13.0)
- CloudNative.CloudEvents (>= 1.3.80)
- DHI.EUM (>= 22.0.3)
- Microsoft.AspNetCore.SignalR.Client (>= 3.1.9)
- Microsoft.AspNetCore.SignalR.Client.Core (>= 3.1.9)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.9)
- Microsoft.Extensions.Logging (>= 3.1.9)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.9)
- Microsoft.Extensions.Options (>= 3.1.9)
- Newtonsoft.Json (>= 13.0.3)
- NuGet.Protocol (>= 5.11.6)
- Polly.Extensions.Http (>= 3.0.0)
- System.ComponentModel.Annotations (>= 4.7.0)
- System.IO.Abstractions (>= 16.1.25)
- System.Linq.Async (>= 5.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on DHI.Platform.SDK:
Package | Downloads |
---|---|
DHI.Platform.SDK.Spatial
Package Description |
|
DHI.Workflow.Actions.Azure
Azure and MIKE Cloud actions for DHI Workflow. |
|
DHI.Platform.SDK.IAM
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.1.2 | 397 | 9/18/2024 |
3.1.1 | 858 | 7/24/2024 |
3.1.0 | 1,878 | 6/4/2024 |
3.0.1 | 5,056 | 5/4/2023 |
3.0.0 | 671 | 3/29/2023 |
2.3.4 | 5,447 | 9/23/2022 |
2.3.3 | 1,282 | 6/23/2022 |
2.3.2 | 6,229 | 3/25/2022 |
2.3.1 | 741 | 3/22/2022 |
2.3.0 | 6,522 | 3/10/2022 |
2.2.2 | 639 | 12/6/2021 |
2.2.0 | 2,244 | 11/26/2021 |
2.1.1 | 1,234 | 11/15/2021 |
___________________________________________________________
September 18, Release 3.1.2
- no changes
___________________________________________________________
July 24, 2024 Release 3.1.1
- User Story 94516: SDK | reflect changes to engine support after June 2024
- User Story 95844: SDK | Add GetTile into the TilesClient
___________________________________________________________
June 4, 2024 Release 3.1.0
- Removal of vulnerabilities
- Extend Multidimensional dataset info by elements number when spatial domain is mesh
- Add StorageRequest as part of the JobBuilder
- Add support for IUserClient to ClientFactory
- Enable transfers aggregation Max option
- Add support for AppendFrom into ITransferClient
___________________________________________________________
May 4, 2023 Release 3.0.1
- Fixed failure when passing GIS FeatureClass without any parameters by updating `DHI.WaterData.GIS.Converters` dependency to version 1.1.1
___________________________________________________________
February 1, 2023 Release 3.0.0
- Updates in HierarchyClient: methods GetRecursiveDatasetListAsync, GetRecursiveProjectListAsync has additional parameter "pageSizeLimit" that controls output page size in API calls. This update can break existing code - GetRecursiveDatasetListAsync, GetRecursiveProjectListAsync methods calls.
- Added IUserClient interface, which allows retrieval of information about the currently used principal.
- Updated versions of available engines and removed old engine versions
- Enhanced ISharingClient
- Added IAM Client - Reflects IAM v2 backend
- Functionality from Administration Client moved to IAM Client
- Added StorageType (TimeStep|TimeSeries) on TemporalDomainOutputGetDatasetOutput so clients can tell whether a multidimensional dataset is time step or time series oriented
- Added options to upload partial results for an engine execution
___________________________________________________________
September 22, 2022 Release 2.3.4
- New `GetAssetCostListAsync` method added to `IAdministrationClient` to find out how many credits different assets (e.g. engine pool nodes) cost.
- New `environmentVariables` optional parameter added to `CreateJob` method so that environment variables can be passed to the job container.
- New `*CronJob*` methods added to `IComputeClient` to allow scheduling and monitoring of jobs.
- New `TerminateOnNoProgressForSec` on `IEngine` added to control detection of frozen engine. Run is cancelled when engine doesn't progress longer than terminateOnNoProgressForSec seconds
- New `CancelJobAsync` on `IComputeClient`
- New `IClientFactory` with methods `CreateClientAPIKey`, `CreateClientSasToken`, and `CreateClientUserToken` added to make it easier to instantiate clients with different authentication mechanisms.
- Removed ServiceBusSettings in engines
_________________________________________________________________
June 22, 2022 Release 2.3.3
- Clients DI registration: The UsePlatformSasTokens is changed from the boolean flag to options
Migrate from the bool value in the options
false => UsePlatformSasTokensOptions.No
true => UsePlatformSasTokensOptions.InnerServices
___________________________________________________________
March 25, 2022 Release 2.3.2
- New field in ComputeOptions - MaxExecutionElapsedTimeHours
- New VM size in ComputeOptions.PoolTypes - VM_H_60 (HC with 44 CPU cores)
___________________________________________________________
March 21, 2022 Release 2.3.1
- New SdkInfoClient with methods and properties to get info about SDK versions that works with the current platform services: GetLatestSdkVersionAsync, GetSdkSupportStatusAsync, GetSupportedSdkVersionsAsync, SdkPackageName, SdkVersion
- New TSUpdater writer - update writer for time series
- Support for time series with additional columns (flags) in time series client (UploadTimeSeriesValuesFramesAsync, GetTimeSeriesValuesFrameAsync, GetMultipleTimeSeriesValuesFramesAsync and CreateDataFramesAsync)
___________________________________________________________
March 8, 2022 Release 2.3.0
- Adding AdministrationClient with GetCreditsAsync, GetFeatureAsync and GetFeaturesListAsync
- Compute client suports IJobBuilder, IJobMonitor
- IComputeClient changes for CreateJob, GetMyExecutionsListAsync, GetEngineDefinitionsAsync, GetEngineDefinitionAsync, GetConfigurationListAsync
- IProjectClient MoveProjectAsync
- Internal subscriber to re-subscribe after reconnect of SignalR
- Fixed element calculation for grids
- Fixed calculating element position for nonequidistant grids
- Limit tests with file synchronization, waiting details messages
- Adding move project and dataset methods
- Fix upload helper for large files
- Fix empty tile client caching and add png compression
- Add resource requests for job service, enhance event handling, add communication channels
- Added scenario name for engine execution
___________________________________________________________
December 3, 2021 Release 2.2.2
- Memory and robustness optimization of large file stream upload.
___________________________________________________________
November 25, 2021 Release 2.2.0
- Using nuget.org for DHI packages
- Changes in IFileSynchronizationClient
___________________________________________________________
November 8, 2021 Release 2.1.1
- ITimeSeriesClient GetTimeSeriesValuesAsync renamed to GetMultipleTimeSeriesValuesAsync
- Using DHI.EUM 20.0.0-rc.1
- Nuget available on nuget.org
___________________________________________________________
November 5, 2021 Release 2.1.0
- IDatasetClient extended with "Move dataset" option
- IComputeClient extended with option to peek the engine/tool execution generated files
- Get the engine log for a running simulation
___________________________________________________________
September 1, 2021 Release 2.0.1
- Fix for work item #46458 - access level for projects is 0
___________________________________________________________
August 20, 2021 Release 2.0.0
- SDK is now split into two packages: DHI.Platform.SDK and DHI.Platform.SDK.Spatial. In order to use both packages, install nuget packages and initialize the SDK in your DI container, for example:
collection.AddPlatformClients(o =>
{
/* your initialization code here */
})
.AddPlatformSpatialClients();
- Services covered in DHI.Platform.SDK package:
- IComputeClient: covers the compute/engine service, see https://develop.mike-cloud.com/docs/SDK/HowTo/how-to-run-engine/
- ICustomerClient: allows retrieval of users within the tenant
- IDatasetClient: provides listing and searching of datasets
- IEventSubscriberClient: allows creating of event subscriptions, see https://develop.mike-cloud.com/docs/SDK/HowTo/how-to-subscribe-to-events/
- IFileSynchronizationClient: provides convenience methods for synchronizing folders and files with the cloud
- IHierarchyClient: provides methods for manipulating the hierarchy of files and folders in the cloud
- IProjectClient: provides methods for working with projects/folders (creating, listing, updating)
- IRawClient: allows working with files in the Raw storage, namely download of existing files, see https://develop.mike-cloud.com/docs/API/Raw-file-storage/
- ISharingClient: exposes the sharing functionality, see https://develop.mike-cloud.com/docs/API/Data-Sharing/Overview/
- ITilesClient: exposes the tiling service, see https://develop.mike-cloud.com/docs/API/Tiling-service/Tiling/
- ITimeSeriesClient: provides methods for working with timeseries via the timeseries service, see https://develop.mike-cloud.com/docs/API/Time-series/
- ITransferClient: provides methods for importing, exporting and converting data, see https://develop.mike-cloud.com/docs/SDK/HowTo/how-to-upload-files/
- Exception handling has been unified, so that only RestApiException (or derived RestApiException<T>) is thrown from http calls, regardless of the originating client.
- More verbose logging is now supported, configuration should be handled as described in https://develop.mike-cloud.com/docs/SDK/HowTo/how-to-add-logging/
___________________________________________________________
November 11, 2020 Initial release 1.0.0