---
title: "Installing the Nodinite LDAP Web API: IIS, Azure App Services, Configuration, and Testing"
description: Install the Nodinite LDAP Web API on IIS with the .NET 10 Hosting Bundle, or on Azure App Services with App Configuration and Key Vault. Step-by-step setup and a first Swagger test.
---

# <i class="fal fa-rocket" aria-hidden="true"></i> Installing the Nodinite LDAP Web API

Get your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][] up and running quickly and securely. This guide provides step-by-step instructions for installing on [IIS][IISAuthIISIUSRS] or Azure App Services, configuring your environment, and testing your deployment.

✅ Choose between IIS or Azure App Services for flexible hosting  
✅ Follow clear, step-by-step installation and configuration instructions  
✅ Test your deployment with real examples and built-in Swagger UI  
✅ Access expert support and troubleshooting resources  

>This guide teaches how to install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][].  

<i class="fal fa-download" aria-hidden="true"></i> [Download Latest version](https://download.nodinite.com/LDAP/)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

The following two hosting options exist:  

1. [IIS](#iis)  
2. [Azure App Services](#azure-app-services)  

## <i class="fal fa-square-plus" aria-hidden="true"></i> Before you begin

Make sure you comply with the [Prerequisites][]. The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][] runs on **.NET 10**, the same runtime as <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7.

## IIS

Follow these steps to install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][] on Windows Server with IIS.

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Install the IIS Windows features first, and then the <a href="https://aka.ms/dotnet/10.0/dotnet-hosting-win.exe">.NET 10.0 Hosting Bundle</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, before you start. In the other order, IIS lacks the ASP.NET Core Module V2 and the API returns HTTP 500.19. See <a href="https://docs.nodinite.com/ldap-web-api/getting-started/prerequisites/#install-the-net-10-hosting-bundle">Install the .NET 10 Hosting Bundle</a>.</p></div>
</aside>

### <i class="fal fa-forward-step" aria-hidden="true"></i> Step 1: Unzip package

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][] has no installer (MSI). Unzip the package to the **target** folder, for example, `C:\Program Files\Nodinite\LDAP Web API\`:  
![Unzip Folder][1]  
*Screenshot: Unzip the package to your target folder.*

Unblock the files by running the following PowerShell command (replace folder as required):  

```powershell
Get-ChildItem -Path 'C:\Program Files\Nodinite\LDAP Web API\' -Recurse|Unblock-File
```

### <i class="fal fa-forward-step" aria-hidden="true"></i> Step 2: Create IIS Application Pool

Use the Internet Information Server (IIS) Manager.

```powershell
inetmgr.msc
```

<ol type="a">
<li>
<p>Create a new <strong>Application Pool</strong> (click Add Application Pool in IIS Manager).</p>
</li>
<li>
<p>Name the App Pool, for example, <code>Nodinite LDAP Web API</code> and select <code>No Managed Code</code>. IIS doesn't load .NET itself; the ASP.NET Core Module V2 from the Hosting Bundle starts the API.</p>
</li>
<li>
<p>Configure the App Pool with a named account that has read/write rights to the folder with the binaries. You can optionally add the named account to the <a href="https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/#fa-users-cog-iis_iusrs-group-membership">IIS_IUSRS group</a> and set file access rights on this group instead.</p>
</li>
<li>
<p>Start a cmd-prompt as this user to create a profile required by the password protection scheme.</p>
</li>
</ol>

### <i class="fal fa-forward-step" aria-hidden="true"></i> Step 3: Create IIS Virtual Directory

<ol type="a">
<li>
<p>Add a new Virtual Directory:<br>
<img src="https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/CreateVirtualDirectory.png" alt="IIS Manager context menu with Add Virtual Directory" class="nodinite-zoom"><br>
<em>Screenshot: Add a Virtual Directory under the IIS site.</em></p>
</li>
<li>
<p>Name the Virtual Directory and set the <strong>Physical path</strong> to the folder where you extracted the ZIP package in step 1:<br>
<img src="https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AddVirtualDirectory.png" alt="Add Virtual Directory dialog with alias and physical path" class="nodinite-zoom"><br>
<em>Screenshot: The alias becomes part of the API address.</em></p>
</li>
<li>
<p>Convert the virtual directory to an Application:<br>
<img src="https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/ConvertToApplication.png" alt="IIS Manager context menu with Convert to Application" class="nodinite-zoom"><br>
<em>Screenshot: Only an Application can have its own Application Pool.</em></p>
</li>
<li>
<p>Select the Application pool you created in step 2:<br>
<img src="https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AssignAppPool.png" alt="Add Application dialog with the LDAP Web API Application Pool selected" class="nodinite-zoom"><br>
<em>Screenshot: Assign the No Managed Code Application Pool from step 2.</em></p>
</li>
</ol>

### <i class="fal fa-forward-step" aria-hidden="true"></i> Step 4: Configure Connections

Before you use the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][], perform the initial [Configuration][]

### <i class="fal fa-forward-step" aria-hidden="true"></i> Step 5: Perform a basic test

Test the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][]. You will find many methods in the Samples folder.

Navigate to `http://localhost/LDAPAdapter/swagger/` (replace LDAPAdapter according to the name you set in step 3b) or, even better, use HTTPS: `https://REPLACEME/swagger/` (see '[How to perform hardening on your Nodinite LDAP Web API][Hardening LDAP Web API]')  
![Swagger UI of the LDAP Web API][9]  
*Screenshot: Access the built-in Swagger UI for testing.*  

Set the `connectionId` (set in [Configuration][], Step 4) and execute the statement:  
![Swagger UI executing the GetDomainControllers operation][7]  
*Screenshot: Example of executing a test statement.*  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Set the <strong>content type</strong> according to your statement:</p><ul>
<li><strong>JSON</strong> - <code>application/json</code></li>
<li><strong>XML</strong> - <code>text/xml</code> or <code>application/xml</code></li>
</ul><p>JSON only works from LDAP Web API <strong>4.0.1</strong>; use XML with 3.x. In JSON, <code>Operations</code> needs one extra <code>Operations</code> level, see <a href="https://docs.nodinite.com/ldap-web-api/getting-started/test/#json-payload-401-and-later">Test</a>.</p></div>
</aside>

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>If the browser shows HTTP <strong>500.19</strong> or <strong>500.30</strong> instead of Swagger, the .NET 10 Hosting Bundle is missing or was installed before the IIS features. See <a href="https://docs.nodinite.com/ldap-web-api/getting-started/prerequisites/#install-the-net-10-hosting-bundle">Install the .NET 10 Hosting Bundle</a>.</p></div>
</aside>

Use one of the two sample statements below to test that the API reaches Active Directory. The statement needs a port 389 connection and doesn't test the credentials; run the [search test][Test search] for that.

#### JSON example

Send it with the content type `application/json` (LDAP Web API 4.0.1 and later):

```json
{
  "RequestId": "b7a211d7-20f3-44bc-b078-7f1b6e1c047f",
  "ReturnResponseOnExceptions": true,
  "Batches": [
    {
      "continueOnError": false,
      "guid": "2b25b9e6-4af2-4094-9ae7-e1e4c99b6c8d",
      "AD": {
        "Operations": {
          "Operations": {
            "GetDomainControllers": {}
          }
        }
      }
    }
  ]
}
```

#### XML example

Send it with the content type `text/xml` or `application/xml` (every version, and the only format in 3.x):

```xml
<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0">
  <Batches guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D" returnResponseMessageOnExceptions ="true">
    <Batch guid="3B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8E">      
       <AD>          
          <Operations>
            <GetDomainControllers/>
          </Operations>
        </AD>
    </Batch>    
  </Batches>
</ns0:LDAP>
```

___

## Azure App Services

Follow these steps to install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][] in your Azure subscription.

![Azure Web App][13]  
*Screenshot: Example of deploying to Azure Web App.*

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>You must have a connection with the Domain Controllers. A <a href="https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview">private endpoint</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> is a common option to achieve this.</p></div>
</aside>

Create the Web App with the **.NET 10** runtime stack on **Windows**. App Service provides the runtime, so you don't install a Hosting Bundle.

Zip deploy for Azure WebApps:

1. Go to your Web App in the Azure portal.  
2. Scroll down to the Development Tools and click Advanced Tools  
3. Click GO ----->  
4. At the top nav bar click on Tools  
5. Click Zip Push Deploy and drag and drop the Zip folder.  
   <aside aria-label="Note" class="nodinite-note nodinite-note--note">
   <p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
   <div class="nodinite-note__content"><p>You might want to perform changes to the appSettings.json file, please review the <a href="#appsettings">AppSettings</a> section.</p></div>
   </aside>
6. <p>Set permissions (RBAC). The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/ldap-web-api/overview/">LDAP Web API</a> App Service instance requires permissions to access the app configuration and possibly the Key Vault.</p>
   <ol type="a">
   <li>Assign App Configuration Reader on the App Service to access the AppSettings</li>
   <li>Assign Azure Key Vault Administrator to the App Service<br>
   Other deployment options are available <a href="https://learn.microsoft.com/en-us/azure/app-service/deploy-zip?tabs=cli">Azure deployment documentation</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup></li>
   </ol>
7. To test, click on the Default Domain link and add `/Swagger`, you should now be able to browse.  
![Swagger][14]  
*Screenshot: Test your deployment with the built-in Swagger UI in Azure.*
8. Next, configure the [AppSettings](#appsettings)  

### AppSettings

The settings for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][] are stored in the App Configuration container.

![App Service Environment][10]  
*Screenshot: Example of App Configuration in Azure.*

1. Create a new App Configuration and name it (for example, `devsettings`). Change the `AppConfigEndpoint` entry accordingly either before you upload the ZIP file, or change it directly in the Azure portal.

``` json
{
  "https_port": 443,
  "ProductKey": {
    "CustomerName": "",
    "Key": ""
  },
  "ConnectionStrings": {
    "appConfiguration": ""
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AppConfigEndpoint": "https://devsettings.azconfig.io",
  "AllowedHosts": "*"
}
```

1. Since you can have multiple connection configurations, you must sequentially use an index to reference the proper entry. The first entry has the index zero (0).

You must create the following settings for each connection. The example below is for the first entry. To protect the password, store it in Azure Key Vault, as detailed [in the Key Vault section](#keyvault).

``` powershell
LdapSettings:Connections:0:AuthenticationType
LdapSettings:Connections:0:DSAServer
LdapSettings:Connections:0:DSAServerPort
LdapSettings:Connections:0:Id
LdapSettings:Connections:0:KeyVaultPassword
LdapSettings:Connections:0:UserName
LdapSettings:RunningInAzure
ProductKey:CustomerName
ProductKey:Key
refreshAll
```

*Review the [Configuration][] page for details about the values to use.*  

1. The `refreshAll` is the [sentinel key](https://learn.microsoft.com/en-us/azure/azure-app-configuration/enable-dynamic-configuration-aspnet-core?tabs=core6x)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> to refresh the configuration.  
    <aside aria-label="Note" class="nodinite-note nodinite-note--note">
    <p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
    <div class="nodinite-note__content"><p>After updating any of the values, you must update the value for <code>refreshAll</code>. You can have an initial value of <code>1</code>, and then step to <code>2</code> and so on after every change.</p></div>
    </aside>

![AppSettings][11]  
*Screenshot: AppSettings configuration with password protected by Key Vault.*

#### KeyVault

To protect the password, create the `LdapSettings:Connections:0:KeyVaultPassword` as a reference to your Key Vault.  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Only the value for the password needs to be in the Key Vault!</p></div>
</aside>

![Key Vault][12]  
*Screenshot: Password stored in Azure Key Vault.*

___

## <i class="fal fa-user-md" aria-hidden="true"></i> Support

Contact our [Support][] for additional guidance if you cannot resolve the installation problem.

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Additional information to aid troubleshooting may exist in the Windows Event Logs.</p></div>
</aside>

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked

You will find additional solutions to common problems and the FAQ for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [LDAP Web API][] in the [Troubleshooting][] user guide.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-edit" aria-hidden="true"></i> [Configuration][]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-shield-halved" aria-hidden="true"></i> [How to perform hardening on your Nodinite LDAP Web API][Hardening LDAP Web API]  
* <i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstall][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/TargetFolder.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/CreateVirtualDirectory.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AddVirtualDirectory.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/ConvertToApplication.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AssignAppPool.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/AD/GetDomainControllersSwagger.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/Swagger.png
[10]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AzureAppConfiguration.png
[11]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AzureAppSettings.png
[12]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AzureKeyVaultPassword.png
[13]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AzureWebApp.png
[14]:https://docs.nodinite.com/media/Documentation%20Pictures/LDAP%20WebAPI/Install/AzureWebAppSwagger.png

[Configuration]:https://docs.nodinite.com/ldap-web-api/getting-started/configuration/
[Hardening LDAP Web API]:https://docs.nodinite.com/ldap-web-api/troubleshooting/https-hardening-your-environment/
[Hosting Bundle]:https://docs.nodinite.com/ldap-web-api/getting-started/prerequisites/#install-the-net-10-hosting-bundle
[IISAuthIISIUSRS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/#fa-users-cog-iis_iusrs-group-membership
[LDAP Web API]:https://docs.nodinite.com/ldap-web-api/overview/  
[Prerequisites]:https://docs.nodinite.com/ldap-web-api/getting-started/prerequisites/  
[Support]:https://support.nodinite.com  
[Test JSON]:https://docs.nodinite.com/ldap-web-api/getting-started/test/#json-payload-401-and-later
[Test search]:https://docs.nodinite.com/ldap-web-api/getting-started/test/#fa-magnifying-glass-step-5-test-a-search
[Troubleshooting]:https://docs.nodinite.com/ldap-web-api/troubleshooting/overview/  
[Uninstall]:https://docs.nodinite.com/ldap-web-api/troubleshooting/uninstall/  
[Update]:https://docs.nodinite.com/ldap-web-api/updating/