I'm migrating an ASP.NET application to .NET5 and have come across the following code that uses StructureMap...
For<ICache>().AlwaysUnique().Singleton().HttpContextScoped().Add<RedisCache>()
We are using Lamar in the new application; what's the equivalent code to replace .AlwaysUnique().Singleton().HttpContextScoped()
?