diff --git a/README.Nuget.md b/README.Nuget.md index f9d9cee8..2d0eb6b2 100644 --- a/README.Nuget.md +++ b/README.Nuget.md @@ -26,15 +26,14 @@ var client = new ClientBuilder() ``` Somewhere in your `Startup.cs`: -* Use `.UseOrleans()` on `ISignalRBuilder`. +* Use `.AddSignalR()` on `IServiceCollection` (this is part of `Microsoft.AspNetCore.SignalR` nuget package). ***Example*** ```cs public void ConfigureServices(IServiceCollection services) { ... - services.AddSignalR() - .UseOrleans(); + services.AddSignalR(); ... } ``` diff --git a/README.md b/README.md index 73d36e84..3fe7e5ee 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,6 @@ int gatewayPort = 30000; var siloAddress = IPAddress.Loopback; var silo = new SiloHostBuilder() - .Configure(options => options.ClusterId = "test-cluster") - .UseDevelopmentClustering(options => options.PrimarySiloEndpoint = new IPEndPoint(siloAddress, siloPort)) - .ConfigureEndpoints(siloAddress, siloPort, gatewayPort) .UseSignalR() .Build(); await silo.StartAsync(); @@ -58,8 +55,6 @@ Now your SignalR application needs to connect to the Orleans Cluster by using an ***Example*** ```cs var client = new ClientBuilder() - .ConfigureCluster(options => options.ClusterId = "test-cluster") - .UseStaticClustering(options => options.Gateways.Add(new IPEndPoint(siloAddress, gatewayPort).ToGatewayUri())) .UseSignalR() .Build(); await client.Connect(); @@ -73,8 +68,7 @@ Somewhere in your `Startup.cs`: public void ConfigureServices(IServiceCollection services) { ... - services.AddSignalR() - .AddOrleans(); + services.AddSignalR(); ... } ```