Twitter Sentiment Analysis is a "Distributed Applications Programming" project aims to Design and Execute a distributed system using two methods:
1- Remoting: is a technology that allows a program to interact with the internals of another program running on a different machine.
2- WCF (Windows Communication Foundation): is a framework for building service-oriented applications.
It contains two major characters: Admin - Users
The admin is responsible for operating the system with multiple functions:
Using Remoting method:- Add user
- Remove user
- Add case
- Remove case
- Retrieve users by there IDs
- Retrieve cases by there IDs
- Retrieve cases that user participates with
- Retrieve users of a case
- Add Tweet Sentiment
- Get a case with certain Sentiment
- User's Sentiment changes with time
- Distribution of users upon their Sentiments
The users have the ability to add tweets and participate or contribute in the case posted by the admin.
In order to run the project please make sure to follow these steps:
1- Open database backup folder and use it to restore the database.
2- Configure the connection string of each service:
- For remoting service: edit the ConnectionString variable in TwitterSentimentService\TwitterSentimentService.cs
- For wcf service: locate TwitterSentimentWcfServiceLibrary then double click on DataClasses1.dbml after that drag and drop the tables from the server explorer.
3- install the plugins using nugget.
4- Build the solution.
5- Run the remoting service which is located in \Twitter-Sentiment-Analysis-master\TwitterSentimentServer\bin\Debug\TwitterSentimentServer.exe
6-Publish WcfServiceLibrary to Windows IIS
7-Set Twitter SentimentWebsite as startup project
8-Run the website by pressing Ctrl+f5 in vs code
9-The login page: http://localhost:52355/Users/Login
10-Enjoy
- Here you can find more about The Remoting method: https://en.wikipedia.org/wiki/.NET_Remoting
- Here you can find more about Windows Communication Foundation(WCF) method: https://en.wikipedia.org/wiki/Windows_Communication_Foundation
- The project Built using Asp.Net framework 4.7. For more info: https://dotnet.microsoft.com/learn/dotnet/what-is-dotnet-framework