https://github.com/ammezie/asp-anonymous-chat
Build a public anonymous chatroom with .NET and Pusher
https://github.com/ammezie/asp-anonymous-chat
Last synced: about 1 month ago
JSON representation
Build a public anonymous chatroom with .NET and Pusher
- Host: GitHub
- URL: https://github.com/ammezie/asp-anonymous-chat
- Owner: ammezie
- Created: 2017-05-18T16:21:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-12T09:47:37.000Z (about 7 years ago)
- Last Synced: 2025-03-15T01:02:43.433Z (about 2 months ago)
- Language: C#
- Homepage:
- Size: 390 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ASP.NET Public Anonymous Chat
Build a public anonymous chatroom with .NET, jQuery and Pusher. Follow the tutorial [https://pusher.com/tutorials/anonymous-chat-aspnet/](https://pusher.com/tutorials/anonymous-chat-aspnet/)
### Getting Started
Clone the project repository by running the command below if you use SSH
```
git clone [email protected]:ammezie/asp-anonymous-chat.git
```If you use https, use this instead
```
git clone https://github.com/ammezie/asp-anonymous-chat.git
```After cloning, open the `pusherasp.sln` file in visual studio.
### Prerequisites
#### Setup Pusher
If you don't have one already, create a free Pusher account at https://pusher.com/signup then login to your dashboard and create an app.
Then fill in your Pusher app credentials in your `pusherasp\Controllers\HomeController` file by replacing this line with your appid, appkey and app secret respectively:
```
var pusher = new Pusher("PUSHER_APP_ID", "PUSHER_APP_KEY", "PUSHER_APP_SECRET", options);
```Also, remember to fill in the your secret key and app cluster in your `pusherasp\Views\Home\Index.cshtml` file by updating this line:
```
var pusher = new Pusher('PUSHER_APP_KEY', {cluster: 'XXX_CLUSTER'});
```And finally, start the application by clicking the debug button on your visual studio.
## Built With
* [Pusher](https://pusher.com/) - APIs to enable devs building realtime features
* [C# ASP.NET](https://www.asp.net/) - An open source web framework for building modern web apps and services with .NET
* [jQuery](https://jquery.com) - A fast, small, and feature-rich JavaScript library## Acknowledgments
* [Bootsnipp chat snippet](http://bootsnipp.com/snippets/featured/collapsible-chat-widget)