Set license key after dependy injection setup
Author: ManuelStalderRazoonCreated May 11, 2026Updated May 11, 2026
Today the license key can be set in code, but only during the set up phase of the dependency injection. Because we would like to have the license key in the database we would like to set the license after configuring the dependency injection (after calling Build on the WebApplicationBuilder).
Source: LuckyPennySoftware/AutoMapper