Skip to content

A distributed scheduled real-time task processing server for .NET built on Schyntax, cs-schtick.redis and Redis for locking.

License

Notifications You must be signed in to change notification settings

PanteonProject/Panteon.Host

 
 

Repository files navigation

Panteon.Host

Setup

###(Optional) Add an HTTP URL Namespace Reservation

This application listens to http://localhost:8080/. By default, listening at a particular HTTP address requires administrator privileges. When you run the host, therefore, you may get this error: "HTTP could not register URL http://+:8080/"

There are two ways to avoid this error:

Use Netsh.exe to give your account permissions to reserve the URL. To use Netsh.exe, open a command prompt with administrator privileges and enter the following command:

netsh http add urlacl url=http://+:8080/ user=machine\username

For example;

netsh http add urlacl url=http://+:8080/ user=\Everyone

where machine\username is your user account.

When you are finished self-hosting, be sure to delete the reservation:

netsh http delete urlacl url=http://+:8080/

Install Panteon.Host as windows service executing following command

Panteon.Host.exe install

###App Settings

PANTEON_JOBS_FOLDER
Jobs folder path
PANTEON_REST_API_URL
Jobs REST API start url

#####(Optional) RealtimePanteonWorker Settings

PS_APP_ID
Pusher App Id
PS_APP_KEY
Pusher App Key
PS_APP_SECRET
Pusher App Secret

Sample appSettings node;

 <appSettings>
    <add key="PANTEON_JOBS_FOLDER" value="C:\@Panteon\Jobs"/>
    <add key="PANTEON_REST_API_URL" value="http://+:8080/"/>
    <add key="PS_APP_ID" value="PusherAppId" />
    <add key="PS_APP_KEY" value="PusherAppKey" />
    <add key="PS_APP_SECRET" value="PusherAppSecret" />
  </appSettings>

TODO:

  • Nuget Package

About

A distributed scheduled real-time task processing server for .NET built on Schyntax, cs-schtick.redis and Redis for locking.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 92.7%
  • PowerShell 7.3%