Skip to content

Distributed movie system combining REST and SOAP paradigms for remote invocation,using android and angular clients

Notifications You must be signed in to change notification settings

yan6pz/MovieManiacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MovieManiacs

The project is used for Distributed software systems. Combination of REST API and SOAP(WCF) for remote invoke of database queries. SignalR is integrated and SPA chat room is implemented. The room gives ability for sending private messages as well.

How to set up the project?

The project contains two parts front-end(angular.js) and back-end C# part. First of all, after cloning the repo from git, try to build the whole solution. If the build succeed after restoring all of the needed packages, you are lucky :). If the restoring of missing packages do not start check Tools->Options-> NuGet Package Manager the two checkboxes should be checked. If they are not check them and try rebuilding the solution.

Restoring of packages is still not running?

Check if you have packages folder in current directory of the solution? If yes delete it and try rebuilding.

Also restore needed database(MovieManiacs.bak), and if your sql server has different name than '.' set every datasource attribute (placed in connection string tag in all Web.config and app.config files) with "YOURMACHINENAME\YOURSERVERNAME".

The first project-MoviesProject may be hosted separately on IIS or can be run from Visual Studio 2015. Every instance of it contains angular based requests to Web API(MovieManiacs project). After successful build of the solution try starting MovieManiacs from VS (or host and start it) , start WCFDatabaseProvider too. Then you might be able to use the functionalities provided in the client, which sends requests to the REST api ,which uses WCF Service(SOAP) to access and execute CRUD operations to the database.

Another API (MovieManiacs.Notifier) is used for sending and scheduling notifications via smtp.gmail service. It uses WCFDataProvider to iterate with the database.

Hosting in IIS

The WCF and the Notifier should be hosted as new Websites with application pools identity: NetworkService. Also if you do not have sql server login with NT AUTHORITY\NETWORK SERVICE you should create one with usermapping property of the database you use set to db owner. The WebUI(angular based site) and the Web API(REST) should be hosted with app pool identity set to ApplicationPoolIdentity(the default one). All of the four websites shoul be configured to use .NetFramework 4.0.

About

Distributed movie system combining REST and SOAP paradigms for remote invocation,using android and angular clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published