Update SignalR-Integration.md

pull/4739/head
buaziz 5 years ago committed by GitHub
parent a86d7ad0a5
commit a875b66eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,7 +115,7 @@ public class MessagingHub : Hub
} }
```` ````
The hub route will be `/signalr-hubs/messasing` for the `MessasingHub`: The hub route will be `/signalr-hubs/messaging` for the `MessagingHub`:
* Adding a standard `/signalr-hubs/` prefix * Adding a standard `/signalr-hubs/` prefix
* Continue with the **camel case** hub name, without the `Hub` suffix. * Continue with the **camel case** hub name, without the `Hub` suffix.
@ -123,7 +123,7 @@ The hub route will be `/signalr-hubs/messasing` for the `MessasingHub`:
If you want to specify the route, you can use the `HubRoute` attribute: If you want to specify the route, you can use the `HubRoute` attribute:
````csharp ````csharp
[HubRoute("/my-messasing-hub")] [HubRoute("/my-messaging-hub")]
public class MessagingHub : Hub public class MessagingHub : Hub
{ {
//... //...
@ -132,7 +132,7 @@ public class MessagingHub : Hub
### AbpHub Base Classes ### AbpHub Base Classes
Instead of the standard `Hub` and `Hub<T>` classes, you can inherit from the `AbpHub` or `AbpHub<T>` which hve useful base properties like `CurrentUser`. Instead of the standard `Hub` and `Hub<T>` classes, you can inherit from the `AbpHub` or `AbpHub<T>` which have useful base properties like `CurrentUser`.
Example: Example:

Loading…
Cancel
Save