ChatHub
A simple chatroom
Languages & Technologies
C#, JavaScript, ASP.NET Core, SQL Server with Entity Framework, SignalR, Bootstrap, xUnit
ChatHub is a real-time chatroom web application that allows users to connect, interact, and communicate in dedicated chatrooms. The application ensures seamless messaging through WebSockets and SignalR, while storing all messages and user data in a robust SQL Server database. It features dynamic updates, persistent chat history, and real-time notifications for user activities.
Key Highlights
Leveraged WebSockets and SignalR to enable instant messaging across chatrooms.
Displays previous messages for each room, ensuring continuity for new and returning users.
Enforces unique usernames with specific validation rules (e.g., no numbers or symbols, max length of 12).
Tracks user connection/disconnection times and stores messages in an SQL Server database.
Provides live updates to all users when someone joins or leaves a room.
Limits message length to 200 characters and supports text, links, and images.
Includes unit tests to ensure the reliability of core functionalities.
A modern, user-friendly interface built with Bootstrap, ensuring usability across devices.



