-
Notifications
You must be signed in to change notification settings - Fork 7
Getting Started
Dawid Potgieter edited this page May 30, 2017
·
1 revision
This section provides a quick overview of how to get the source code of the project up and running.
- Download source solution
- Open BackgroundWorkerService.sln
- Set "BackgroundWorkerService.Service" as the startup project
- Go to the properties page for "BackgroundWorkerService.Service" project
- Under the "Debug" tab, enter "ui" in the "Command line arguments:" box
- The service hosts 2 web interfaces, one WCF service host and one Web server. You need Namespace Reservation for these (Namespace reservation assigns the rights for a portion of the HTTP URL namespace to a particular group of users - Vista and newer). In an elevated visual studio command prompt, run :
- netsh http add urlacl url=http://+:2048/ user={DOMAIN\user}(with your user account ofc. You can configure a different port later)
- netsh http add urlacl url=http://+:7776/ user={DOMAIN\user} (with your user account ofc. Port 7776 is the default wcf admin port that you can configure yourself) ** Running project **
- If you run the project now, it should compile and show a small winforms window titled "Background Worker Service" - this is because of the "ui" debugging switch to allow you to run the service as a normal app in VS debugging mode.
- In a browser you can navigate to "http://localhost:2048/" - this should show you the web interface
- In a browser you can navigate to "http://localhost:7776/BackgroundWorkerService.Service" - this should show you the "AccessPoint Service" description
This section provides a quick overview of how to get the pre-packaged installer of the project up and running.
- Download Installer on main download page.
- Run Installer until you get to the last page. It pops up a "What to do next" page.
- RTFM. Instructions are pretty clear.
- In a browser you can navigate to "http://localhost:2048/" - this should show you the web interface
- In a browser you can navigate to "http://localhost:7776/BackgroundWorkerService.Service" - this should show you the "AccessPoint Service" description