aws / aws/aws-lambda-dotnet

Allow DotNet SignalR to work with AWS WebSockets API

Aperta
#913 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature-request module/aspnetcore-support p3
Lingua principale
C#
Stelle
1.7k
Fork
503
Merge medio
1g 13h
PR unite (30g)
19

Descrizione

My goal is to allow DotNet SignalR client and server to communicate via the AWS WebSockets API.

This would allow us to use Blazor server-side components in an AWS Lambda DotNet application.

After looking at this for some time I believe that we need a new HttpTransportType which is part LongPolling (for the incoming HTTPRequest to Lambda from AWS WebSockets API) and part WebSockets (for the immediate response back to the AWS WebSockets API).

The client will perform its normal SignalR request to AWS WebSockets API which will then forward the HTTP request to the Lambda function (with the connection id) which would route this request to the appropriate Hub and the Hub will immediately respond to the connection id with the result.

I have started to look at the Microsoft.AspNet.SignalR source code here https://github.com/SignalR/SignalR

Is anyone here more familiar with this code and could help point me to some locations to insert this new HttpTransportType?

Thanks for any assistance.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Iniziate esaminando il codice sorgente di Microsoft.AspNet.SignalR collegato nell’issue e il flusso delle richieste AWS WebSockets API-to-Lambda descritto al suo interno. Definite l’integrazione di trasporto necessaria affinché il client e il server .NET SignalR comunichino tramite AWS WebSockets API, quindi verificate che una connessione possa raggiungere l’Hub appropriato e riceverne la risposta.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, csharp
Ambito
api, backend, cloud
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.