Last active
March 16, 2023 23:40
-
-
Save fluxdigital/529f959bf96a300048f2d71d2a576ca6 to your computer and use it in GitHub Desktop.
Pass Params in Dependency Injection
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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> | |
<sitecore> | |
<services> | |
<configurator type="FluxiDigtal.Foundation.DependencyInjection.MvcControllerServicesConfigurator, FluxiDigtal.Foundation.DependencyInjection"> | |
<!--turn on option on CD--> | |
<param desc="useMyCustomCache" role:require="ContentDelivery">true</param> | |
</configurator> | |
</services> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment