Use SignalRSwaggerGen to create Swagger specification of SignalR hub
I'm faced with useful package https://github.com/Dorin-Mocan/SignalRSwaggerGen what allow me create Swagger json of my SignalR hub and allow me generate client to my SignalR hub.
To integrate this package instead normal Swagger (what allow created specification only from ApiController inherited from ControllerBase) need to do 3 step.
- Add one line in ConfigureServices method
- Comment app.UseSwaggerUI in Configure method
- Add attributes SignalRHub, SignalRMethod, SignalRArg in Chat hub
For debugging SignalR hub I use parameters How to debug SignalR application in Net Core 3.1
And for debugging I use Use Fiddler as reverse proxy to isolate microservice for trace request from Redux frontend and to Amazon DynamoDB and debug SignalR hub
More example with SignalR Use SqlServiceBroker to send notification with SignalR.
Comments (
)
<00>
<01>
<02>
<03>
<04>
<05>
<06>
<07>
<08>
<09>
<10>
<11>
<12>
<13>
<14>
<15>
<16>
<17>
<18>
<19>
<20>
<21>
<22>
<23>
Link to this page:
//www.vb-net.com/SignalRSwaggerGen/Index.htm
<SITEMAP> <MVC> <ASP> <NET> <DATA> <KIOSK> <FLEX> <SQL> <NOTES> <LINUX> <MONO> <FREEWARE> <DOCS> <ENG> <CHAT ME> <ABOUT ME> < THANKS ME> |