A high-performance chat client built with ASP.NET Core Razor Pages and SignalR.
- Real-time Messaging: Powered by SignalR.
- Rich Emoji Support: Integrated emoji picker.
- Large File Uploads: Support for files up to 2GB.
- File Previews: Automatic preview for images and videos directly in the chat.
- Premium UI: Modern dark aesthetics with glassmorphism.
- Prerequisites: Ensure .NET 9.0 SDK is installed.
- Run the Application:
dotnet run
- Open Browser: Navigate to
http://localhost:5000(or the URL shown in terminal).
- Hub:
ChatHubinherits fromMicrosoft.AspNetCore.SignalR.Hub. - Large Files: Configured Kestrel and FormOptions to allow 2GB body size.
- Uploads: Files are uploaded via AJAX to a Razor Page handler, then the link is broadcasted via SignalR to all clients.
- Ensure you have write permissions to the
wwwroot/uploadsfolder (it will be created automatically). - For local network access, configure
appsettings.jsonor use--urls.