- implements additional typemapping so System.Uri can be mapped between framework and netcore runtimes
- Assembly is strong named
- Support for .NET Framework to .NET Core core parameter types to eliminate exceptions when a Framework client is talking to a Core host or vice versa.
- Serializer injection bug fixed.
- Added .NET Framework 4.62 build in package to prevent permissions issue in named pipes.
- Fixed custom serializer issue.
- .NET Standard 2.0 and 2.1 builds remain.
- Resolved parallel Zk test issues.
Note: Use of async/await and Task not recommended. Use of Task return type not supported. While the syntax of Task return type is supported, apparently it is not marked as Serializable. In fact async/await is not really supported. Under the covers the task type is stripped away over the wire and the method is executed on a worker thread on the server synchronously. If you think about it, you will understand that it's two separate processes, so the Task Parallel Library is not going to be able to manage the thread context across the processes. RPC is inherently synchronous but the handling of each request on the host is done on thread pools.
- Changed library build to only .NET Standard 2.0 and 2.1.
- This breaks users of named pipes in .NET 4.6.2 -- DO NOT UPGRADE until we resolve that issue.
- Fixed bug related to complex type serialization that occurred when using output parameters.
-
Injectable serialization (see project library tests for examples).
-
Removes dependency on Newtonsoft.Json and uses BinaryFormatter for default serialization which means wire data classes must be marked [Serializable].
-
Internal classes are attributed to support protobuf-net serialization as well.
- Adds support for return types of Task and Task to support async / await across the wire.
-
Dropped strong named assembly.
-
Support for NetCoreApp 2.0, 2.2 and .NET Framework 4.62. Dropped support for .NET 3.5.
-
Modified projects and NuGet package generation from Visual Studio 2017.
-
Dropped separate projects used to build different targets.
-
Converted test projects to XUnit with multiple targets to allow "dotnet test" run of all targets.
-
Switched ServiceWire (and ServiceMq) to Newtonsoft.Json for serialization. Eliminates use of BinaryFormatter and its required Serializable attribute. Also eliminates ServiceStack.Text 3 dependency which has problems serializing structs.
-
Relaxed assembly version matching to allow additive changes without breaking the client or requiring an immediate client update.
-
Strong name added to allow the library to be used by strong named applications and libraries.
-
Added .NET 3.5 support to allow legacy applications to use the library. This adds a Framework specific dependency on TaskParallelLibrary 1.0.2856.0.
-
For the .NET 4.0 and 3.5 versions, changed to "Client Profile" for the target framework.
-
Removed dependency on System.Numerics in order to support .NET 3.5 and introduced ZkBigInt class taken from Scott Garland's BigInteger class. See license text for full attribution.
ServiceWire is a very fast and light weight services host and dynamic client library that simplifies the development and use of high performance remote procedure call (RPC) communication between .NET processes over Named Pipes or TCP/IP.
Find "how to use" examples in the tests code. ServiceWire documentation is available on the wiki.
ServiceWire's dynamically generated proxy will NOT run as x86 on an x64 system. This ususally occurs when you use Visual Studio to create a console application with the default "prefer x86" in project properties selected. Just be sure to choose AnyCPU or the specific target (x86 or x64) so that you do not run 32bit in WOW on an x64 machine.
Get the NuGet package here.
-
Code your interface
-
Code your implementation
-
Host the implementation
-
Use dynamic proxy of your interface on the client side
-
TCP and NamedPipes protocols
-
ByRef (out and ref) parameters (except for non-primitive value types)
-
Dynamic client proxy generation from service interface
-
Very fast serialization of most native types and arrays of those types
-
Multiple service interface hosting on the same endpoint
-
Aspect oriented interception with pre-, post- and exception handling cross cutting
-
Hosting of single service implementation singleton on multiple endpoints and protocols
-
Protocol, serialization and execution strategy extension
Portions of this library are a derivative of RemotingLite.