{"id":27121497,"url":"https://github.com/sahil2k07/websockets-asp.net-core","last_synced_at":"2026-05-16T17:34:02.311Z","repository":{"id":284198361,"uuid":"954156428","full_name":"Sahil2k07/WebSockets-ASP.NET-Core","owner":"Sahil2k07","description":"This project describes the use of WebSockets in a .NET Core application.","archived":false,"fork":false,"pushed_at":"2025-03-25T16:50:00.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T13:30:39.583Z","etag":null,"topics":["dotnet-core","websocket"],"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/Sahil2k07.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-24T16:39:50.000Z","updated_at":"2025-08-10T16:08:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbe29f84-e956-44a3-b850-0e8dcae72928","html_url":"https://github.com/Sahil2k07/WebSockets-ASP.NET-Core","commit_stats":null,"previous_names":["sahil2k07/websockets-asp.net-core"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sahil2k07/WebSockets-ASP.NET-Core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil2k07%2FWebSockets-ASP.NET-Core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil2k07%2FWebSockets-ASP.NET-Core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil2k07%2FWebSockets-ASP.NET-Core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil2k07%2FWebSockets-ASP.NET-Core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sahil2k07","download_url":"https://codeload.github.com/Sahil2k07/WebSockets-ASP.NET-Core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sahil2k07%2FWebSockets-ASP.NET-Core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279172449,"owners_count":26118916,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dotnet-core","websocket"],"created_at":"2025-04-07T10:59:19.970Z","updated_at":"2025-10-16T09:21:38.829Z","avatar_url":"https://github.com/Sahil2k07.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebSocket ASP.NET Core\n\nThis project is a simple WebSocket implementation that mimics a real-world one-on-one chat and group chat application. The goal was to understand WebSockets and how they handle real-time messaging efficiently. The architecture follows SOLID principles to keep the code modular and maintainable. 🚀\n\n## ⚙️ Technologies Used\n\n- **.NET** (ASP.NET Core)\n- **WebSockets** for real-time communication\n- **Dependency Injection** for maintainability\n- **SOLID Principles** for clean architecture\n\n## 🎯 Features\n\n- ✅ One-to-one private chat\n- ✅ Group chat functionality\n- ✅ Users can join/leave groups dynamically\n- ✅ Frontend compatibility with WebSocket clients\n\n## 🔧 Installation \u0026 Setup\n\n### 1️⃣ Clone the repository\n\n```sh\ngit clone https://github.com/Sahil2k07/WebSockets-ASP.NET-Core.git\n\ncd WebSockets-ASP.NET-Core\n```\n\n### 2️⃣ Install dependencies\n\n```sh\ndotnet restore\n```\n\n### 3️⃣ Run the server\n\n```sh\ndotnet run\n```\n\n## 📡 WebSocket Endpoints\n\n| Endpoint                          | Description             |\n| --------------------------------- | ----------------------- |\n| `/api/chat?userID=1\u0026receiverID=2` | Private chat connection |\n| `/api/group?groupID=1`            | Group chat connection   |\n\n## 🛠️ Future Enhancements\n\n- 🔹 **Database Integration** (Message persistence)\n- 🔹 **User Authentication**\n- 🔹 **Typing Indicators**\n- 🔹 **Read Receipts**\n\n## 📜 License\n\nThis project is **MIT Licensed**. Feel free to modify and use it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahil2k07%2Fwebsockets-asp.net-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahil2k07%2Fwebsockets-asp.net-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahil2k07%2Fwebsockets-asp.net-core/lists"}