Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.73 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.73 KB

SignalR Demo

A simple demonstration of using SignalR for real-time web applications. This project showcases the integration of SignalR in a web application and in a simple console receiver to enable real-time communication between the server and clients.

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/mmmmmob/signalr-demo.git
    cd signalr-demo
  2. Restore required dependencies and building SignalR server

    cd signalR-WebAPI
    dotnet restore
    dotnet run
  3. If you prefer to see a live demo implemented on React web application, headed to SignalR-WebDemo and install dependencies before running (example code below using NPM)

    cd signalR-WebDemo
    npm install
    npm run dev
  4. There is also a demo on how SignalR working with console application in SignalR-Reciever folder (Yes, it was misspelled...)

    cd signalR-Reciever
    dotnet restore
    dotnet run

Acknowledgments

This SignalR demo repository is based on these tutorial articles with some adjustments