Skip to content

achalrajpoot1/SignalRSamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

How to Run this code.

  1. Open this code into two instances of Visual studio.

  2. Set startup Project Demo in instance 1 and start it. Put a debug point as mentioned in the below snap. DO NOT MOVE CODE UNTILL STEPS 5 REACHED . THERE IS INFO WHEN TO MOVE FORWARD. image

  3. In the second intance of visual studio set DemoHub.Client as a startup project. Put a breakpont as mentioned in the below snap. image

  4. Run Client as well and you get a connectionId in the console.

  5. Since there is a bearKpoint set in step 2 in server code. So the server code will be bloked and after 30 seconds client will try to reconnect.

  6. Now Press F5 in server app.

  7. Now Press F5 in the Client code.

OUTPUT: New connection Id recived for Client.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages