{"id":19538269,"url":"https://github.com/raschmitt/signalr-sample","last_synced_at":"2026-05-12T13:40:17.562Z","repository":{"id":54273006,"uuid":"340201987","full_name":"raschmitt/signalr-sample","owner":"raschmitt","description":"Sample .Net real-time application using SignalR","archived":false,"fork":false,"pushed_at":"2021-03-23T02:15:19.000Z","size":1157,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T18:16:42.799Z","etag":null,"topics":["netcore","signalr","signalr-client","signalr-hub"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raschmitt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-18T23:11:40.000Z","updated_at":"2021-03-23T02:15:20.000Z","dependencies_parsed_at":"2022-08-13T10:40:27.680Z","dependency_job_id":null,"html_url":"https://github.com/raschmitt/signalr-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raschmitt%2Fsignalr-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raschmitt%2Fsignalr-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raschmitt%2Fsignalr-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raschmitt%2Fsignalr-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raschmitt","download_url":"https://codeload.github.com/raschmitt/signalr-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240793697,"owners_count":19858713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["netcore","signalr","signalr-client","signalr-hub"],"created_at":"2024-11-11T02:33:26.019Z","updated_at":"2026-05-12T13:40:12.512Z","avatar_url":"https://github.com/raschmitt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SignalR - Sample\n\n[![Azure DevOps builds](https://img.shields.io/azure-devops/build/raschmitt/7618d927-8467-43e2-b5e9-1aeddc1fbfdc/25?label=Build\u0026style=flat-square)](https://dev.azure.com/raschmitt/raschmitt/_build?definitionId=25)\n[![Sonar Coverage](https://img.shields.io/sonar/coverage/raschmitt_signalr-sample?label=Code%20Coverage\u0026server=https%3A%2F%2Fsonarcloud.io\u0026style=flat-square)](https://sonarcloud.io/dashboard?id=raschmitt_signalr-sample)\n\nThis sample projects shows how to use `SignalR` to work with real-time applications in `.Net`.\n\nFor more information on `SignalR` refer to their [official repository](https://github.com/dotnet/aspnetcore/tree/main/src/SignalR).\n\n## Dependencies \n\n- [Docker](https://docs.docker.com/get-docker/)\n\n## Running the project\n\n1. After cloning this repository go into the `signalr-sample` directory and run `docker-compose up`.\n\n2. Access [http://localhost:8080/swagger](http://localhost/swagger) and you are good to start playing with API.\n\n## Projetc structure\n\n- ### Hub Sample\n\nThis project is a simple `API` wich provides methods to add and retrieve items from a list. It also provides a `SignalR Hub`, wich serves as a high-level handler for client-server communication.\n\nWhenever a new item gets added to the list all conected `Clients` get notified.\n\n| ROUTE | METHOD | DATA PARMS | DESCRIPTION |\n| :---: | :---: | :---: | :---: |\n| /items | GET | [none] | Gets the list of items\n| /items | POST | \"string\" | Adds a new item to the list\n\n- ### Client Sample\n\nThis project is a console application that connects to the `SignalR HUB` and prints an updated list of items whem a new item gets added to the list.\n\nTwo instances of this project get created by our `docker-compose` so we can see how `SignalR` can keep multiple client instaces updated in real-time.\n\n## Contributions\n\n  Contributions and feature requests are always welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraschmitt%2Fsignalr-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraschmitt%2Fsignalr-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraschmitt%2Fsignalr-sample/lists"}