File tree Expand file tree Collapse file tree
astro/src/content/docs/general Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,6 +264,23 @@ Duende products like IdentityServer and the BFF Security Framework look for a fi
264264[ContentRootPath](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.hosting.ihostenvironment.contentrootpath?#microsoft-extensions-hosting-ihostenvironment-contentrootpath)
265265of your application. If present, the content of the file will be used as the license key.
266266
267+ By default, `ContentRootPath` is the directory that contains the application's `.csproj`
268+ file during development, and the application's base directory in published deployments.
269+ Place the license key file there:
270+
271+ ```text
272+ MyIdentityServer/
273+ ├── Duende_License.key ← place license here
274+ ├── MyIdentityServer.csproj
275+ ├── Program.cs
276+ ├── appsettings.json
277+ └── ...
278+ ```
279+
280+ ::: tip
281+ To verify your ` ContentRootPath ` at runtime, inspect ` builder.Environment.ContentRootPath ` .
282+ :::
283+
267284### Startup
268285
269286If you prefer to load the license key programmatically, you can do so in your startup
You can’t perform that action at this time.
0 commit comments