Microsoft.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc 1.4.2

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Microsoft.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc --version 1.4.2
NuGet\Install-Package Microsoft.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc -Version 1.4.2
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.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc" Version="1.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc --version 1.4.2
#r "nuget: Microsoft.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc, 1.4.2"
#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.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc as a Cake Addin
#addin nuget:?package=Microsoft.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc&version=1.4.2

// Install Microsoft.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc as a Cake Tool
#tool nuget:?package=Microsoft.SurfaceAutomationTeam.SimpleRemote.SimpleJsonRpc&version=1.4.2

Overview

SimpleRemote is a framework designed to make device automation easier. It does this by providing a simple communications framework for interacting with devices under test. If you need to call programs or transfer files to devices as part of your testing, this framework can help you.

This project also contains SimpleJsonRpc, which is a minimalist .NET Core JSON-RPC server.

Note: This project is also sometimes referred to as SimpleDUTRemote in the documentation - SimpleRemote and SimpleDUTRemote are the same thing, SimpleDUTRemote is just the older name for the tool.

How do I start?

This project is fully documented (with tutorials) in doxygen. To use, simply clone this code and run doxygen in the project directory.

You can also view the pre-built documentation online.

Binaries for both the server and client are available on the GitHub Releases page, and nuget packages are available for the client and the SimpleJsonRpc libraries (under the Microsoft.SurfaceAutomationTeam.SimpleRemote namespace).

If you already have doxygen and the .NET Core CLI tools, you can build everything by running the BuildAll.bat script included in this repositry. That will automatically build the client, server, supporting libraries, and all documentation, and place it in the output directory.

Why Should I Use This?

This project was designed by the Surface team to help automate their hardware testing. The solution is incredibly lightweight - it has minimal power impact, generates minimal network traffic, and does not require any external servers. To deploy, simply run an exe and you're ready.

You can think of this as shiny version of telnet and FTP, wrapped into one.

Security

SimpleRemote allows users to run programs and access files on the computer where it is run, with no authentication whatsoever. It was desiged to be run on test machines on closed, lab networks.

When you start the server for the first time, it will display a security warning, and prompt you to acknowledge the security risks of using SimpleRemote. Once you acknowledge the warning, the server will write a blank file UserWarningAcknowledged in the same directory as the server executable, and will not display the prompt on future runs.

If you are deploying in a lab enviornment, acknowledge and accept the risks of using this software, and want to avoid manually acknowledging the prompt on each machine, you can either:

  • Place a blank file named UserWarningAcknowledged in the same directory as the server exe.
  • Start the server with the command line flag --SuppressUserWarning.

Tests

Most functions provided by this tool have associated test cases, in the DUTRemoteTests project. To run, uses either Visual Studio's build in unit test runner, or run dotnet test from the DUTRemoteTests project directory.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

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.4.2 849 5/10/2022
1.4.1 895 7/8/2020