This is a chat application built using Dot Net C# 7.0. It provides a simple web-based chat interface for users to send messages to each other. The application utilizes a Web API backend for handling message storage and retrieval.
- Send messages between users in real-time
- View chat history
- User-friendly interface
- Responsive design for different devices
- Dot Net C# 7.0
- ASP.NET Core Web API
- HTML, CSS, and JavaScript
- Bootstrap (for UI styling)
- jQuery (for client-side interactions)
To run this application locally, follow these steps:
- Clone the repository:
git clone <repository_url>
- Open the solution in Visual Studio or your preferred IDE.
- Build the solution to restore dependencies.
- Start the application using the IDE's debugging tools or by running
dotnet run
in the project directory. - Access the application in your web browser at
http://localhost:<port_number>
GET /api/chat/getchathistory
: Retrieves the chat history.POST /api/chat/sendmessage
: Sends a new message.
- CORS: The application is configured to allow cross-origin requests from
http://localhost:8080
. Adjust the CORS policy in theStartup.cs
file if needed.
Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.