Closed eyassud closed 2 years ago
Hi @eyassud
Witch version of Esquio? latest?
Hi @eyassud
Witch version of Esquio? latest?
Yes, the latest .net core version
Hello:
I have the settings below, but at runtime the 'HostEnvironmentToggle' is never loaded and thus always returns false for the feature.
I have a basic VS solution that reproduces the issue: See https://github.com/eyassud/EsquioWeApiDemo.git
"Esquio": { "Products": [ { "Name": "default", "Features": [ { "Name": "gpi", "Enabled": true, "Toggles": [ { "Type": "Esquio.AspNetCore.Toggles.HostEnvironmentToggle", "Parameters": { "Environments": "Staging;Development" } } ] } ] } ] }
Hi
Please set Type as "Esquio.AspNetCore.Toggles.HostEnvironmentToggle, Esquio.AspNetCore" ie , fully qualified type name!
Let me know if this is working for you!
Hi
Please set Type as "Esquio.AspNetCore.Toggles.HostEnvironmentToggle, Esquio.AspNetCore" ie , fully qualified type name!
Let me know if this is working for you!
No luck with fully qualified name.
There is not fully qualified use type, assembly like
Esquio.AspNetCore.Toggles.HostEnvironmentToggle, Esquio.AspNetCore
just tested and work a fine!
There is not fully qualified use type, assembly like
Esquio.AspNetCore.Toggles.HostEnvironmentToggle, Esquio.AspNetCore
just tested and work a fine!
Are you using VS 2022 and .NET 6? Do you have a link to a working example on GitHub?
Hi!
Just pushed this on MVC Sample
https://github.com/Xabaril/Esquio/blob/master/samples/GettingStarted.AspNetCore.Mvc/appsettings.json
Unai
Hi!
Just pushed this on MVC Sample
https://github.com/Xabaril/Esquio/blob/master/samples/GettingStarted.AspNetCore.Mvc/appsettings.json
Unai
Thank you very much! It worked.
Hello:
I have the settings below, but at runtime the 'HostEnvironmentToggle' is never loaded and thus always returns false for the feature.
I have a basic VS solution that reproduces the issue: See https://github.com/eyassud/EsquioWeApiDemo.git
"Esquio": { "Products": [ { "Name": "default", "Features": [ { "Name": "gpi", "Enabled": true, "Toggles": [ { "Type": "Esquio.AspNetCore.Toggles.HostEnvironmentToggle", "Parameters": { "Environments": "Staging;Development" } } ] } ] } ] }