Skip to content

Allow replacing ConfigurationManager for reading values #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
javvids opened this issue Jan 14, 2020 · 3 comments · Fixed by #87
Closed

Allow replacing ConfigurationManager for reading values #79

javvids opened this issue Jan 14, 2020 · 3 comments · Fixed by #87
Milestone

Comments

@javvids
Copy link

javvids commented Jan 14, 2020

CoreMemoryCache uses ConfigurationManager for reading values. This doesn't work in Azure Functions V2. Can we have a custom option of providing cache values?

@fredericDelaporte
Copy link
Member

Something like nhibernate/nhibernate-core#2116?

@fredericDelaporte
Copy link
Member

By the way, configuration can be programmatically done, in case you have not seen.
CoreMemoryCacheProvider exposes some static members for this. Most cache providers do the same.

@javvids
Copy link
Author

javvids commented Apr 6, 2020

Thanks

@fredericDelaporte fredericDelaporte changed the title Corememory cache uses configurationManager for reading values, this doesnt work in Azure Functions V2 Allow replacing ConfigurationManager for reading values Jul 15, 2020
@fredericDelaporte fredericDelaporte added this to the 5.7 milestone Jul 15, 2020
fredericDelaporte added a commit to fredericDelaporte/NHibernate-Caches that referenced this issue Jul 15, 2020
fredericDelaporte added a commit to fredericDelaporte/NHibernate-Caches that referenced this issue Jul 15, 2020
fredericDelaporte added a commit to fredericDelaporte/NHibernate-Caches that referenced this issue Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants