{"id":19488594,"url":"https://github.com/luca-weinert/chatapp","last_synced_at":"2026-05-04T18:38:21.650Z","repository":{"id":258237061,"uuid":"859863541","full_name":"luca-weinert/chatApp","owner":"luca-weinert","description":"A simple chat application built with C# and .NET 8, featuring a WPF client and TCP server for real-time messaging between users. Utilizes an event-driven architecture and dependency injection for modularity and maintainability.","archived":false,"fork":false,"pushed_at":"2024-12-20T17:01:45.000Z","size":190,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T08:36:23.728Z","etag":null,"topics":["chat","chat-application","client-server","csharp","dependency-injection","dotnet","event-driven","learning","school-project","tcp","tcp-client","tcp-server","trainee","wpf","wpf-application"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luca-weinert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-09-19T12:13:44.000Z","updated_at":"2024-12-20T17:00:17.000Z","dependencies_parsed_at":"2024-10-18T04:51:19.904Z","dependency_job_id":"931e2700-2756-4c6c-a2a2-a7db96fd551c","html_url":"https://github.com/luca-weinert/chatApp","commit_stats":null,"previous_names":["luca-weinert/chatapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca-weinert%2FchatApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca-weinert%2FchatApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca-weinert%2FchatApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca-weinert%2FchatApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luca-weinert","download_url":"https://codeload.github.com/luca-weinert/chatApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240731014,"owners_count":19848461,"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":["chat","chat-application","client-server","csharp","dependency-injection","dotnet","event-driven","learning","school-project","tcp","tcp-client","tcp-server","trainee","wpf","wpf-application"],"created_at":"2024-11-10T21:04:08.167Z","updated_at":"2026-05-04T18:38:21.564Z","avatar_url":"https://github.com/luca-weinert.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat Application\n\n## Overview\n\nThis project is a school project that implements a simple chat application developed using C# with a WPF client and a TCP server. It demonstrates client-server communication, enabling users to send messages and receive updates in real-time. The application is structured to allow easy extensibility and maintainability, utilizing principles such as dependency injection and event-driven architecture.\n\n## Features\n\n- **User and System Messages**: Handles both user-generated text messages and system messages (e.g., user status updates).\n- **Event-Driven Architecture**: Utilizes events for communication between the client and server, ensuring a responsive user experience.\n- **Dependency Injection**: Employs DI for better separation of concerns and improved testability.\n- **Robust Connection Management**: Establishes and manages TCP connections securely and reliably.\n- **Cross-Platform Compatibility**: Designed to run on any system that supports .NET.\n\n## Architecture\n\nThe application is divided into several key components:\n\n- **Client**: A WPF application that allows users to connect to the server, send messages, and receive updates.\n- **Server**: A TCP server that manages client connections, handles incoming messages, and broadcasts events to all connected clients.\n- **Communication Layer**: Handles the serialization and deserialization of events between the client and server.\n- **Event Management**: Centralized event handling through an `EventFactory` for consistency across the application.\n\n## Getting Started\n\n### Prerequisites\n\n- .NET 8.0 or later\n- Visual Studio 2022 or later (or any compatible IDE)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/luca-weinert/chatApp\n   cd chat-app\n   ```\n\n2. Open the solution file (`ChatApp.sln`) in Visual Studio.\n\n3. Restore the NuGet packages:\n\n   ```bash\n   dotnet restore\n   ```\n\n4. Build the solution:\n\n   ```bash\n   dotnet build\n   ```\n\n### Running the Application\n\n1. Start the server by running the server project (`ChatApp.Server`).\n2. Open a new instance of the client project (`ChatApp.Client.Wpf`).\n3. Enter the server IP address and port and connect.\n4. Start chatting!\n\n## Usage\n\n- **Send Messages**: Type your message in the text box and hit \"Send.\"\n\n## Contributing\n\nContributions are welcome! Please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or fix.\n3. Make your changes and commit them.\n4. Push to your branch.\n5. Create a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Thank you to the contributors of open-source libraries used in this project.\n- Special thanks to the developers who inspired this project through their work.\n\n## Contact\n\nFor any inquiries, please reach out to:\n\n- **Luca Weinert**\n- Email: [lucaweinert8@gmail.com](mailto:lucaweinert8@gmail.com)\n- LinkedIn: [Luca Weinert](https://www.linkedin.com/in/luca-weinert-b9994720b/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluca-weinert%2Fchatapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluca-weinert%2Fchatapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluca-weinert%2Fchatapp/lists"}