Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Internet Information Services (IIS) is a flexible, secure and manageable Web Server for hosting web apps. This guide will lead you through the installation and configuration process.

Please ensure that allĀ Installation requirements are met.

IIS configuration

Configure IIS for Windows Server operatings systems or Windows desktop operating systems. Please refer to the Microsoft documentation for this task.

  • You may skip the section on configuring Windows Authentication
  • Please enable the WebSockets Protocol feature

Set or create the following entry in the registry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters]
"UrlSegmentMaxLength"=dword:00000400

For easy administration, here is also a Powershell script, which adds this registry key :

Set-Location -Path "HKLM:\"
$Path="HKLM:\SYSTEM\CurrentControlSet\services\HTTP\Parameters" 
New-ItemProperty -Path $Path -Name "UrlSegmentMaxLength" -Value 1024 -PropertyType DWord
Set-Location -Path "C:\"


You may want to use the following PowerShell script to perform the installation of the IIS feature.

Install-WindowsFeature Web-Server
Install-WindowsFeature Web-WebServer

Install-WindowsFeature Web-Common-Http
Install-WindowsFeature Web-Default-Doc
Install-WindowsFeature Web-Dir-Browsing
Install-WindowsFeature Web-Http-Errors
Install-WindowsFeature Web-Static-Content
Install-WindowsFeature Web-Http-Redirect
 
Install-WindowsFeature Web-Health
Install-WindowsFeature Web-Http-Logging 
  
Install-WindowsFeature Web-Performance
Install-WindowsFeature Web-Stat-Compression
  
Install-WindowsFeature Web-Security
Install-WindowsFeature Web-Filtering
  
Install-WindowsFeature Web-App-Dev
Install-WindowsFeature Web-WebSockets
  
Install-WindowsFeature Web-Mgmt-Tools
Install-WindowsFeature Web-Mgmt-Console

Get-Website | Remove-Website
Get-ChildItem -Path IIS:\AppPools\ | ForEach-Object { Remove-WebAppPool $_.Name } 

Install .NET Core Hosting Bundle

The corresponding runtime must be available on the host system. Download the current hosting bundle of ASP.NET Core Runtime 6.0 on this page.

For more information, see Microsoft documentation.

Create the IIS site

Extract the package that was provided to you upon deployment to a folder of your choice.

Create a site on the IIS Server by following this guide. Use the previous chosen folder as the Physical path of the application.

Open the Advanced Settings and set Behavior > Limits > Maximum Url Segments to 32.

Tax Balance works exclusively with HTTPS. Create a valid HTTPS binding with a matching valid certificate.

Learn more

  • No labels