You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Updated net version
* Updated test deps
* Fixed braking change
* Updated orleans to version 10
* Centralized package management
* Updated net version used in actions
* Update docs
Copy file name to clipboardExpand all lines: README.Nuget.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,11 @@
6
6
7
7
[Orleans](https://learn.microsoft.com/en-us/dotnet/orleans/overview) is a cross-platform framework for building robust, scalable distributed applications. Distributed applications are defined as apps that span more than a single process, often beyond hardware boundaries using peer-to-peer communication. Orleans scales from a single on-premises server to hundreds to thousands of distributed, highly available applications in the cloud. [See Orleans source code on Github](https://github.com/dotnet/orleans)
8
8
9
-
[ASP.NET Core SignalR](https://learn.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-7.0) is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly.
9
+
[ASP.NET Core SignalR](https://learn.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-10.0) is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly.
10
10
11
11
**SignalR.Orleans** is a package that gives you two abilities:
12
12
13
-
1. Use your Orleans cluster as a backplane for SignalR. [Learn about scaling out SignalR on multiple servers.](https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-7.0)
13
+
1. Use your Orleans cluster as a backplane for SignalR. [Learn about scaling out SignalR on multiple servers.](https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-10.0)
14
14
15
15
> There are various choices of backplane that you can use for SignalR, as you will see in the link above. If you're already using Orleans, then you might want to use Orleans as the backplane to reduce the number of dependencies used by your application and to reduce the number of network hops (and latency) that would be required when calling an external service.
16
16
@@ -26,7 +26,7 @@ TODO: These two abilities should be provided independently of each other. Unfort
26
26
27
27
Installation is performed via [NuGet.](https://www.nuget.org/packages/SignalR.Orleans/)
28
28
29
-
Packages with version `7.x.x` are compatible with Orleans `v7.x.x` and above. If you're still using an earlier version of Orleans, you will need to use earlier versions of the package.
29
+
Packages with version `10.x.x` are compatible with Orleans `v10.x.x` and above. If you're still using an earlier version of Orleans, you will need to use earlier versions of the package.
30
30
31
31
Package Manager:
32
32
@@ -41,7 +41,7 @@ Paket:
41
41
> \# paket add SignalR.Orleans
42
42
43
43
---
44
-
# Version 7.0.0 documentation
44
+
# Version 10.0.0 documentation
45
45
> Scroll down to see documentation for earlier versions.
46
46
47
47
Here is a complete starter example featuring cohosted aspnetcore app with SignalR and Orleans.
@@ -68,7 +68,7 @@ var app = builder.Build();
68
68
app.MapHub<MyHub>("/myhub");
69
69
awaitapp.RunAsync();
70
70
71
-
// A SignalR Hub. https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-7.0
71
+
// A SignalR Hub. https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-10.0
72
72
classMyHub : Hub
73
73
{
74
74
}
@@ -111,7 +111,7 @@ siloBuilder.UseSignalR();
111
111
112
112
## Sending messages from Orleans grains
113
113
114
-
If the SignalR app is cohosted as demonstrated above, you don't need this package to send messages from an Orleans grain. Simply inject `IHubContext<MyHub>` to the grain's constructor and call its methods to send messages. [Read more about it here.](https://learn.microsoft.com/en-us/aspnet/core/signalr/hubcontext?view=aspnetcore-7.0)
114
+
If the SignalR app is cohosted as demonstrated above, you don't need this package to send messages from an Orleans grain. Simply inject `IHubContext<MyHub>` to the grain's constructor and call its methods to send messages. [Read more about it here.](https://learn.microsoft.com/en-us/aspnet/core/signalr/hubcontext?view=aspnetcore-10.0)
115
115
116
116
However, if the SignalR app is not cohosted, and if it's using Orleans as a backplane, then it's possible to use this package to send messages to the SignalR clients using the backplane streams in Orleans as a conduit (ability #2).
117
117
@@ -172,13 +172,13 @@ var app = builder.Build();
172
172
app.MapHub<MyHub>("/myhub");
173
173
awaitapp.RunAsync();
174
174
175
-
// A SignalR Hub. https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-7.0
175
+
// A SignalR Hub. https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-10.0
176
176
classMyHub : Hub
177
177
{
178
178
}
179
179
```
180
180
181
-
This is the end of documentation for versions >= 7.0.0. Below is older documenation for previous versions.
181
+
This is the end of documentation for versions >= 10.0.0. Below is older documenation for previous versions.
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@
11
11
12
12
[Orleans](https://learn.microsoft.com/en-us/dotnet/orleans/overview) is a cross-platform framework for building robust, scalable distributed applications. Distributed applications are defined as apps that span more than a single process, often beyond hardware boundaries using peer-to-peer communication. Orleans scales from a single on-premises server to hundreds to thousands of distributed, highly available applications in the cloud. [See Orleans source code on Github](https://github.com/dotnet/orleans)
13
13
14
-
[ASP.NET Core SignalR](https://learn.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-7.0) is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly.
14
+
[ASP.NET Core SignalR](https://learn.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-10.0) is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly.
15
15
16
16
**SignalR.Orleans** is a package that gives you two abilities:
17
17
18
-
1. Use your Orleans cluster as a backplane for SignalR. [Learn about scaling out SignalR on multiple servers.](https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-7.0)
18
+
1. Use your Orleans cluster as a backplane for SignalR. [Learn about scaling out SignalR on multiple servers.](https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-10.0)
19
19
20
20
> There are various choices of backplane that you can use for SignalR, as you will see in the link above. If you're already using Orleans, then you might want to use Orleans as the backplane to reduce the number of dependencies used by your application and to reduce the number of network hops (and latency) that would be required when calling an external service.
21
21
@@ -31,7 +31,7 @@ TODO: These two abilities should be provided independently of each other. Unfort
31
31
32
32
Installation is performed via [NuGet.](https://www.nuget.org/packages/SignalR.Orleans/)
33
33
34
-
Packages with version `7.x.x` are compatible with Orleans `v7.x.x` and above. If you're still using an earlier version of Orleans, you will need to use earlier versions of the package.
34
+
Packages with version `10.x.x` are compatible with Orleans `v10.x.x` and above. If you're still using an earlier version of Orleans, you will need to use earlier versions of the package.
35
35
36
36
Package Manager:
37
37
@@ -46,7 +46,7 @@ Paket:
46
46
> \# paket add SignalR.Orleans
47
47
48
48
---
49
-
# Version 7.0.0 documentation
49
+
# Version 10.0.0 documentation
50
50
> Scroll down to see documentation for earlier versions.
51
51
52
52
Here is a complete starter example featuring cohosted aspnetcore app with SignalR and Orleans.
@@ -73,7 +73,7 @@ var app = builder.Build();
73
73
app.MapHub<MyHub>("/myhub");
74
74
awaitapp.RunAsync();
75
75
76
-
// A SignalR Hub. https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-7.0
76
+
// A SignalR Hub. https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-10.0
77
77
classMyHub : Hub
78
78
{
79
79
}
@@ -116,7 +116,7 @@ siloBuilder.UseSignalR();
116
116
117
117
## Sending messages from Orleans grains
118
118
119
-
If the SignalR app is cohosted as demonstrated above, you don't need this package to send messages from an Orleans grain. Simply inject `IHubContext<MyHub>` to the grain's constructor and call its methods to send messages. [Read more about it here.](https://learn.microsoft.com/en-us/aspnet/core/signalr/hubcontext?view=aspnetcore-7.0)
119
+
If the SignalR app is cohosted as demonstrated above, you don't need this package to send messages from an Orleans grain. Simply inject `IHubContext<MyHub>` to the grain's constructor and call its methods to send messages. [Read more about it here.](https://learn.microsoft.com/en-us/aspnet/core/signalr/hubcontext?view=aspnetcore-10.0)
120
120
121
121
However, if the SignalR app is not cohosted, and if it's using Orleans as a backplane, then it's possible to use this package to send messages to the SignalR clients using the backplane streams in Orleans as a conduit (ability #2).
122
122
@@ -177,13 +177,13 @@ var app = builder.Build();
177
177
app.MapHub<MyHub>("/myhub");
178
178
awaitapp.RunAsync();
179
179
180
-
// A SignalR Hub. https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-7.0
180
+
// A SignalR Hub. https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-10.0
181
181
classMyHub : Hub
182
182
{
183
183
}
184
184
```
185
185
186
-
This is the end of documentation for versions >= 7.0.0. Below is older documenation for previous versions.
186
+
This is the end of documentation for versions >= 10.0.0. Below is older documenation for previous versions.
0 commit comments