Skip to content

Test implementation for server-side push notification with SignalR via console app and react web app

Notifications You must be signed in to change notification settings

mmmmmob/signalr-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Test implementation for server-side push notification with SignalR via console app and react web app

Topics

Resources

Stars

Watchers

Forks