Khattab
01/15/2025, 5:51 PMbuilder of type WebApplicationBuilder in the Compose method, we only get IUmbracoBuilder the BuilderHostingEnvironment member is [obselete] and also it is not used in DI, What I am trying to achieve is that I have a common services layer that already have a lot of configurations that needs the builder to register some of its services, and I do not want to refactor this common layer, also I use Aspire client for some of the hosting components which only uses IHostingBuilder extensionJemayn
01/15/2025, 6:01 PMKhattab
01/15/2025, 6:06 PMJemayn
01/15/2025, 6:08 PMKhattab
01/15/2025, 6:15 PMAspire for the end-to-end system to manage and orchestrate different distributed system components like Services, Caching, DBs, Jobs ... etc , most of Aspire client packages exposes extensions for IHostApplicationBuilder like https://learn.microsoft.com/en-us/dotnet/aspire/caching/stackexchange-redis-integration?tabs=dotnet-cli&pivots=redis#client-integration , also We already have some set of common services and HttpClients that are encapsualted in helper packages that we use and those are also configured through IHostApplicationBuilderLuuk Peters (Proud Nerds)
01/16/2025, 3:26 PMA hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by