SiLA2.Server
6.0.6
Suggested Alternatives
Additional Details
Nuget package name changed from SiLA2.Server to SiLA2.Core keeping the Version History...
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package SiLA2.Server --version 6.0.6
NuGet\Install-Package SiLA2.Server -Version 6.0.6
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="SiLA2.Server" Version="6.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SiLA2.Server --version 6.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SiLA2.Server, 6.0.6"
#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 SiLA2.Server as a Cake Addin #addin nuget:?package=SiLA2.Server&version=6.0.6 // Install SiLA2.Server as a Cake Tool #tool nuget:?package=SiLA2.Server&version=6.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Introduction
SiLA2 .NET 6 implementation (https://sila-standard.com/)
- Migration from https://gitlab.com/SiLA2/sila_csharp which depends on deprecating native gRPC-Implementation
- No renamed native libraries compiled for ARM32 necessary anymore
- SiLA2.Server even runs on embedded Linux Host as recommended AspNetCore-Process
- Feature-To-Proto-Generation by XSLT (no JAVA Runtime nor Sila.Tools needed anymore)
- SiLA2 Core Features included in SiLA2.dll
- Additional Features should be part of Feature-Implementation Assemblies (just add your features and protos in MSBuild Targets ProtoPreparation & ProtoGeneration like it is done in Assemblies TemperatureController.Features.csproj or ShakerController.Features.csproj)
- Extensible InProcess Server Web Frontend included (based on Blazor (https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor) which supports "server push" functionality)
- Optional InProcess-Database-Module (SQLite) with basic User Management which can be easily extended...for example as analytic data storage...
Prerequisites
- Linux / macOS
- You´ll need the .NET 6 SDK >> https://dotnet.microsoft.com/download/dotnet/6.0
- It´s not necessary to build applications with a GUI but if you do so an IDE like Visual Studio Code ( >> https://code.visualstudio.com/ ) would be convenient
- Windows
- Download free IDE Visual Studio 2022 Community ( >> https://visualstudio.microsoft.com/de/vs/community/ ), use commercial Visual Studio 2022 Version or Visual Studio Code as well
- .NET 6 SDK is included in Visual Studio 2022...if you want to use Visual Studio Code or other IDEs you´ll have to download it on your own (see link above)
Getting Started
- Clone Repo
- Please be sure fetching sila_base submodule by
- checking out the Repository with git-submodules recursively
- git clone --recurse-submodules https://gitlab.com/Chamundi/SiLA2-grpc-dotnet.git
- or check out the Repository and run following commands
- git submodule init
- git submodule update
- checking out the Repository with git-submodules recursively
- Please be sure fetching sila_base submodule by
- Run gRPC-Server
- SiLA2.gRPC.Temperature.Service.Basic or
- SiLA2.gRPC.Temperature.Service (containing optional WebFrontend- and DatabaseModule)
- After having started the SilaServer process you can also follow Link https://server-hostname-or-server-ip:13742 (in Debug-Mode https://localhost:5001) to open a SilaServer-WebFrontend
- In the SilaServer-WebFrontend you´ll find NavigationLink "User Management"-View to use SilaServer-Database. There´s also an example of how Server-Push-Feature can be used...just click on NavigationLink "Temperature" and hit button "Change Temperature"...
- Run SiLA2.Temperature.Service.Client.App connecting automatically to SilaServer
Build and Test
- Just build Solution and run as described in "# Getting Started". For a first test you could use the SiLA 2 Browser by UniteLabs (https://sila-standard.com/dipitems/sila-2-browser/)...
- If you have problems building the solution you might clean your Nuget-Cache by 'rmdir -r %UserProfile%.nuget\packages*' once...
Contribute
It´s Open Source (License >> MIT)...feel free to use or contribute. For Merge-Requests contact me by E-Mail >>> CPohl@inheco.com
Open Questions
( >> https://gitlab.com/Chamundi/SiLA2-grpc-dotnet/-/issues )
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Grpc.AspNetCore (>= 2.42.0)
- Makaretu.Dns.Multicast (>= 0.27.0)
- Newtonsoft.Json (>= 13.0.1)
- SiLA2.Utils (>= 6.0.5)
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 |
---|