Skip to content

Getting Started

Dawid Potgieter edited this page May 30, 2017 · 1 revision

Getting Started (Source)

This section provides a quick overview of how to get the source code of the project up and running.

  1. Download source solution
  2. Open BackgroundWorkerService.sln
  3. Set "BackgroundWorkerService.Service" as the startup project
  4. Go to the properties page for "BackgroundWorkerService.Service" project
    • Under the "Debug" tab, enter "ui" in the "Command line arguments:" box
  5. 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 **
  6. 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.
  7. In a browser you can navigate to "http://localhost:2048/" - this should show you the web interface
  8. In a browser you can navigate to "http://localhost:7776/BackgroundWorkerService.Service" - this should show you the "AccessPoint Service" description

Getting Started (Installer)

This section provides a quick overview of how to get the pre-packaged installer of the project up and running.

  1. Download Installer on main download page.
  2. Run Installer until you get to the last page. It pops up a "What to do next" page.
  3. RTFM. Instructions are pretty clear.
Clone this wiki locally