Hosting in a Windows Service is available in an upcoming version.
Obtain the installation resources of Tax Balance. Usually this is an archive with the file extension (.nupkg).
Extract the archive to a desired location on the file system of the machine that will host Tax Balance. We will refer to that location as
<tax-balance-install-directory>
.Use PowerShell (Version 6 or later) to register a service. From an administrative PowerShell command shell execute the following command:
New-Service -Name "Tax Balance" -BinaryPathName "<tax-balance-install-directory>\AMANA.SmartTaxBalance.Web.Api.exe" -Credential "<tax-balance-user>" -Description "Tax Balance Web Application" -Description "Tax Balance" -StartupType Automatic
Replacing
<tax-balance-install-directory>
with the location of the exctracted installation resources.
Replacing<tax-balance-user>
with a Service user account, e.g., Local Service Account or a Custom domain account.
Learn more about permissions required for the Tax Balance Windows Service or using a Managed Service Account.Continue with Configure Tax Balance
Additional configuration steps may be required to make Tax Balance work as a Windows service. As per default, Tax Balance Server will listen to https://localhost:443/. To change this, open the
appsettings.json
file located at<tax-balance-install-directory>
and change the value of the key Urls to a desired listening address. Learn more about exposing Tax Balance server.Start the service with the following PowerShell 6 command:
Start-Service -Name "Tax Balance"