Support Newer .NET WebApplicationBuilder
I would like to use the newer WebApplicationBuilder / IHostApplicationBuilder introduced in .NET 6 to initialize the CMS instead of the .NET Core 3 method of using IHostBuilder, because .NET Aspire does not support IHostBuilder. The ConfigureCmsDefaults method does not support WebApplicationBuilder, and even though the following code will compile, the CMS is not usable:
var builder = WebApplication.CreateBuilder(args);
builder.Host.ConfigureCmsDefaults();
4
votes