Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Server] SignalR Hub, Service och Endpoint [MILSTOLPE1] #15

Closed
niborium opened this issue Oct 11, 2022 · 0 comments · Fixed by #26
Closed

[Server] SignalR Hub, Service och Endpoint [MILSTOLPE1] #15

niborium opened this issue Oct 11, 2022 · 0 comments · Fixed by #26
Assignees
Labels
enhancement New feature or request

Comments

@niborium
Copy link
Owner

niborium commented Oct 11, 2022

Kopplad till krav:

  1. Innehålla ett server-side API skrivet med ASP.NET och C#
  2. Möjliggöra kollaborativa funktioner mellan två samtidigt anslutna klienter i realtid, exempelvis via meddelanden eller delad information.
  3. Använda ramverket SignalR för realtidskommunikation mellan klientgränssnittet och server-side API:et

Uppskattad tidåtgång: <2h

SignalR Hub
ChatHub.cs (Ska skapas i Hubs mappen)

SendMessage (Skicka meddelande till alla klienter)

Ovan ska tillgodose klassen (MessageModels som återfinns i Models) så vi skickar rätt meddelande innehållandes all information.

+Lägg till Service och endpoint för SignalR-hubben

Inspiration/Dokumentation Microsoft:
https://learn.microsoft.com/sv-se/aspnet/core/blazor/tutorials/signalr-blazor?view=aspnetcore-6.0&tabs=visual-studio-code&pivots=server

@niborium niborium added this to the Milstolpe 1 (v1) milestone Oct 11, 2022
@niborium niborium self-assigned this Oct 11, 2022
@niborium niborium linked a pull request Oct 14, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant