Created
September 21, 2023 07:50
-
-
Save trnktms/12a61bbbbc7b77f1a5f0be693805f93e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Startup | |
{ | |
public void ConfigureServices(IServiceCollection services) | |
{ | |
... | |
// Overwrite the default ApiPublishedContentCache to support wildcard item resolving | |
services.AddSingleton<ApiPublishedContentCache>(); | |
services.AddSingleton<IApiPublishedContentCache, WildcardApiPublishedContentCache>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment