Commit Graph

8 Commits

Author SHA1 Message Date
Lombiq
852d08a3f1 #20337: Re-implementing PlatformConfiguration as an injectable dependency (Orchard.Azure)
Work Item: 20337
2014-03-07 02:03:40 +01:00
Daniel Stolt
c8e277ba11 Removed support for Shared Cache from Azure caching providers.
Fixed bug in Azure output cache provider with tenant names containing non-alphanumeric characters.
Removed all Azure-related assembly references from Orchard.Web.csproj.
2013-09-04 22:28:28 +02:00
Daniel Stolt
4f47c6a967 Brought back support for compression in Azure database caching. 2013-09-03 10:54:18 -07:00
Sebastien Ros
1ac989ee72 Making azure db cache provider tenant aware again
ICacheProvider calls Start() and provides the region prefix as a
property, which lets us create a dedicated DataCache.

The BuildCache method is called once per record, and reuse by
Nhibernate.
2013-08-30 15:42:11 -07:00
Sebastien Ros
760269c900 Ignoring tenant specific configuration for db cache
There is no way to configure the cache provider for specific tenants,
thus ignoring it. NHibernate should take an instance instead of a type
for the provider.
2013-08-30 15:01:23 -07:00
Sebastien Ros
a567a99cd4 Removing static fields usage 2013-08-30 14:31:59 -07:00
Sebastien Ros
bde2006dc7 Code cleanup 2013-08-30 12:50:39 -07:00
Daniel Stolt
db85911c2f Modified all providers in Orchard.Azure to read their settings from platform configuration.
Added clear exceptions in provider constructors when settings are missing or invalid.
Refactored cache client configuration and creation into separate class.
2013-08-30 12:14:06 -07:00