diff --git a/Deploy/Logo/Logo-big.png b/Deploy/Logo/Logo-big.png
index 0a21a22..b0567ee 100644
Binary files a/Deploy/Logo/Logo-big.png and b/Deploy/Logo/Logo-big.png differ
diff --git a/Deploy/Logo/Logo-small.png b/Deploy/Logo/Logo-small.png
index cd29db6..a3ad808 100644
Binary files a/Deploy/Logo/Logo-small.png and b/Deploy/Logo/Logo-small.png differ
diff --git a/Deploy/Logo/Logo.pptx b/Deploy/Logo/Logo.pptx
new file mode 100644
index 0000000..fd59bf7
Binary files /dev/null and b/Deploy/Logo/Logo.pptx differ
diff --git a/Deploy/Logo/WebSocketRPC.pptx b/Deploy/Logo/WebSocketRPC.pptx
deleted file mode 100644
index d7e5631..0000000
Binary files a/Deploy/Logo/WebSocketRPC.pptx and /dev/null differ
diff --git a/Deploy/Nuget/Build.cmd b/Deploy/Nuget/Build.cmd
index e8ae4d1..f1b7f8e 100644
--- a/Deploy/Nuget/Build.cmd
+++ b/Deploy/Nuget/Build.cmd
@@ -4,7 +4,7 @@
:: settings
set nugetPath=%cd%\..\..\.nuget
-set version=0.8.1
+set version=1.0.1
set output=%cd%\bin
:: Create output directory
diff --git a/Deploy/Nuget/nuSpecs/WebsocketRPC.JS.nuspec b/Deploy/Nuget/nuSpecs/WebsocketRPC.JS.nuspec
index fb9de94..9eef50a 100644
--- a/Deploy/Nuget/nuSpecs/WebsocketRPC.JS.nuspec
+++ b/Deploy/Nuget/nuSpecs/WebsocketRPC.JS.nuspec
@@ -7,10 +7,9 @@
WebsocketRPC.JS
Darko Jurić
Darko Jurić
-
-
- Generates the Javascript code for websocket-connection using the provided .NET interface.
-
+ https://raw.githubusercontent.com/dajuric/websocket-rpc/master/LICENSE.md
+ https://raw.githubusercontent.com/dajuric/websocket-rpc/master/Deploy/Logo/logo-small.png
+ Generates the Javascript code for websocket-connection using the provided .NET interface.
Generates the Javascript code for websocket-connection using the provided .NET interface.
websocket; websocket-client; Javascript; RPC; C#; .NET
diff --git a/Deploy/Nuget/nuSpecs/WebsocketRPC.nuspec b/Deploy/Nuget/nuSpecs/WebsocketRPC.nuspec
index 378cc5b..133c0b9 100644
--- a/Deploy/Nuget/nuSpecs/WebsocketRPC.nuspec
+++ b/Deploy/Nuget/nuSpecs/WebsocketRPC.nuspec
@@ -7,12 +7,11 @@
WebsocketRPC
Darko Jurić
Darko Jurić
-
-
- Provides full duplex RPC over websocket.
-
+ https://raw.githubusercontent.com/dajuric/websocket-rpc/master/LICENSE.md
+ https://raw.githubusercontent.com/dajuric/websocket-rpc/master/Deploy/Logo/logo-small.png
+ Provides full duplex RPC over websocket.
Provides full duplex RPC over websocket.
- websocket; RPC; C#; .NET
+ websocket; websocket-server; websocket-client; RPC; C#; .NET
diff --git a/README.md b/README.md
index 4874d4f..3dde439 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,16 @@
-
+
-
**WebSokcetRPC** - RPC over weboskcets for .NET
Leightweight .NET framework for making RPC over websockets. Supports full duplex connections; .NET or Javascript clients.
-
+ > **Tutorial:** CodeProject article
## Why WebSocketRPC ?
@@ -23,11 +21,11 @@ The only dependency is JSON.NET li
+ **Simple**
There is only one relevant method: **Bind** for binding object/interface onto connection, and **CallAsync** for calling RPCs.
-+ **Connection relaying in a single line of code**
- The library is capable to relay incoming requests to a background services with just one command: **Relay**
++ **Use 3rdParty assemblies as API(s)**
+Implemented API, if used only for RPC, does not use anything from the library.
+ **Automatic Javascript code generation** *(WebsocketRPC.JS package)*
- Javascript websokcet client code is automatically generated (with JsDoc comments) from an existing .NET
+ Javascript websokcet client code is automatically generated **_(with JsDoc comments)_** from an existing .NET
interface (API contract).
@@ -51,8 +49,7 @@ class MathAPI
File.WriteAllText("MathAPI.js", RPCJs.GenerateCallerWithDoc());
//run server
Server.ListenAsync("http://localhost:8000/", CancellationToken.None,
- (c, wc) => c.Bind(new MathAPI()))
- .Wait(0);
+ (c, wc) => c.Bind(new MathAPI())).Wait(0);
```
**Client**
@@ -68,7 +65,7 @@ api.connect(async () =>
## Getting started
+ Samples
-
++ CodeProject article
## How to Engage, Contribute and Provide Feedback
Remember: Your opinion is important and will define the future roadmap.
diff --git a/Samples/ClientJs/Program.cs b/Samples/ClientJs/Program.cs
index 71668aa..ce3977a 100644
--- a/Samples/ClientJs/Program.cs
+++ b/Samples/ClientJs/Program.cs
@@ -28,6 +28,7 @@ public async Task LongRunningTask(int a, int b)
public class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/"
+ //open Index.html to run the client
static void Main(string[] args)
{
//generate js code
diff --git a/Samples/MultiService/Program.cs b/Samples/MultiService/Program.cs
index 740804a..58dbb13 100644
--- a/Samples/MultiService/Program.cs
+++ b/Samples/MultiService/Program.cs
@@ -42,6 +42,7 @@ public string Add(string a, string b)
public class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/"
+ //open Index.html to run the client
static void Main(string[] args)
{
//generate js code
diff --git a/Samples/Serialization/Program.cs b/Samples/Serialization/Program.cs
index a823935..3062666 100644
--- a/Samples/Serialization/Program.cs
+++ b/Samples/Serialization/Program.cs
@@ -72,6 +72,7 @@ unsafe Bgr swapChannels(Bgr c, int[] order)
class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/"
+ //open Index.html to run the client
static void Main(string[] args)
{
RPCSettings.MaxMessageSize = 1 * 1024 * 1024; //1MiB
diff --git a/Source/WebsocketRPC/ClientServer/Server.cs b/Source/WebsocketRPC/ClientServer/Server.cs
index 0465ba7..c0dfcb1 100644
--- a/Source/WebsocketRPC/ClientServer/Server.cs
+++ b/Source/WebsocketRPC/ClientServer/Server.cs
@@ -105,7 +105,7 @@ public static async Task ListenAsync(HttpListenerContext listenerContext, Cancel
}
finally
{
- //webSocket?.Dispose();
+ webSocket?.Dispose();
}
}
}