Compare commits

..

131 Commits
1.7.1 ... 1.7.2

Author SHA1 Message Date
Sipke Schoorstra
7dff22a478 Making the hint for MediaPart.Caption a little bit more generic. 2013-11-10 22:05:39 +01:00
Sebastien Ros
7afb052e7c Updating version numbers 2013-11-08 16:53:03 -08:00
Sebastien Ros
4dd9f0f6f8 Fixing redirection support in OutputCache 2013-11-08 16:33:18 -08:00
Sebastien Ros
82025baaef Improving the settings message behavior 2013-11-08 15:44:59 -08:00
Sebastien Ros
2d927962e4 #20230: Improving the SSL module
Work Item: 20230
2013-11-08 14:50:07 -08:00
Sebastien Ros
322c433351 #20255: Moving some workflow activities to custom features
Work Item: 20255
2013-11-08 12:41:56 -08:00
Sebastien Ros
ffdeec733a Reverting shape wrappers 2013-11-08 12:08:23 -08:00
Sebastien Ros
494a57bb5a Removing unused file 2013-11-08 11:24:58 -08:00
Piotr Szmyd
ff67e7917d #20261: Fixing URL and widget shape alternates. All wrappers for those shapes also get similar alternates.
Work Item: 20261
2013-11-08 04:43:35 +01:00
Sebastien Ros
a294c9e450 #20072: Fixing media import when folder contains international chars
Work Item: 20072
2013-11-07 18:02:49 -08:00
Sebastien Ros
f7f710253f #19909: Show an error message on Media library ajax calls
Work Item: 19909
2013-11-07 17:43:50 -08:00
Sebastien Ros
7fa6ef9da1 #20036: Fixing NRE when importing comments
Work Item: 20036
2013-11-07 16:46:56 -08:00
Sebastien Ros
4c7a2c2398 #20207: Adding MenuPart to Page
Work Item: 20207
2013-11-07 16:17:43 -08:00
Sebastien Ros
c9e8b3bd99 #19994: Fixing content picker reidrect loop
Work Item: 19994
2013-11-07 16:10:30 -08:00
Sebastien Ros
17852686e0 Refactoring previous commit 2013-11-07 15:50:39 -08:00
Sebastien Ros
6093eee47b Refactoring previous commit 2013-11-07 15:50:09 -08:00
Sebastien Ros
ed86aaf49b #19940: Don't create draft custom forms
Work Item: 19940
2013-11-07 15:47:25 -08:00
Stanley Goldman
0c6dc4c41c #20267: Preventing QueryPartDriver from inadvertently modifying state while exporting
Work Item: 20267
2013-11-07 15:01:56 -08:00
Sebastien Ros
299e9ff946 #20204: Fixing how multiple fields are updated
Work Item: 20204
2013-11-07 11:44:26 -08:00
Sebastien Ros
f371d0fe23 Fixing tenants unit tests 2013-11-07 11:17:13 -08:00
Sipke Schoorstra
6fc0c2157c Handle UnsafeUrl and RemoveUrl clicks now and always for any future elements. 2013-11-07 18:31:22 +01:00
Sipke Schoorstra
469c2c6107 Removing mixed tabs and spaces, consistifying to spaces. 2013-11-07 18:27:02 +01:00
Sebastien Ros
a9c9ae1d22 Fixing NRE in CacheService with multi tenants 2013-11-06 16:06:25 -08:00
Sebastien Ros
2cccd945e4 Optimizing tenants resolution performance 2013-11-06 16:06:00 -08:00
Sebastien Ros
5c24810427 Optimizing IAliasHolder updates 2013-11-06 13:54:13 -08:00
Sebastien Ros
88c415876b #19730: Removing BlogPathConstraintUpdator
Work Item: 19730
2013-11-06 11:01:35 -08:00
Sebastien Ros
68869cb06d #20263: Fixing perf issue in DataMigrationManager
Work Item: 20263
2013-11-06 10:15:23 -08:00
Piotr Szmyd
d4d8e143cc #18911: Fixing wrapper alternates. Shape type within wrapper templates should always be equal to the original shape type.
Work Item: 18911
2013-11-05 05:41:06 +01:00
Piotr Szmyd
f567eb0ec4 #18911: Making wrappers normal shapes with alternates, lifetime events etc.
Work Item: 18911
2013-11-03 21:33:56 +01:00
Sebastien Ros
8fb93a8ecb #20252: Fixing Timer Activity expiration
Work Item: 20252
2013-11-01 12:17:41 -07:00
Sebastien Ros
2d4182bc85 #19873: Invalidating Media Profiles cache
Work Item: 19873
2013-11-01 12:16:19 -07:00
Sipke Schoorstra
89aa73d571 Fixing taxonomies autocomplete script error. 2013-11-01 13:36:38 +01:00
Daniel Stolt
3e20412ef0 Updating to Windows Azure SDK 2.2. 2013-10-28 22:18:46 +01:00
Sebastien Ros
78ae6ba28c Making UpdatedActivityModel serializable
It's used in TempData
2013-10-28 11:47:30 -07:00
Sebastien Ros
5c1b979192 Fixing media picker migration issue 2013-10-28 11:19:11 -07:00
Sebastien Ros
673ef2c0a5 #20239: Worflow local state
Work Item: 20239
2013-10-25 15:45:17 -07:00
Sebastien Ros
323daf641f Fixing SysCache version binding warning
SysCache must have been compile over a previous version.
2013-10-25 15:25:46 -07:00
agriffard
56c6d9dbf5 Simplify MediaLibraryPicker.Summary.cshtml 2013-10-25 22:52:23 +02:00
Sebastien Ros
8e8138f9dd #20167: Fixing default pad mode
Work Item: 20167
2013-10-25 12:57:25 -07:00
Sebastien Ros
804f8fe695 #19999: Fixing taxonomy field export with spaces in name
Work Item: 19999
2013-10-25 12:42:12 -07:00
Sebastien Ros
e61ff0901d Removing duplicated logger section 2013-10-25 12:33:39 -07:00
agriffard
cc36d50e60 Merge branch '1.7.x' of https://git01.codeplex.com/orchard into 1.7.x 2013-10-25 19:21:04 +02:00
agriffard
3deb14075d Reverting .sln 2013-10-25 19:18:12 +02:00
agriffard
25b6fcc1f7 Adding missing MediaLibraryPicker.Summary.cshtml 2013-10-25 19:13:07 +02:00
Sebastien Ros
8723dac8a0 #20024: Fixing Session State serialization in Workflows
Work Item: 20024
2013-10-25 09:44:33 -07:00
Sebastien Ros
266b92d7a0 Don't migrate Media Picker fields twice
When attached to a custom part, fields were migrated twice
2013-10-25 07:12:12 -07:00
agriffard
859b2316e9 #19952: MediaLibraryPicker Summary
Work Item: 19952
2013-10-25 15:53:47 +02:00
j3ffb
3e5c9cf951 #19570: TextField does not support the Required Attribute
Work Item: 19570
2013-10-25 15:46:37 +02:00
Eric McGrath
df60ed18f8 #20212: Fixing potential NREs in WrokflowManager
Work Item: 20212
2013-10-24 14:41:43 -07:00
Sebastien Ros
c7d2593382 #20218: Disambiguating media with same filename during upgrade
Work Item: 20218
2013-10-24 14:36:44 -07:00
Jimasp
5d06964983 #20159: Taxonomy auto-complete bug
Work Item: 20159
2013-10-24 11:23:40 -07:00
Sebastien Ros
16787ab807 #20228: Fixing image profiles cache key
Work Item: 20228
2013-10-24 09:32:22 -07:00
Sebastien Ros
fc715b59ef #20026: Making Custom Forms not draftable
Work Item: 20026
2013-10-23 16:18:36 -07:00
Sebastien Ros
fcae27240c #20183: Fixing custom form part shape property
Work Item: 20183
2013-10-23 16:09:00 -07:00
Sebastien Ros
103e71d42f #19896: Don't validate password inputs
Work Item: 19896
2013-10-23 15:49:32 -07:00
Sebastien Ros
d079d8aacd #19964: Don't cache media summaries
Work Item: 19964
2013-10-23 15:45:16 -07:00
Sebastien Ros
50fde29cae Removing extraneous alert() in media 2013-10-23 15:39:54 -07:00
Sebastien Ros
d74965fdd4 #20065: Fixing placement parsing
Work Item: 20065
2013-10-23 15:23:42 -07:00
Sebastien Ros
132535843b Adding missing change 2013-10-23 15:22:14 -07:00
Sebastien Ros
b19a89d1d2 #20178: Preventing SELECT N+1 in terms
Work Item: 20178
2013-10-23 15:12:39 -07:00
Sebastien Ros
d38d2d15c5 #20041: PageLayerHinting is disabled by default
Work Item: 20041
2013-10-23 15:01:40 -07:00
Sebastien Ros
59d89d2c09 #20006: Fixing infinite scrolling
Work Item: 20006
2013-10-23 14:58:37 -07:00
Sebastien Ros
78087005c5 #20002: Fixing lost terms after a taxonomy title is changed
Term type is no more changed as a content item can't have
his type changed. Users can still update the term type display
name.

Work Item: 20002
2013-10-23 12:31:19 -07:00
Sebastien Ros
b7efeb457c Fixing web.config file 2013-10-23 11:30:16 -07:00
Sebastien Ros
8fd502ecf5 #20225: Fixing taxonomy views missing using
Work Item: 20225
2013-10-23 11:06:48 -07:00
Sebastien Ros
11b8b90935 Validating archive route constraint 2013-10-21 17:09:57 -07:00
Sebastien Ros
a69087c7bf Fixing potential NRE in media profiles 2013-10-21 16:48:49 -07:00
Sebastien Ros
b43453a0f1 Fixing Layout zone detection in placement 2013-10-21 16:03:49 -07:00
Sebastien Ros
74fe95ddd9 Adding support for Tabs and Groups in placement
It provides a way to define groups in placement files,
which is necessary for fields (there is no current solution).

Tab is not yet used.
2013-10-21 15:28:37 -07:00
Lombiq
2d3145c754 #20194: Unneeded records from IndexingTaskRecord are cleaned up when saving a new record for the item
Work Item: 20194
2013-10-20 22:08:13 +02:00
Daniel Stolt
30f9d28fbc Merge branch '1.7.x' of https://git01.codeplex.com/orchard 2013-10-19 20:46:21 +02:00
Daniel Stolt
a37d4ef6e8 Adding project dependencies in Orchard.Web to all modules and themes to ensure they will be compiled before publishing Orchard.Web. 2013-10-19 20:45:56 +02:00
Sebastien Ros
b2761dcd13 #19967: Fixing Menu import/export
Work Item: 19967
2013-10-18 17:18:55 -07:00
Sebastien Ros
15e4e27c46 Optimizing user roles lazy loading 2013-10-18 17:18:46 -07:00
Sebastien Ros
2bdc29d8e9 #20219: Fixing spam notifications
Create(contentItem) actually publishes the content item.
Create(ci, VersionOptions.Draft) won't

Work Item: 20219
2013-10-18 16:00:55 -07:00
Sebastien Ros
0c9e4e1224 Fixing SELECT N+1 when listing blog archives
WORST SELECT N+1 EVER and it seems I wrote the code :/
2013-10-18 15:10:08 -07:00
Sebastien Ros
a62f0281eb Setting the default Par Color to empty
Otherwise transparency is lost on PNG files
2013-10-14 11:48:34 -07:00
Daniel Stolt
91d0048f27 Fixing publishing of Orchard.Web in Debug build configuration. 2013-10-14 00:38:56 +02:00
Volodymyr Usarskyy
2d95882e52 #20155: Replaced ApplicationException with OrchardException
Work Item: 20155
2013-10-11 15:48:07 -07:00
Volodymyr Usarskyy
e1fc329a75 EnableFeature: added code to throw meaningful exceptions if module dependencies not found 2013-10-11 15:45:24 -07:00
Sebastien Ros
5ea04ac0f0 #20203: Fixing Media Library project missing file
Work Item: 20203
2013-10-11 14:59:02 -07:00
Sebastien Ros
fe7f241fd6 Don't analyze the title when indexed
This is a technical value and thus shouldn't be analyzed.
2013-10-11 14:50:44 -07:00
Sebastien Ros
96cd45fdae Fixing start level in menu widget
When checking the Show Full Menu option
2013-10-10 15:42:06 -07:00
Daniel Stolt
4758056403 Removing obsolete Azure deployment files. 2013-10-11 00:23:34 +02:00
Sebastien Ros
964d56df70 Adding new Show Full Menu option in menu widget
Adding a way to display a menu without filtering its items base
on the currently displayed page.
2013-10-10 15:01:20 -07:00
Sebastien Ros
46c7ea5a92 Improving search API
Adding new methods to filter using greater/lower criteria
2013-10-10 15:01:19 -07:00
Daniel Stolt
9549dd6c29 Fixed issue in Orchard.proj that erroneously excluded Azure role content folders from Orchard.Source.1.7.1.zip. 2013-10-10 23:41:02 +02:00
Sebastien Ros
1e3b56fb15 Increase request timeout for Setup
When running long recipes, the default asp.net request timeout length
might not be sufficient. Increasing to 10 minutes on this specific
request.
2013-10-09 15:27:06 -07:00
Sebastien Ros
2e60db7ee9 Updating hints for SSL 2013-10-09 14:57:35 -07:00
Sebastien Ros
555d122aaa Merge branch 'feature/ssl' into 1.7.x 2013-10-09 12:30:59 -07:00
Sebastien Ros
03f6d06f36 Invalidating SSL settings cache 2013-10-09 12:13:49 -07:00
Bertrand Le Roy
7abd20f9ec Caching done right 2013-10-09 11:52:07 -07:00
Sebastien Ros
3c094a2083 Fixing Taxonomy fields initialization
When used in autoroute with auto generation enabled
2013-10-09 09:49:29 -07:00
Bertrand Le Roy
5166c16c73 Shifting settings. Settings are now saved into the infoset rather than a record. No migration, no record. 2013-10-08 21:50:02 -07:00
Sebastien Ros
6b16680205 #20195: Hiding Setup recipes from
In the Recipes tabl of the Module feature

Work Item: 20195
2013-10-08 17:34:47 -07:00
Sebastien Ros
3aeed0ff0f #19934: Fixing taxonomy fields usage in autoroute
The Loaded event was not called when creating a new content item, hence
the lazy loader was not initialized

Work Item: 19934
2013-10-08 17:11:00 -07:00
Sebastien Ros
dd852c3317 #20085: Fixing output cache control strategy
FileResult actions were incorrectly cached

Work Item: 20085
2013-10-08 11:47:09 -07:00
Bertrand Le Roy
f7998bc95c SSL module brought into the core distribution 2013-10-07 21:30:20 -07:00
Jay Harris
094e6d370d ContentPermissions editor was displaying Publish permissions under the Edit column header, and Edit permissions under the Publish column header. Fixed. 2013-10-07 17:13:06 -07:00
Jay Harris
a04ff1bda0 Update ContentPermissions authorization check to include Implied permissions. Example: Contexts might be for EditPage, not for EditContent. 2013-10-07 17:13:05 -07:00
Jay Harris
fe9cd9b109 Update Dynamic permissions to cascade (ImpliedBy) from base permissions. 2013-10-07 17:13:04 -07:00
csadnt
c7a524536a Bad 'Content' directives for assemblyInfo.cs files in these modules 2013-10-07 16:58:52 -07:00
Volodymyr Usarskyy
33648208f3 Preventing NRE in Text.cs
When WorkContext.Current is null
2013-10-07 16:55:27 -07:00
Stanley Goldman
4c16256245 #20287: Checking if layoutIndexValue is != -1
WorkItem: 20187
2013-10-07 16:52:37 -07:00
Stanley Goldman
17f6c975ef #20188: Adding Import/Export to TaxonomyNavigationPartDriver
WorkItem: 20188
2013-10-07 16:49:19 -07:00
Bertrand Le Roy
fec758bb5c Avoiding select n+1 when comments shapes are hidden from a list. 2013-10-07 12:39:01 -07:00
Sebastien Ros
42ab42e6e2 Caching media profile queries 2013-10-04 17:05:27 -07:00
Sebastien Ros
56bed398f4 Updating Eager Fetch to use records instead of parts 2013-10-03 14:39:50 -07:00
Sebastien Ros
a954b9c0e2 Adding default indexes 2013-10-03 11:44:33 -07:00
Sebastien Ros
1235f226d3 Implementing eager fetching for Hql queries 2013-10-03 11:22:02 -07:00
Lombiq
840975e6b4 #20098: Extension build errors are now logged
Work Item: 20098
2013-10-03 12:50:24 +02:00
Sebastien Ros
dfd6e0985e Fixing potential NRE in transaction manager 2013-10-02 17:58:07 -07:00
Sebastien Ros
5e93dfa190 Incremental work on update media 2013-10-02 17:39:49 -07:00
Lombiq
61b614a0bb #20157: Changing OutputCache to use absolute expiration instead of sliding expiration
Work Item: 20157
2013-10-02 22:11:24 +02:00
Piotr Szmyd
77e5657f26 #19772: Fixed e-mail activity form validation.
Work Item: 19772
2013-09-29 22:57:08 +02:00
Piotr Szmyd
c1ad9f7869 #20166: Fixing typo in EmailActivity that prevents sending e-mails to current user.
Work Item: 20166
2013-09-29 22:32:59 +02:00
Sebastien Ros
d0dd41bb17 #20162: Fixing list of disallowed chars in thumbnails
Work Item: 20162
2013-09-27 10:12:55 -07:00
Sebastien Ros
db350d87a0 Fixing wrong reference to SSL module 2013-09-27 10:12:14 -07:00
Vladimir Makaev
70d49755f3 #20146: Projections: InBetween for offset dates is incorrectly handing values
Work Item: 20146
2013-09-25 17:42:38 -07:00
Sebastien Ros
b8ebd5124e Preparing the project to support SSL access 2013-09-25 17:36:21 -07:00
Sebastien Ros
d920b164e0 Implementing media search 2013-09-25 16:41:44 -07:00
Benedek Farkas
790cb94d5b #20033: Fixing that SearchService should filter based on CurrentCultre instead of SiteCulture
Work Item: 20033
2013-09-24 23:26:38 +02:00
Piotr Szmyd
a65a41a065 #20150: Fixing possible NullReferenceExceptions after resuming a paused workflow.
Work Item: 20150
2013-09-24 23:16:03 +02:00
Sebastien Ros
a45d4b29d9 Fixing taxonomy navigation 2013-09-24 10:34:14 -07:00
Sebastien Ros
2f45a02a1f Patching the nhibernate build 2013-09-24 10:32:58 -07:00
jao28
179e1e4cb0 #20111: Unpublish off Admin Search Error
Work Item: 20111
2013-09-24 13:38:08 +02:00
Piotr Szmyd
fe9ff1fcf3 Merge remote-tracking branch 'origin/1.7.x' into 1.x 2013-09-22 18:08:53 +02:00
Piotr Szmyd
5f52748341 #20132: Updated NHibernate to 3.3.3 SP1
Work Item: 20132
2013-09-22 17:43:59 +02:00
Sebastien Ros
be72ed5709 Merge branch '1.7.x' into 1.x 2013-09-17 11:01:29 -07:00
Sipke Schoorstra
6085d8cb15 Implementing a consistent usage of 'text', 'text small', 'text medium' and 'text large'.
Yes, it's the little things in life.
2013-09-14 16:00:42 -07:00
Sipke Schoorstra
3a4341b1b1 Consistifying text input classses to 'text', 'text small', 'text medium' and 'text large'.
We'll leave the other, deprecated classes for now and eventually clean up (i.e. when TheAdmin gets revamped).
2013-09-14 15:23:55 -07:00
493 changed files with 75321 additions and 46460 deletions

3
.gitignore vendored
View File

@@ -181,3 +181,6 @@ src/Orchard.Web/Orchard.Web.Publish.xml
src/TestResults/*
src/Orchard.Web/Properties/PublishProfiles
src/Orchard.Azure/Orchard.Azure.CloudService/Staging/
#enable all /lib artifacts
!lib/*/*.*

View File

@@ -1,142 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Initialization -->
<PropertyGroup>
<LibFolder>$(MSBuildProjectDirectory)\lib</LibFolder>
<SrcFolder>$(MSBuildProjectDirectory)\src</SrcFolder>
<BuildFolder>$(MSBuildProjectDirectory)\buildazure</BuildFolder>
<ArtifactsFolder>$(MSBuildProjectDirectory)\artifacts\Azure</ArtifactsFolder>
<StageFolder>$(BuildFolder)\Stage</StageFolder>
<CloudRootFolder>$(SrcFolder)\Orchard.Azure\Orchard.Azure.Web\obj\Release</CloudRootFolder>
<MsDeployFolder>$(CloudRootFolder)\Package\PackageTmp</MsDeployFolder>
</PropertyGroup>
<Import Project="$(LibFolder)\msbuild\MSBuild.Community.Tasks.Targets"/>
<!-- look for C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Windows Azure Tools -->
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\Windows Azure Tools\2.0\Microsoft.WindowsAzure.targets" Condition="exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\Windows Azure Tools\2.0\Microsoft.WindowsAzure.targets')"/>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v11.0\Windows Azure Tools\2.0\Microsoft.WindowsAzure.targets" Condition="exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v11.0\Windows Azure Tools\2.0\Microsoft.WindowsAzure.targets')"/>
<!-- Coordinating Targets -->
<Target Name ="Build">
<CallTarget Targets="Clean"/>
<CallTarget Targets="Compile"/>
<CallTarget Targets="Test"/>
<CallTarget Targets="Package"/>
</Target>
<Target Name ="CIBuild">
<CallTarget Targets="Clean"/>
<CallTarget Targets="Compile"/>
<CallTarget Targets="Package"/>
</Target>
<Target Name="Package">
<CallTarget Targets="Package-ForCloud"/>
<CallTarget Targets="Package-SqlCe" />
<CallTarget Targets="Package-Stage"/>
<CallTarget Targets="Package-Zip"/>
</Target>
<!-- Building -->
<Target Name="Clean">
<MSBuild Projects="$(SrcFolder)\Orchard.Azure\Orchard.Azure.sln" Targets="Clean" />
<RemoveDir Directories="$(BuildFolder)" ContinueOnError="true" />
<RemoveDir Directories="$(MsDeployFolder)" ContinueOnError="true" />
</Target>
<Target Name ="Compile">
<!-- behaves like MsDeploy since Azure SDK 1.4, output is $(MsDeployFolder) -->
<MSBuild
Projects="$(SrcFolder)\Orchard.Azure\Orchard.Azure.sln"
Targets="Build"
Properties="Configuration=Release;DeployOnBuild=true;DeployTarget=Package;Platform=Any CPU"
/>
<MSBuild
Projects="$(SrcFolder)\Orchard.Azure.Tests\Orchard.Azure.Tests.sln"
Targets="Build"
Properties="Configuration=Release;OutputPath=$(CloudRootFolder)\Tests;Platform=Any CPU"
/>
</Target>
<!-- Testing - Azure only -->
<Target Name ="Test">
<CreateItem Include="$(CloudRootFolder)\Tests\*Azure.Tests.*dll">
<Output TaskParameter="Include" ItemName="TestAssemblies" />
</CreateItem>
<NUnit Assemblies="@(TestAssemblies)" ToolPath="$(LibFolder)\nunit" WorkingDirectory="$(MsDeployFolder)\bin" />
</Target>
<!-- Packaging -->
<Target Name="Package-ForCloud">
<ItemGroup>
<!-- filter to exclude any binary from a folder -->
<Excluded Include="$(SrcFolder)\**\bin\**\*;$(SrcFolder)\**\obj\**\*;$(SrcFolder)\**\*.user; $(SrcFolder)\**\*.cs;$(SrcFolder)\**\*.csproj;$(SrcFolder)\**\.hg\**\*" />
<!-- list of files from Themes, Core and Modules to export -->
<Stage-Themes Include="$(SrcFolder)\Orchard.Web\Themes\**\*" Exclude="@(Excluded)" />
<Stage-Core Include="$(SrcFolder)\Orchard.Web\Core\**\*" Exclude="@(Excluded)" />
<Stage-Modules Include="$(SrcFolder)\Orchard.Web\Modules\**\*" Exclude="@(Excluded)" />
</ItemGroup>
<Copy SourceFiles="@(Stage-Themes)" DestinationFolder="$(MsDeployFolder)\Themes\%(RecursiveDir)" />
<Copy SourceFiles="@(Stage-Core)" DestinationFolder="$(MsDeployFolder)\Core\%(RecursiveDir)" />
<Copy SourceFiles="@(Stage-Modules)" DestinationFolder="$(MsDeployFolder)\Modules\%(RecursiveDir)" />
<ItemGroup>
<WebConfigs Include="$(MsDeployFolder)\Modules\*\web.config;$(MsDeployFolder)\Core\web.config" />
</ItemGroup>
<Delete Files="@(WebConfigs)" />
<Copy
SourceFiles="$(SrcFolder)\Orchard.Azure\Orchard.Azure.CloudService\ServiceConfiguration.cscfg"
DestinationFolder="$(StageFolder)"
/>
<Copy
SourceFiles="$(SrcFolder)\Orchard.Azure\Orchard.Azure.CloudService\Properties.txt"
DestinationFolder="$(CloudRootFolder)"
/>
</Target>
<Target Name="Package-SqlCe">
<ItemGroup>
<SqlCeBinariesx86 Include="$(LibFolder)\sqlce\x86\**\*" />
<SqlCeBinariesx64 Include="$(LibFolder)\sqlce\amd64\**\*" />
</ItemGroup>
<Copy SourceFiles="@(SqlCeBinariesx86)" DestinationFolder="$(MsDeployFolder)\bin\x86\%(RecursiveDir)" SkipUnchangedFiles="true" />
<Copy SourceFiles="@(SqlCeBinariesx64)" DestinationFolder="$(MsDeployFolder)\bin\amd64\%(RecursiveDir)" SkipUnchangedFiles="true" />
</Target>
<Target Name="Package-Stage">
<Exec
Command="&quot;$(ServiceHostingSDKBinDir)cspack&quot; &quot;$(SrcFolder)\Orchard.Azure\Orchard.Azure.CloudService\ServiceDefinition.csdef&quot; /role:Orchard.Azure.Web;&quot;$(MsDeployFolder)&quot;;Orchard.Azure.Web.dll /sites:Orchard.Azure.Web;Web;&quot;$(MsDeployFolder)&quot; /rolePropertiesFile:Orchard.Azure.Web;&quot;$(CloudRootFolder)\Properties.txt&quot; /out:&quot;$(StageFolder)\Orchard.Azure.Web.cspkg&quot;"
WorkingDirectory="$(MsDeployFolder)"
/>
</Target>
<Target Name="Package-Zip">
<ItemGroup>
<Zip-Stage Include="$(StageFolder)\ServiceConfiguration.cscfg;$(StageFolder)\Orchard.Azure.Web.cspkg" />
</ItemGroup>
<MakeDir Directories="$(ArtifactsFolder)" />
<Zip Files="@(Zip-Stage)" WorkingDirectory="$(StageFolder)" ZipFileName="$(ArtifactsFolder)\AzurePackage.zip" />
</Target>
</Project>

View File

@@ -1,32 +0,0 @@
if "%WindowsSdkDir%" neq "" goto build
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" goto initialize2k8on64
if exist "%ProgramFiles%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" goto initialize2k8
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" goto initialize2k8on64Dev11
if exist "%ProgramFiles%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" goto initialize2k8Dev11
echo "Unable to detect suitable environment. Build may not succeed."
goto build
:initialize2k8
call "%ProgramFiles%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
goto build
:initialize2k8on64
call "%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
goto build
:initialize2k8Dev11
call "%ProgramFiles%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86
goto build
:initialize2k8on64Dev11
call "%ProgramFiles(x86)%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86
goto build
:build
msbuild /t:Build AzurePackage.proj
pause
goto end
:end

View File

@@ -290,6 +290,7 @@
</Target>
<Target Name="Package-Zip">
<ItemGroup>
<Zip-Exclude Include="
$(MSBuildProjectDirectory)\src\**\bin\**\*;
$(MSBuildProjectDirectory)\src\**\obj\**\*;
@@ -302,7 +303,7 @@
$(MSBuildProjectDirectory)\**\*.hgignore;
$(MSBuildProjectDirectory)\**\*.hg*\**\*;
$(LibFolder)\nunit\addins\**\*;
" />
" Exclude="$(MSBuildProjectDirectory)\src\Orchard.Azure\Orchard.Azure.CloudService\*Content\**\*" />
<Zip-Stage Include="$(StageFolder)\**\*" />

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -8,20 +8,20 @@
<summary>Used to configure cache diagnostics.</summary>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.AzureCommon.CacheDiagnostics.ConfigureDiagnostics(Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfiguration)">
<summary>Configures cache diagnostics using the specified diagnostic monitor configuration. This uses the diagnostic configuration setting to update any dynamic changes.</summary>
<summary>Configures cache diagnostics using the specified diagnostic monitor configuration.</summary>
<returns>Returns <see cref="T:Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfiguration" />.</returns>
<param name="diagnosticMonitorConfig">DiagnosticMonitorConfiguration object used to start the diagnostic service.</param>
<param name="diagnosticMonitorConfig">A DiagnosticMonitorConfiguration object that provides a custom initial configuration.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.AzureCommon.CacheDiagnostics.ConfigureDiagnostics(System.String,Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfiguration)">
<summary>Configures cache diagnostics using the specified diagnostic monitor configuration. This uses the diagnostic configuration setting to update any dynamic changes.</summary>
<summary>Configures cache diagnostics using the specified diagnostic monitor configuration.</summary>
<returns>Returns <see cref="T:Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfiguration" />.</returns>
<param name="diagnosticsStorageAccountConfigurationSettingName">Connection string to the storage account that stores the diagnostic monitor configuration in the wad-control-container blob.</param>
<param name="diagnosticMonitorConfig">DiagnosticMonitorConfiguration object used to start the diagnostic service.</param>
<param name="diagnosticsStorageAccountConfigurationSettingName">The name of a configuration setting that provides a connection string to a storage account.</param>
<param name="diagnosticMonitorConfig">A DiagnosticMonitorConfiguration object that provides a custom initial configuration.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.AzureCommon.CacheDiagnostics.ConfigureMemcacheShimCrashDumps(Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfiguration)">
<summary>Configures memcache shim diagnostics using the specified diagnostic monitor configuration.</summary>
<returns>Returns <see cref="T:Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfiguration" />.</returns>
<param name="diagnosticMonitorConfig">DiagnosticMonitorConfiguration object used to start the diagnostic service.</param>
<param name="diagnosticMonitorConfig">A DiagnosticMonitorConfiguration object that provides a custom initial configuration.</param>
</member>
</members>
</doc>

View File

@@ -4,133 +4,139 @@
<name>Microsoft.ApplicationServer.Caching.Client</name>
</assembly>
<members>
<member name="T:Microsoft.ApplicationServer.Caching.CacheOperationCompletedEventArgs"></member>
<member name="T:Microsoft.ApplicationServer.Caching.CacheOperationCompletedEventArgs"><summary>Internal.</summary></member>
<member name="P:Microsoft.ApplicationServer.Caching.CacheOperationCompletedEventArgs.ExceptionObject">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Exception" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.CacheOperationCompletedEventArgs.HasSucceeded">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Boolean" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.CacheOperationCompletedEventArgs.OperationContext">
<summary>Internal.</summary>
<returns>Returns <see cref="T:Microsoft.ApplicationServer.Caching.CacheOperationContext" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.CacheOperationCompletedEventArgs.OperationType">
<summary>Internal.</summary>
<returns>Returns <see cref="T:Microsoft.ApplicationServer.Caching.CacheOperationType" />.</returns>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.CacheOperationContext"></member>
<member name="T:Microsoft.ApplicationServer.Caching.CacheOperationStartedEventArgs"></member>
<member name="T:Microsoft.ApplicationServer.Caching.CacheOperationContext"><summary>Internal.</summary></member>
<member name="T:Microsoft.ApplicationServer.Caching.CacheOperationStartedEventArgs"><summary>Internal.</summary></member>
<member name="P:Microsoft.ApplicationServer.Caching.CacheOperationStartedEventArgs.OperationContext">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Object" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.CacheOperationStartedEventArgs.OperationType">
<summary>Internal.</summary>
<returns>Returns <see cref="T:Microsoft.ApplicationServer.Caching.CacheOperationType" />.</returns>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.CacheOperationType"></member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Add">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.AsyncGet">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.BulkGet">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.ClearCache">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.ClearRegion">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Concatenate">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.ContainsKey">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.CreateRegion">
<summary />
<member name="T:Microsoft.ApplicationServer.Caching.CacheOperationType"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Unknown">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Get">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.GetAllKeys">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.GetAndLock">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.GetCacheItem">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.GetIfNewer">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Increment">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.LockedRemove">
<summary />
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Put">
<summary />
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.PutAndUnlock">
<summary />
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Add">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.BulkGet">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Remove">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.RemoveRegion">
<summary />
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.ResetObjectTimeout">
<summary />
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Unknown">
<summary />
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.GetIfNewer">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.GetAndLock">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.PutAndUnlock">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Unlock">
<summary />
<summary>Internal.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCacheBulkGetLatencyBaseCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCacheBulkGetLatencyCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCacheGetLatencyBaseCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCacheGetLatencyCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCachePutLatencyBaseCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCachePutLatencyCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageNetworkLatencyBaseCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageNetworkLatencyCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.CounterCategoryHelp"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.CounterCategoryName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.LockedRemove">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.GetCacheItem">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.CreateRegion">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.RemoveRegion">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.ClearRegion">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.AsyncGet">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.ClearCache">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Increment">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.Concatenate">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.ContainsKey">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.CacheOperationType.GetAllKeys">
<summary>Internal.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCacheBulkGetLatencyBaseCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCacheBulkGetLatencyCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCacheGetLatencyBaseCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCacheGetLatencyCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCachePutLatencyBaseCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageCachePutLatencyCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageNetworkLatencyBaseCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.AverageNetworkLatencyCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.CounterCategoryHelp"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.CounterCategoryName"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.Dispose">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.FailureExceptionRate"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.IncomingDataRateCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.NetworkExceptionRate"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.OutgoingDataRateCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.PercentageLocalCacheFullBaseCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.PercentageLocalCacheFullCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.PercentageLocalCacheHitsBaseCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.PercentageLocalCacheHitsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.RequestPerSecondCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.RetryExceptionRateCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.ServerResponseDroppedCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TimeoutExceptionRateCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalConnectionRequestsFailedCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalConnectionsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalFailureExceptionsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalItemsInLocalCacheCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalLocalCacheHitsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalNetworkExceptionsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalNotificationsReceivedCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalOutstandingRequestsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalReadsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalRequestsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalRetryExceptionsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalTimeoutExceptionsCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalWritesCounterName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.FailureExceptionRate"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.IncomingDataRateCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.NetworkExceptionRate"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.OutgoingDataRateCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.PercentageLocalCacheFullBaseCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.PercentageLocalCacheFullCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.PercentageLocalCacheHitsBaseCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.PercentageLocalCacheHitsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.RequestPerSecondCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.RetryExceptionRateCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.ServerResponseDroppedCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TimeoutExceptionRateCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalConnectionRequestsFailedCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalConnectionsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalFailureExceptionsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalItemsInLocalCacheCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalLocalCacheHitsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalNetworkExceptionsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalNotificationsReceivedCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalOutstandingRequestsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalReadsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalRequestsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalRetryExceptionsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalTimeoutExceptionsCounterName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ClientPerformanceCounters.TotalWritesCounterName"><summary>Internal.</summary></member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCache">
<summary>The object that is used by cache-enabled applications for storing and retrieving objects from the cache. An instance of this object is referred to as the cache client.</summary>
</member>
@@ -149,20 +155,20 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Add(System.String,System.Object)">
<summary>Adds an object to the cache.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">A unique value that is used to store and retrieve the object from the cache. Key names must be less than 65 KB.</param>
<param name="key">A unique value that is used to store and retrieve the object from the cache.</param>
<param name="value">The object saved to the cache.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Add(System.String,System.Object,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag})">
<summary>Adds an object to the cache. This method enables associating tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">A unique value that is used to store and retrieve the object from the cache. Key names must be less than 65 KB.</param>
<param name="key">A unique value that is used to store and retrieve the object from the cache.</param>
<param name="value">The object saved to the cache.</param>
<param name="tags">An array of <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheTag" /> objects to associate with the cached object.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Add(System.String,System.Object,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag},System.String)">
<summary>Adds an object to a region in the cache. This method enables association of tags with objects in the cache. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">A unique value that is used to store and retrieve the object from the cache. Key names must be less than 65 KB.</param>
<param name="key">A unique value that is used to store and retrieve the object from the cache.</param>
<param name="value">The object saved to the cache.</param>
<param name="tags">An array of <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheTag" /> objects to associate with the cached object.</param>
<param name="region">The name of the region to save the object in.</param>
@@ -170,21 +176,21 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Add(System.String,System.Object,System.String)">
<summary>Adds an object to a region in the cache. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">A unique value that is used to store and retrieve the object from the cache. Key names must be less than 65 KB.</param>
<param name="key">A unique value that is used to store and retrieve the object from the cache.</param>
<param name="value">The object saved to the cache.</param>
<param name="region">The name of the region to save the object in.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Add(System.String,System.Object,System.TimeSpan)">
<summary>Adds an object to the cache. This method provides the ability to specify when the object should be expired.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">A unique value that is used to store and retrieve the object from the cache. Key names must be less than 65 KB.</param>
<param name="key">A unique value that is used to store and retrieve the object from the cache.</param>
<param name="value">The object saved to the cache.</param>
<param name="timeout">The amount of time the object should reside in the cache before expiration.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Add(System.String,System.Object,System.TimeSpan,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag})">
<summary>Adds an object to the cache. This method enables associating tags with the cached object and specifying when the object should be expired. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">A unique value that is used to store and retrieve the object from the cache. Key names must be less than 65 KB.</param>
<param name="key">A unique value that is used to store and retrieve the object from the cache.</param>
<param name="value">The object saved to the cache.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
<param name="tags">An array of <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheTag" /> objects to associate with the cached object.</param>
@@ -192,7 +198,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Add(System.String,System.Object,System.TimeSpan,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag},System.String)">
<summary>Adds an object to a region in the cache. This method enables associating tags with the cached object and specifying when the object should be expired. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">A unique value that is used to store and retrieve the object from the cache. Key names must be less than 65 KB.</param>
<param name="key">A unique value that is used to store and retrieve the object from the cache.</param>
<param name="value">The object saved to the cache.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
<param name="tags">An array of <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheTag" /> objects to associate with the cached object.</param>
@@ -201,7 +207,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Add(System.String,System.Object,System.TimeSpan,System.String)">
<summary>Adds an object to a region in the cache. This method provides the ability to specify when the object should be expired. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" />object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">A unique value that is used to store and retrieve the object from the cache. Key names must be less than 65 KB.</param>
<param name="key">A unique value that is used to store and retrieve the object from the cache.</param>
<param name="value">The object saved to the cache.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
<param name="region">The name of the region to save the object.</param>
@@ -282,7 +288,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.CreateRegion(System.String)">
<summary>Creates a region. Not supported in Windows Azure Shared Caching.</summary>
<returns>Returns a<see cref="T:System.Boolean" /> value..</returns>
<param name="region">The name of the region that is created. Region names must be less than 65 KB.</param>
<param name="region">The name of the region that is created.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Decrement(System.String,System.Int64,System.Int64)">
<summary>Decrements a long value stored in the cache.</summary>
@@ -449,20 +455,20 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object)">
<summary>Adds or replaces an object in the cache.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">The unique value that is used to identify the object in the cache. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the cache.</param>
<param name="value">The object to add or replace.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,Microsoft.ApplicationServer.Caching.DataCacheItemVersion)">
<summary>Adds or replaces an object in the cache if it is at the specified version.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the cache. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the cache.</param>
<param name="value">The object to add or replace.</param>
<param name="oldVersion">The <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the cached object that is to be replaced.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,Microsoft.ApplicationServer.Caching.DataCacheItemVersion,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag})">
<summary>Adds or replaces an object in the cache if it is at the specified version. Associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the cache. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the cache.</param>
<param name="value">The object to add or replace.</param>
<param name="oldVersion">The <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the cached object that is to be replaced.</param>
<param name="tags">A list of tags to associate with the object.</param>
@@ -470,7 +476,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,Microsoft.ApplicationServer.Caching.DataCacheItemVersion,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag},System.String)">
<summary>Adds or replaces an object in the specified region if it is at the specified version. Associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the region. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the region.</param>
<param name="value">The object to add or replace.</param>
<param name="oldVersion">The <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the cached object that is to be replaced.</param>
<param name="tags">A list of tags to associate with the object.</param>
@@ -479,7 +485,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,Microsoft.ApplicationServer.Caching.DataCacheItemVersion,System.String)">
<summary>Adds or replaces an object in the specified region if it is at the specified version. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the region. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the region.</param>
<param name="value">The object to add or replace.</param>
<param name="oldVersion">The <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the cached object that is to be replaced.</param>
<param name="region">The name of the region the object resides in.</param>
@@ -487,7 +493,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,Microsoft.ApplicationServer.Caching.DataCacheItemVersion,System.TimeSpan)">
<summary>Adds or replaces an object in the cache if it is at the specified version. Specifies the timeout value of the cached object.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">The unique value that is used to identify the object in the region. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the region.</param>
<param name="value">The object to add or replace.</param>
<param name="oldVersion">The <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the cached object that is to be replaced.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
@@ -495,7 +501,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,Microsoft.ApplicationServer.Caching.DataCacheItemVersion,System.TimeSpan,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag})">
<summary>Adds or replaces an object in the cache if it is at the specified version. Specifies the timeout value and associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">The unique value that is used to identify the object in the cache. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the cache.</param>
<param name="value">The object to add or replace.</param>
<param name="oldVersion">The <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the cached object that is to be replaced.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
@@ -504,7 +510,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,Microsoft.ApplicationServer.Caching.DataCacheItemVersion,System.TimeSpan,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag},System.String)">
<summary>Adds or replaces an object in the specified region if it is at the specified version. Specifies the timeout value and associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">The unique value that is used to identify the object in the region. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the region.</param>
<param name="value">The object to add or replace.</param>
<param name="oldVersion">The <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the cached object that is to be replaced.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
@@ -514,7 +520,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,Microsoft.ApplicationServer.Caching.DataCacheItemVersion,System.TimeSpan,System.String)">
<summary>Adds or replaces an object in the specified region if it is at the specified version. Specifies the timeout value of the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the region. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the region.</param>
<param name="value">The object to add or replace.</param>
<param name="oldVersion">The <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the cached object that is to be replaced.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
@@ -523,14 +529,14 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag})">
<summary>Adds or replaces an object in the cache. Associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the key value.</returns>
<param name="key">The unique value that is used to identify the object in the cache. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the cache.</param>
<param name="value">The object to add or replace.</param>
<param name="tags">A list of tags to associate with the object.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag},System.String)">
<summary>Adds or replaces an object in the specified region. Associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the region. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the region.</param>
<param name="value">The object to add or replace.</param>
<param name="tags">A list of tags to associate with the object.</param>
<param name="region">The name of the region the object resides in.</param>
@@ -538,21 +544,21 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,System.String)">
<summary>Adds or replaces an object in the specified region. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the region. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the region.</param>
<param name="value">The object to add or replace.</param>
<param name="region">The name of the region the object resides in.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,System.TimeSpan)">
<summary>Adds or replaces an object in the cache. Specifies the timeout value of the cached object.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the cache. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the cache.</param>
<param name="value">The object to add or replace.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,System.TimeSpan,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag})">
<summary>Adds or replaces an object in the cache. Specifies the timeout value and associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the cache. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the cache</param>
<param name="value">The object to add or replace.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
<param name="tags">A list of tags to associate with the object.</param>
@@ -560,7 +566,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,System.TimeSpan,System.Collections.Generic.IEnumerable{Microsoft.ApplicationServer.Caching.DataCacheTag},System.String)">
<summary>Adds or replaces an object in the specified region. Specifies the timeout value and associates tags with the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">The unique value that is used to identify the object in the region. Key names must be less than 65 KB.</param>
<param name="key">The unique value that is used to identify the object in the region.</param>
<param name="value">The object to add or replace.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
<param name="tags">A list of tags to associate with the object.</param>
@@ -569,7 +575,7 @@
<member name="M:Microsoft.ApplicationServer.Caching.DataCache.Put(System.String,System.Object,System.TimeSpan,System.String)">
<summary>Adds or replaces an object in the specified region. Specifies the timeout value of the cached object. This overload is not supported in Windows Azure Shared Caching.</summary>
<returns>A <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheItemVersion" /> object that represents the version of the object saved to the cache under the <paramref name="key" /> value.</returns>
<param name="key">Adds or replaces an object in the specified region. Specifies the timeout value of the cached object. Key names must be less than 65 KB.</param>
<param name="key">Adds or replaces an object in the specified region. Specifies the timeout value of the cached object.</param>
<param name="value">The object to add or replace.</param>
<param name="timeout">The amount of time that the object should reside in the cache before expiration.</param>
<param name="region">The name of the region the object resides in.</param>
@@ -723,16 +729,16 @@
<param name="region">The name of the region where the object resides.</param>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheAutoDiscoverProperty">
<summary>Specifies whether automatic discovery is enabled for the role or endpoint that hosts Windows Azure Caching.</summary>
<summary>Specifies whether automatic discovery is enabled for the role that hosts Windows Azure Caching.</summary>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCacheAutoDiscoverProperty.#ctor(System.Boolean)">
<summary>Creates a new DataCacheAutoDiscoverProperty object.</summary>
<param name="enable">A value of true enables automatic discovery.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCacheAutoDiscoverProperty.#ctor(System.Boolean,System.String)">
<summary>Creates a new DataCacheAutoDiscoverProperty object; specifies the web role, worker role or endpoint that hosts Caching.</summary>
<summary>Creates a new DataCacheAutoDiscoverProperty object; specifies the web or worker role that hosts Caching.</summary>
<param name="enable">A value of true enables automatic discovery.</param>
<param name="identifier">The name of the web role, worker role or endpoint that hosts Caching in the cloud service deployment.</param>
<param name="identifier">The name of the web or worker role that hosts Caching in the cloud service deployment.</param>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheBulkNotificationCallback">
<summary>Specifies a callback which is called with a list of cache operations. Not supported in Windows Azure Shared Caching.</summary>
@@ -773,7 +779,7 @@
<param name="clientName">The name of the cache client. If the application configuration file specifies multiple named dataCacheClient sections, this parameter can be used to specify which dataCacheClient section to use.</param>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.AutoDiscoverProperty">
<summary>Specifies whether automatic discovery is enabled for the role or endpoint that hosts Windows Azure Caching.</summary>
<summary>Specifies whether automatic discovery is enabled for the role that hosts Windows Azure Caching.</summary>
<returns>Returns <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheAutoDiscoverProperty" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.CacheReadyRetryPolicy">

View File

@@ -4,12 +4,14 @@
<name>Microsoft.ApplicationServer.Caching.Core</name>
</assembly>
<members>
<member name="T:Microsoft.ApplicationServer.Caching.AddUserState"></member>
<member name="M:Microsoft.ApplicationServer.Caching.AddUserState.#ctor"></member>
<member name="T:Microsoft.ApplicationServer.Caching.AddUserState"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.AddUserState.#ctor"><summary>Internal.</summary></member>
<member name="P:Microsoft.ApplicationServer.Caching.AddUserState.NewLogOn">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Boolean" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.AddUserState.NewUser">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Boolean" />.</returns>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.BaseOperationNotification">
@@ -105,14 +107,14 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCacheAlreadyPresent">
<summary>The named cache already exists in the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCacheConfigWriteError"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCacheConfigWriteError"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCacheCreationInconsistencyFailure">
<summary>The named cache could not be created due to a detected inconsistency in the configuration store.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCacheNotPresent">
<summary>The specified named cache does not exist in the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCancelShutdownError"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCancelShutdownError"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminClusterDown">
<summary>The cache cluster is not running.</summary>
</member>
@@ -122,14 +124,14 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminClusterRefreshFailed">
<summary>The cache cluster experienced an error while attempting to refresh the list of cache hosts on all of the cache hosts.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminClusterSettingsNotProvided"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminClusterSettingsNotProvided"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminClusterSettingsReadError">
<summary>An error occurred attempting to read the configuration store provider name and connection string from the registry.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminClusterTimeout">
<summary>A Cache Administration timeout occurred.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCommandNotAllowed"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminCommandNotAllowed"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminConfigAddHostError">
<summary>An error occurred attempt to add a cache host to the cache cluster configuration store.</summary>
</member>
@@ -145,52 +147,52 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminGrantClientAccountErrorFormat">
<summary>An error occurred attempting to add an account to the allowed client accounts list.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostConfigWriteError"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostConfigWriteError"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostNameResolveFailure">
<summary>The name 'localhost' is unable to be resolved to the current host name.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostNotPresent">
<summary>The specified cache host is not part of the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostNotReachable"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostNotReachable"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostNotRunning">
<summary>The specified cache host is not currently running.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostOperationError"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostOperationError"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostRefreshFailed">
<summary>The cache cluster experienced an error while attempting to refresh the list of cache hosts on each of the specified cache host.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostRunning">
<summary>The specified cache host is already in the running state.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostsNotReachable"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostsNotReachable"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostsNotRunning">
<summary>No cache hosts are running in the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminHostsRunning">
<summary>One or more cache hosts are running in the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminIncompatibleExpirationParameters"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminIncompleteParameters"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminIncompatibleExpirationParameters"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminIncompleteParameters"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInstallPathReadError">
<summary>An error occurred reading the installation path from the registry.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidCacheName"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidCacheName"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidClusterSettings">
<summary>The specified provider string or connection string is invalid. </summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidOperation">
<summary>The specified operation is invalid.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidParameters"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidParametersForHost"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidParameters"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidParametersForHost"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminInvalidSecuritySettings">
<summary>The specified security settings are invalid.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminMaxCachesCreated">
<summary>The specified named cache cannot be created, because the cache cluster has reached the maximum number of named caches.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminMinSecondariesOutOfBounds"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminMinSecondariesOutOfBounds"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminNoHosts">
<summary>There are no cache hosts in the cache cluster.</summary>
</member>
@@ -200,17 +202,17 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminNoSeedNodes">
<summary>There are no seed nodes present in the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminNoValuesProvided"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminNoValuesProvided"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminNullArgs">
<summary>A required argument is null.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminNullProviderSettingsKey"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminOperationError"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminOperationNotSupported"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminNullProviderSettingsKey"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminOperationError"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminOperationNotSupported"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminPortsDuplicated">
<summary>One or more port numbers have duplicate values.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminProviderTypeUnspecified"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminProviderTypeUnspecified"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminQuorumNotUp">
<summary>The required quorum of hosts is not running.</summary>
</member>
@@ -226,9 +228,9 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminRevokeClientAccountErrorFormat">
<summary>An error occurred attempting to remove an account from the list of allowed client accounts.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminShutdownInProgress"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminShutdownNotInProgress"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminShutdownNotPossible"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminShutdownInProgress"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminShutdownNotInProgress"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminShutdownNotPossible"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheAdminStatsIncorrect">
<summary>The returned status information might be incorrect, because one or more cache hosts could not be reached.</summary>
</member>
@@ -256,11 +258,8 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheItemVersionMismatch">
<summary>The object in the cache does not match with the specified version.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheRedirected"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CcrUnhandledException"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ChannelAuthenticationFailed">
<summary>Unable to establish an SSL channel.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CacheRedirected"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.CcrUnhandledException"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ClientServerVersionMismatch">
<summary>The cache client assemblies are a different version than the cache host assemblies.</summary>
</member>
@@ -285,23 +284,23 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ConnectionTerminated">
<summary>The connection was terminated. This could be caused by server or network problems.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ConvertSimpleClient"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.DomainBlockedAccount"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.DuplicateServersSpecified"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ConvertSimpleClient"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.DomainBlockedAccount"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.DuplicateServersSpecified"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.GetComputerDomainError">
<summary>An error occurred while attempting to get the computer domain.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.HostAdditionFailureError">
<summary>An error occurred while attempting to add a cache host to the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.HostAlreadyPresent"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.HostAlreadyPresent"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.HostDeletionFailureError">
<summary>An error occurred while attempting to remove a host from the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.HostEntryNotFound">
<summary>The specified cache host entry was not found in the cache cluster configuration.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.IncompatibleExpirationParameters"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.IncompatibleExpirationParameters"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.IncompleteConnectionParameters">
<summary>The specified connection parameters are incomplete.</summary>
</member>
@@ -311,9 +310,6 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.InvalidArgument">
<summary>The argument is not valid.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.InvalidAutoDiscoverIdentifier">
<summary>AutoDiscover property is not valid.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.InvalidCacheLockHandle">
<summary>The specified lock handle is not valid.</summary>
</member>
@@ -330,7 +326,7 @@
<summary>The named cache count exceeded the maximum value.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.MessageLargerThanConfiguredSize">
<summary>The request failed because either the response or the request message was larger than configured message size in the transport properties.</summary>
<summary>The request failed because either the response or the request message was larger than the configured message size in the transport properties.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.NamedCacheDoesNotExist">
<summary>The named cache does not exist.</summary>
@@ -362,8 +358,8 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ObjectNotLocked">
<summary>The object is not locked.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.OffloadingWithXml"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.OperationNotSupported"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.OffloadingWithXml"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.OperationNotSupported"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.PermissionsError">
<summary>An error occurred while setting permissions on the cache cluster configuration.</summary>
</member>
@@ -373,10 +369,10 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.PortDuplicationError">
<summary>One or more ports have duplicate values.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ReadThroughProviderDidNotReturnResult"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ReadThroughProviderFailure"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ReadThroughProviderNotFound"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ReadThroughRegionDoesNotExist"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ReadThroughProviderDidNotReturnResult"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ReadThroughProviderFailure"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ReadThroughProviderNotFound"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.ReadThroughRegionDoesNotExist"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.RegionAlreadyExists">
<summary>The region already exists.</summary>
</member>
@@ -413,7 +409,7 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.SqlAuthenticationNotSupported">
<summary>SQL Server authentication is not permitted with the SQL Server provider for the cache cluster configuration store. Windows authentication must be used.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.StringTooLarge"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.StringTooLarge"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.TestConnectionFailed">
<summary>The test connection failed.</summary>
</member>
@@ -423,19 +419,15 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.UndefinedError">
<summary>An unknown error has occurred.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.UnsupportedOperationAttemptedOnPort">
<summary>The current operation is not supported on this port.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.UsageResourceNotFound"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorCode.UsageResourceNotFound"><summary>Internal.</summary></member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheErrorSubStatus">
<summary>Used to retrieve substatus codes for errors returned to the client.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorSubStatus.CacheServerUnavailable">
<summary>The primary cache server is unavailable.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorSubStatus.CacheUnderReconfiguration"></member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorSubStatus.CertificateRevocationServerOffline">
<summary>Unable to validate the SSL certificate.</summary>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorSubStatus.CacheUnderReconfiguration">
<summary>The cache cluster is being reconfigured.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheErrorSubStatus.InternalError">
<summary>An internal error has occurred.</summary>
@@ -675,15 +667,15 @@
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheObjectSerializerType">
<summary>An enumeration of the serialization types.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheObjectSerializerType.NetDataContractSerializer">
<summary>Items are serialized with a NetDataContractSerializer formatter. This is the default.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheObjectSerializerType.BinaryFormatter">
<summary>Items are serialized with a binary formatter.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheObjectSerializerType.CustomSerializer">
<summary>Items are serialized with a custom formatter.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheObjectSerializerType.NetDataContractSerializer">
<summary>Items are serialized with a NetDataContractSerializer formatter. This is the default.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheOperationDescriptor">
<summary>Represents a notification event for operations performed against the cache, such as Add or Remove.</summary>
</member>
@@ -713,33 +705,33 @@
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.AddItem">
<summary>Indicates that an object was added to the cache.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.ClearRegion">
<summary>Indicates that a region in the cache was cleared with the <see cref="M:Microsoft.ApplicationServer.Caching.DataCache.ClearRegion(System.String)" /> method.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.CreateRegion">
<summary>Indicates that a region in the cache was created with the <see cref="M:Microsoft.ApplicationServer.Caching.DataCache.CreateRegion(System.String,System.Boolean)" /> method. </summary>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.ReplaceItem">
<summary>Indicates that an object was replaced in the cache. </summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.RemoveItem">
<summary>Indicates that an object was removed from the cache. </summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.CreateRegion">
<summary>Indicates that a region in the cache was created with the <see cref="M:Microsoft.ApplicationServer.Caching.DataCache.CreateRegion(System.String,System.Boolean)" /> method. </summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.RemoveRegion">
<summary>Indicates that a region in the cache was removed with the <see cref="M:Microsoft.ApplicationServer.Caching.DataCache.RemoveRegion(System.String)" /> method. </summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.ReplaceItem">
<summary>Indicates that an object was replaced in the cache. </summary>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheOperations.ClearRegion">
<summary>Indicates that a region in the cache was cleared with the <see cref="M:Microsoft.ApplicationServer.Caching.DataCache.ClearRegion(System.String)" /> method.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheProtectionLevel">
<summary>Enumeration indicating whether data sent between client and server is signed and/or encrypted.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheProtectionLevel.EncryptAndSign">
<summary>Indicates both encryption and signing are used.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheProtectionLevel.None">
<summary>Indicates that neither encryption nor signing is used.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheProtectionLevel.Sign">
<summary>Indicates that signing without encryption is used.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheProtectionLevel.EncryptAndSign">
<summary>Indicates both encryption and signing are used.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheSecurity">
<summary>Used to enable signing and/or encryption of data sent between client and server.</summary>
</member>
@@ -753,20 +745,11 @@
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCacheSecurity.#ctor(System.Security.SecureString)">
<summary>Initializes a new instance of the <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheSecurity" /> class. Applies only to Windows Azure Shared Caching.</summary>
<param name="authorizationToken">A SecureString object that contains the authorization token from the Windows Azure Management Portal.</param>
<param name="authorizationToken">A SecureString object that contains the authorization token from the .</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCacheSecurity.#ctor(System.Security.SecureString,System.Boolean)">
<summary>Initializes a new instance of the <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheSecurity" /> class. Applies only to Windows Azure Shared Caching.</summary>
<param name="authorizationToken">A SecureString object that contains the authorization token from the Windows Azure Management Portal.</param>
<param name="sslEnabled">Specifies whether SSL should be used.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCacheSecurity.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheSecurity" /> class. </summary>
<param name="authorizationToken">The authorization token.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCacheSecurity.#ctor(System.String,System.Boolean)">
<summary>Initializes a new instance of the <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheSecurity" /> class. </summary>
<param name="authorizationToken">The authorization token.</param>
<param name="authorizationToken">A SecureString object that contains the authorization token from the .</param>
<param name="sslEnabled">Specifies whether SSL should be used.</param>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DataCacheSecurity.ProtectionLevel">
@@ -780,15 +763,15 @@
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheSecurityMode">
<summary>Enumeration indicating whether channel security is enabled for data sent between client and server. Applies only to the server versions of AppFabric.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheSecurityMode.Message">
<summary>Specifies that message security is used. This is the security mode required for AppFabric caches, which use the Access Control Service (ACS). Applies only to the server versions of AppFabric.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheSecurityMode.None">
<summary>Specifies that no security is enabled. Applies only to the server versions of AppFabric.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheSecurityMode.Transport">
<summary>Specifies that transport security is enabled. Applies only to the server versions of AppFabric.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheSecurityMode.Message">
<summary>Specifies that message security is used. This is the security mode required for AppFabric caches, which use the Access Control Service (ACS). Applies only to the server versions of AppFabric.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheSerializationProperties">
<summary>Specifies the serialization properties for a cache client.</summary>
</member>
@@ -808,12 +791,12 @@
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheServiceAccountType">
<summary>Specifies the type of account that is used to run the AppFabric Caching service.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheServiceAccountType.DomainAccount">
<summary>The AppFabric Caching service runs under a domain account on the cache cluster.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheServiceAccountType.SystemAccount">
<summary>The AppFabric Caching service runs under a built-in system account on the cache cluster. For example, NETWORK SERVICE.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheServiceAccountType.DomainAccount">
<summary>The AppFabric Caching service runs under a domain account on the cache cluster.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheStoreException">
<summary>An exception object that should be used by read-through or write-behind providers.</summary>
</member>
@@ -877,7 +860,7 @@
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCacheTag.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:Microsoft.ApplicationServer.Caching.DataCacheTag" /> class. </summary>
<param name="tag">The string-based identifier to associate with a cached object. Tags must be less than 65 KB.</param>
<param name="tag">The string-based identifier to associate with a cached object.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DataCacheTag.Equals(System.Object)">
<summary>Compares the current DataCacheTag object for equality with the specified DataCacheTag object.</summary>
@@ -895,12 +878,12 @@
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheTraceSink">
<summary>Provides fields that specify the type of cache client tracing to use with the <see cref="M:Microsoft.ApplicationServer.Caching.DataCacheClientLogManager.SetSink(Microsoft.ApplicationServer.Caching.DataCacheTraceSink,System.Diagnostics.TraceLevel)" /> method. Applies only to Windows Azure Caching.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheTraceSink.DiagnosticSink">
<summary>A trace sink that uses standard Windows Azure Caching diagnostics. Applies only to Windows Azure Caching.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheTraceSink.EtwSink">
<summary>A trace sink that uses Event Tracing for Windows (ETW) to record the trace data. Not supported in Windows Azure Shared Caching.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.DataCacheTraceSink.DiagnosticSink">
<summary>A trace sink that uses standard Windows Azure Caching diagnostics. Applies only to Windows Azure Caching.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DataCacheTransportProperties">
<summary>Specifies the transport settings for a cache client.</summary>
</member>
@@ -935,6 +918,75 @@
<summary>Gets or sets the length of time to wait for a request before aborting the channel.</summary>
<returns>Returns <see cref="T:System.TimeSpan" />.</returns>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DiagnosticRule"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.DiagnosticRule.#ctor(System.Collections.Generic.IList{System.Int32},System.Collections.Generic.IList{System.String},System.Collections.Generic.IList{System.String})">
<summary>Internal.</summary>
<param name="eventIds">Internal.</param>
<param name="eventDescription">Internal.</param>
<param name="violationDescription">Internal.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DiagnosticRule.#ctor(System.Collections.Generic.IList{System.Int32},System.Collections.Generic.IList{System.String},System.Collections.Generic.IList{System.String},System.Collections.Generic.IList{System.Int64},System.Int32)">
<summary>Internal.</summary>
<param name="eventIds">Internal.</param>
<param name="eventDescription">Internal.</param>
<param name="violationDescription">Internal.</param>
<param name="timeToNext">Internal.</param>
<param name="ruleId">Internal.</param>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagnosticRule.EventDescription">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Collections.Generic.IList`1" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagnosticRule.EventIds">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Collections.Generic.IList`1" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagnosticRule.RuleId">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Int32" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagnosticRule.TimeToNextEvent">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Collections.Generic.IList`1" />.</returns>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DiagnosticRule.ToString">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.String" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagnosticRule.ViolationDescription">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Collections.Generic.IList`1" />.</returns>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.DiagRuleViolation"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.DiagRuleViolation.#ctor"><summary>Internal.</summary></member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagRuleViolation.IsFinalStateReached">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Boolean" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagRuleViolation.IsRuleViolated">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Boolean" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagRuleViolation.RuleViolated">
<summary>Internal.</summary>
<returns>Returns <see cref="T:Microsoft.ApplicationServer.Caching.DiagnosticRule" />.</returns>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.DiagRuleViolation.ToString">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.String" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagRuleViolation.ViolationClasses">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.String" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagRuleViolation.ViolationId">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Int32" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.DiagRuleViolation.ViolationIndex">
<summary>Internal.</summary>
<returns>Returns <see cref="T:System.Int32" />.</returns>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.EvictionType">
<summary>Specifies the eviction used for a cache.</summary>
</member>
@@ -944,21 +996,21 @@
<member name="F:Microsoft.ApplicationServer.Caching.EvictionType.None">
<summary>The cache does not evict objects.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.ExpirationType"></member>
<member name="F:Microsoft.ApplicationServer.Caching.ExpirationType.AbsoluteExpiration">
<summary />
</member>
<member name="F:Microsoft.ApplicationServer.Caching.ExpirationType.Default">
<summary />
</member>
<member name="T:Microsoft.ApplicationServer.Caching.ExpirationType"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.ExpirationType.None">
<summary />
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.ExpirationType.NotProvided">
<summary />
<member name="F:Microsoft.ApplicationServer.Caching.ExpirationType.AbsoluteExpiration">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.ExpirationType.SlidingExpiration">
<summary />
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.ExpirationType.NotProvided">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.ExpirationType.Default">
<summary>Internal.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.HostCacheStats">
<summary>Stores cache statistics used in conjunction with the Get-CacheStatistics Windows PowerShell command.</summary>
@@ -990,7 +1042,7 @@
<summary>The size in bytes of cached items.</summary>
<returns>Returns <see cref="T:System.Int64" />.</returns>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.HostCacheStats.ToString"></member>
<member name="M:Microsoft.ApplicationServer.Caching.HostCacheStats.ToString"><summary>Internal.</summary></member>
<member name="T:Microsoft.ApplicationServer.Caching.ICustomProvider">
<summary>Represent an ICustomProvider interface. Applies only to the server versions of AppFabric.</summary>
</member>
@@ -1139,7 +1191,7 @@
<summary>The number of requests on the cache.</summary>
<returns>Returns <see cref="T:System.Int64" />.</returns>
</member>
<member name="P:Microsoft.ApplicationServer.Caching.NamedCacheStats.RestRequestCount"></member>
<member name="P:Microsoft.ApplicationServer.Caching.NamedCacheStats.RestRequestCount"><summary>Internal.</summary></member>
<member name="P:Microsoft.ApplicationServer.Caching.NamedCacheStats.Size">
<summary>The size in bytes of the cache.</summary>
<returns>Returns <see cref="T:System.Int64" />.</returns>
@@ -1148,7 +1200,7 @@
<summary>The number of write operations to the cache.</summary>
<returns>Returns <see cref="T:System.Int64" />.</returns>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.SafeStreamWriter"></member>
<member name="T:Microsoft.ApplicationServer.Caching.SafeStreamWriter"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.SafeStreamWriter.#ctor(System.IO.Stream)">
<param name="stream">Internal.</param>
</member>
@@ -1159,48 +1211,68 @@
<param name="path">Internal.</param>
<param name="append">Internal.</param>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityAuthorizationException"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityAuthorizationException.#ctor"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityAuthorizationException.#ctor(System.String)"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityAuthorizationException.#ctor(System.String,System.Exception)"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityAuthorizationException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"></member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityPacketException"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketException.#ctor"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketException.#ctor(System.String)"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketException.#ctor(System.String,System.Exception)"></member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityPacketFormatException"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatException.#ctor"></member>
<member name="T:Microsoft.ApplicationServer.Caching.ServiceUtility"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.ServiceUtility.StartService(System.String,System.Func{System.ServiceProcess.ServiceBase},System.String)">
<param name="serviceName">Internal.</param>
<param name="serviceCreator">Internal.</param>
<param name="eventSourceName">Internal.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.ServiceUtility.StartServiceForCache(System.String,System.Func{System.ServiceProcess.ServiceBase})">
<param name="serviceName">Internal.</param>
<param name="serviceCreator">Internal.</param>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityDiagMode"><summary>Internal.</summary></member>
<member name="F:Microsoft.ApplicationServer.Caching.VelocityDiagMode.WarningWce">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.VelocityDiagMode.InfoWc">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.VelocityDiagMode.NoBuffering">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.VelocityDiagMode.WarningWcext">
<summary>Internal.</summary>
</member>
<member name="F:Microsoft.ApplicationServer.Caching.VelocityDiagMode.InfoWCBasic">
<summary>Internal.</summary>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityPacketFormatException"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatException.#ctor"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>Internal.</summary>
<param name="info">Internal.</param>
<param name="context">Internal.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatException.#ctor(System.String)">
<summary>Internal.</summary>
<param name="message">Internal.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatException.#ctor(System.String,System.Exception)">
<summary>Internal.</summary>
<param name="message">Internal.</param>
<param name="innerException">Internal.</param>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityPacketFormatFatalException"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatFatalException.#ctor"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatFatalException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<param name="info">Internal.</param>
<param name="context">Internal.</param>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityPacketFormatFatalException"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatFatalException.#ctor"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatFatalException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatFatalException.#ctor(System.String)">
<summary>Internal.</summary>
<param name="message">Internal.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketFormatFatalException.#ctor(System.String,System.Exception)">
<summary>Internal.</summary>
<param name="message">Internal.</param>
<param name="innerException">Internal.</param>
</member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityPacketTooBigException"></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketTooBigException.#ctor"></member>
<member name="T:Microsoft.ApplicationServer.Caching.VelocityPacketTooBigException"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketTooBigException.#ctor"><summary>Internal.</summary></member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketTooBigException.#ctor(System.String)">
<summary>Internal.</summary>
<param name="message">Internal.</param>
</member>
<member name="M:Microsoft.ApplicationServer.Caching.VelocityPacketTooBigException.#ctor(System.String,System.Exception)">
<summary>Internal.</summary>
<param name="message">Internal.</param>
<param name="innerException">Internal.</param>
</member>

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -0,0 +1,314 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.WindowsAzure.CloudDrive</name>
</assembly>
<members>
<member name="T:Microsoft.WindowsAzure.StorageClient.CloudStorageAccountCloudDriveExtensions">
<summary>
Defines extension methods for creating Windows Azure drives from storage account credentials.
</summary>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudStorageAccountCloudDriveExtensions.CreateCloudDrive(Microsoft.WindowsAzure.CloudStorageAccount,System.String)">
<summary>
Create a new instance of a <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDrive"/> object from a storage account.
</summary>
<param name="storageAccount">The name of the storage account where the drive's data
is to be stored.</param>
<param name="pageBlobUri">The path to the page blob where the drive's data
is to be stored.</param>
<returns>A reference to a Windows Azure drive.</returns>
</member>
<member name="T:Microsoft.WindowsAzure.StorageClient.CloudDrive">
<summary>
Represents a Windows Azure drive.
</summary>
<remarks>
<para>
A Windows Azure drive acts as a local drive mounted on the file system and is accessible
to code running in a role. The data written to a Windows Azure drive is stored in a page blob
defined within the Windows Azure Blob service, and cached on the local file system. Because
data written to the drive is stored in a page blob, the data is maintained across the
lifecycle of the role instance.
</para>
</remarks>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.#ctor(System.Uri,Microsoft.WindowsAzure.StorageCredentials)">
<summary>
Creates a new instance of a <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDrive"/> object.
</summary>
<param name="uri">A URI that identifies the page blob where the drive's data will be stored.</param>
<param name="credentials">Credentials for the storage account that will contain the page blob.</param>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Create(System.Int32)">
<summary>
Creates an NTFS-formatted Windows Azure drive and its associated page blob. The page blob
is created at the URI specified for this <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDrive"/> object.
</summary>
<param name="sizeInMB">The size of the drive to create. The minimum size permitted is 16 MB.</param>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.CreateIfNotExist(System.Int32)">
<summary>
Creates an NTFS-formatted Windows Azure drive and its associated page blob if the drive does not already exist.
The page blob is created at the URI specified for this <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDrive"/> object.
</summary>
<param name="sizeInMB">The size of the drive to create. The minimum size permitted is 16 MB.</param>
<returns><c>true</c> if the Windows Azure drive was created, or <c>false</c> if it already existed.</returns>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Snapshot">
<summary>
Creates a snapshot of the page blob associated with this Windows Azure drive.
</summary>
<returns>A URI to the newly created snapshot.</returns>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.CopyTo(System.Uri)">
<summary>
Copies the data in this Windows Azure drive to a new page blob.
</summary>
<param name="destination">The URI of the destination blob.</param>
<remarks>The copy operation takes place entirely within the Windows Azure Blob service and does not involve the client.</remarks>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Delete">
<summary>
Deletes the Windows Azure drive and its associated page blob.
</summary>
<remarks>
If the page blob behind this Windows Azure drive has associated snapshots, you must
delete the snapshots using the Windows Azure Managed API before deleting the drive.
</remarks>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Mount(System.Int32,Microsoft.WindowsAzure.StorageClient.DriveMountOptions)">
<summary>
Mounts the Windows Azure drive and returns a path to the drive on the local file system.
</summary>
<param name="cacheSize">The size of the read cache for this mounted drive. Set this
parameter to 0 for unbuffered access to the drive.</param>
<param name="options">The set of <see cref="T:Microsoft.WindowsAzure.StorageClient.DriveMountOptions"/> for mounting the drive.</param>
<returns>The local path to the mounted drive.</returns>
<remarks>
<para>
A Windows Azure drive may be mounted as a writable drive, or as a read-only drive if it is created
from a snapshot of a page blob.
</para>
<para>
Note that before a role instance mounts a drive for the first time, it must initialize the cache
by calling the <see cref="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.InitializeCache(System.String,System.Int32)"/> method.
</para>
<para>
To create a writable drive, create a new instance of the <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDrive"/> object, specifying
the desired URI for the page blob. Call the <see cref="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Create(System.Int32)"/> method, then call the Mount
method to mount the drive.
</para>
<para>
To create a read-only drive, call the <see cref="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Snapshot"/> method to create a new snapshot and
return the snapshot's URI, then create a new instance of the <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDrive"/> object from the snapshot's URI
and mount the drive.
</para>
<para>
When a role instance mounts a writable drive, it acquires an exclusive-write lease on the associated page
blob that it retains as long as the drive is mounted. If the same role instance attempts to mount a drive
with the same URI a second time, the operation is ignored and the Mount method returns the local path to the
existing drive.
</para>
<para>
If a role instance other than the one that has mounted the drive and acquired the lease attempts
to mount a drive with the same URI, the operation fails with a <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDriveException"/>. Only one
instance at a time may mount a writable drive and acquire its lease. Once the drive has been unmounted, another instance may
mount the drive and successfully acquire its lease.
</para>
<para>
If a role instance mounts a read-only drive, there is no associated lease, as snapshots cannot be leased.
Multiple role instances can mount and access the same read-only drive.
</para>
</remarks>
<exception cref="T:Microsoft.WindowsAzure.StorageClient.CloudDriveException"></exception>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.MountAt(System.String,System.Int32,Microsoft.WindowsAzure.StorageClient.DriveMountOptions)">
<summary>
Mounts the Windows Azure drive using the specified drive letter and returns a path to the drive on the local file system.
</summary>
<param name="location">The drive letter for the mounted drive.</param>
<param name="cacheSize">The size of the read cache for this mounted drive. Set this
parameter to 0 for unbuffered access to the drive.</param>
<param name="options">The set of <see cref="T:Microsoft.WindowsAzure.StorageClient.DriveMountOptions"/> for mounting the drive.</param>
<returns>The local path to the mounted drive.</returns>
<remarks>
<para>
A Windows Azure drive may be mounted as a writable drive, or as a read-only drive if it is created
from a snapshot of a page blob.
</para>
<para>
Note that before a role instance mounts a drive for the first time, it must initialize the cache
by calling the <see cref="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.InitializeCache(System.String,System.Int32)"/> method.
</para>
<para>
To create a writable drive, create a new instance of the <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDrive"/> object, specifying
the desired URI for the page blob. Call the <see cref="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Create(System.Int32)"/> method, then call the Mount
method to mount the drive.
</para>
<para>
To create a read-only drive, call the <see cref="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Snapshot"/> method to create a new snapshot and
return the snapshot's URI, then create a new instance of the <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDrive"/> object from the snapshot's URI
and mount the drive.
</para>
<para>
When a role instance mounts a writable drive, it acquires an exclusive-write lease on the associated page
blob that it retains as long as the drive is mounted. If the same role instance attempts to mount a drive
with the same URI a second time, the operation is ignored and the Mount method returns the local path to the
existing drive.
</para>
<para>
If a role instance other than the one that has mounted the drive and acquired the lease attempts
to mount a drive with the same URI, the operation fails with a <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDriveException"/>. Only one
instance at a time may mount a writable drive and acquire its lease. Once the drive has been unmounted, another instance may
mount the drive and successfully acquire its lease.
</para>
<para>
If a role instance mounts a read-only drive, there is no associated lease, as snapshots cannot be leased.
Multiple role instances can mount and access the same read-only drive.
</para>
</remarks>
<exception cref="T:Microsoft.WindowsAzure.StorageClient.CloudDriveException"></exception>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Unmount">
<summary>
Unmounts the drive and releases any lease associated with it.
</summary>
<remarks>
Note that when you unmount a drive, its contents are not deleted. To delete the contents of
a drive, call the <see cref="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.Delete"/> method.
</remarks>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.InitializeCache(System.String,System.Int32)">
<summary>
Initializes the read cache for any subsequently mounted drives associated with the role instance.
</summary>
<param name="cachePath">The local file system path to the directory containing the cache.
If the directory does not exist, it will be created.</param>
<param name="totalCacheSize">The total cache size, in megabytes.</param>
<remarks>
<para>
Before you mount a drive, you must call the InitializeCache method to initialize a cache for the drive.
If a role instance attempts to mount a drive before a cache has been initialized, a <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDriveException"/>
is thrown.
</para>
<para>
When a drive is mounted, it stores cache data in the cache defined by the most recent call to InitializeCache.
In other words, if a role instance calls the InitializeCache method a second time with different arguments,
any drives mounted subsequently will store cache data in the newly defined cache. Any previously mounted drives
continue to store cache data in the cache that was defined before those drives were mounted.
</para>
</remarks>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.GetMountedDrives">
<summary>
Returns a mapping of local file system paths for mounted drives to page blob URIs for the current role instance.
</summary>
<returns>A read-only dictionary that maps local paths to page blob URIs.</returns>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDrive.CheckOperationAllowed">
<summary>
Ensure operation is allowed in this context.
</summary>
</member>
<member name="P:Microsoft.WindowsAzure.StorageClient.CloudDrive.Credentials">
<summary>
Gets the credentials for the storage account where this drive's data is stored.
</summary>
</member>
<member name="P:Microsoft.WindowsAzure.StorageClient.CloudDrive.LocalPath">
<summary>
Gets the local file system path to the mounted drive. Returns null if no drive is currently mounted.
</summary>
</member>
<member name="P:Microsoft.WindowsAzure.StorageClient.CloudDrive.Uri">
<summary>
Gets the URI of the page blob where this drive's data is stored.
</summary>
</member>
<member name="T:Microsoft.WindowsAzure.StorageClient.CloudDriveException">
<summary>
Defines an exception that may be thrown on operations on Windows Azure drives.
</summary>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDriveException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.WindowsAzure.StorageClient.CloudDriveException"/> class.
</summary>
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
<exception cref="T:System.ArgumentNullException">
The <paramref name="info"/> parameter is null.
</exception>
<exception cref="T:System.Runtime.Serialization.SerializationException">
The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0).
</exception>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.CloudDriveException.GetHResult">
<summary>
Returns the exception code for this exception
</summary>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.Common.AppendPathToUri(System.Uri,System.String)">
<summary>
Appends a path to a Uri correctly using "/" as separator
AppendPathToUri(new Uri("http://test.blob.core.windows.net/test", "abc")
=> new Uri("http://test.blob.core.windows.net/test/abc")
AppendPathToUri(new Uri("http://test.blob.core.windows.net/test"), "http://test.blob.core.windows.net/test/abc")
=> new Uri("http://test.blob.core.windows.net/test/abc")
</summary>
<param name="uri"></param>
<param name="relPath"></param>
<returns></returns>
</member>
<member name="M:Microsoft.WindowsAzure.StorageClient.Common.AppendPathToUri(System.Uri,System.String,System.String)">
<summary>
Append a relative path to a URI, handling trailing slashes appropriately.
</summary>
<param name="uri"></param>
<param name="relPath"></param>
<param name="sep"></param>
<returns></returns>
</member>
<member name="T:Microsoft.WindowsAzure.StorageClient.DriveMountOptions">
<summary>
Specifies options for mounting a Windows Azure drive.
</summary>
</member>
<member name="F:Microsoft.WindowsAzure.StorageClient.DriveMountOptions.None">
<summary>
No options specified for mounting the drive.
</summary>
</member>
<member name="F:Microsoft.WindowsAzure.StorageClient.DriveMountOptions.Force">
<summary>
Acquires the lease for this instance and forces the drive to be mounted.
</summary>
</member>
<member name="F:Microsoft.WindowsAzure.StorageClient.DriveMountOptions.FixFileSystemErrors">
<summary>
Attempts to fix file system errors. Note may result in loss of data. See remarks.
</summary>
<remarks>
Setting this flag calls <code>chkdsk /F</code> on the mounted drive.
To avoid any potential data-loss it is recommed a snapshot of the drive is taken first before
attempting to fix file system errors.
</remarks>
</member>
<member name="F:Microsoft.WindowsAzure.StorageClient.DriveMountOptions.UseSharedAccessCredentials">
<summary>
Use Shared Access Credentials to authenticate with the Azure Blob Service.
</summary>
<remarks>
By default, Azure Drives will use the Account Shared Key to authenticate with the
Azure Blob Service. It requires the secret key to be cached outside the calling
process. This may be a security concern for some applications and the risk can be
mitigated by setting this flag. However if this flag is set and the calling
process is terminated, then the drive will auto-unmount when the Shared Access
Credentials expire.
</remarks>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -4,7 +4,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>2.1</ProductVersion>
<ProductVersion>2.2</ProductVersion>
<ProjectGuid>{03c5327d-4e8e-45a7-acd1-e18e7caa3c4a}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
@@ -63,7 +63,7 @@
<!-- Import the target files for this project template -->
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\2.1\</CloudExtensionsDir>
<CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\2.2\</CloudExtensionsDir>
</PropertyGroup>
<Import Project="$(CloudExtensionsDir)Microsoft.WindowsAzure.targets" />
<!-- The BeforeAddRoleContent override ensures that content in themes and modules get added

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ServiceConfiguration serviceName="OrchardCloudService" osFamily="3" osVersion="*" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" schemaVersion="2013-03.2.0">
<ServiceConfiguration serviceName="OrchardCloudService" osFamily="3" osVersion="*" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" schemaVersion="2013-10.2.2">
<Role name="Orchard.Azure.Web">
<Instances count="1" />
<ConfigurationSettings>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="OrchardCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2013-03.2.0">
<ServiceDefinition name="OrchardCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2013-10.2.2">
<WebRole name="Orchard.Azure.Web">
<Sites>
<Site name="Web">

View File

@@ -87,13 +87,11 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\lib\windowsazure\Microsoft.WindowsAzure.Configuration.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Diagnostics, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\lib\windowsazure\Microsoft.WindowsAzure.Diagnostics.dll</HintPath>
<Reference Include="Microsoft.WindowsAzure.Diagnostics, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.WindowsAzure.ServiceRuntime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\lib\windowsazure\Microsoft.WindowsAzure.ServiceRuntime.dll</HintPath>
<Reference Include="Microsoft.WindowsAzure.ServiceRuntime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Storage, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

View File

@@ -40,7 +40,7 @@
<system.diagnostics>
<trace>
<listeners>
<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
<filter type="" />
</add>
</listeners>

View File

@@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -483,6 +483,22 @@ namespace Orchard.Tests.Modules.Indexing {
Assert.That(SearchBuilder.Parse("body", "*@!woo*@!").Count(), Is.EqualTo(0));
}
[Test]
public void ShouldSearchFolderStructure() {
_provider.CreateIndex("default");
_provider.Store("default", _provider.New(1).Add("media-path", "images").Store());
_provider.Store("default", _provider.New(2).Add("media-path", "images/pets/puppies").Store());
_provider.Store("default", _provider.New(3).Add("media-path", "images/pets/kitties").Store());
// Assert.That(SearchBuilder.WithField("media-path", "Pets").Mandatory().Count(), Is.EqualTo(0));
Assert.That(SearchBuilder.WithField("media-path", "Images").Mandatory().Count(), Is.EqualTo(3));
Assert.That(SearchBuilder.WithField("media-path", "Images").ExactMatch().Mandatory().Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithField("media-path", "Images/Pets").Mandatory().Count(), Is.EqualTo(2));
Assert.That(SearchBuilder.WithField("media-path", "Images/Pets").ExactMatch().Mandatory().Count(), Is.EqualTo(0));
Assert.That(SearchBuilder.WithField("media-path", "Images/Pets/Puppies").ExactMatch().Mandatory().Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithField("media-path", "Images/Pets/Puppies").Mandatory().Count(), Is.EqualTo(1));
}
[Test]
public void FieldsCanContainMultipleValue() {
_provider.CreateIndex("default");
@@ -658,5 +674,75 @@ namespace Orchard.Tests.Modules.Indexing {
Assert.That(speak.Or(michael).Count(), Is.EqualTo(4));
Assert.That(speak.Xor(michael).Count(), Is.EqualTo(3));
}
[Test]
public void ShouldAcceptNoMin() {
_provider.CreateIndex("default");
_provider.Store("default", _provider.New(1).Add("string", "foo"));
_provider.Store("default", _provider.New(2).Add("date", new DateTime(2010, 05, 28, 12, 30, 30)));
_provider.Store("default", _provider.New(3).Add("number", 123.456));
_provider.Store("default", _provider.New(4).Add("integer", 123));
Assert.That(SearchBuilder.WithinRange("string", null, "foobar").Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("date", null, new DateTime(2010, 05, 29, 12, 30, 30)).Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("number", null, 123.4567).Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("integer", null, 124).Count(), Is.EqualTo(1));
}
[Test]
public void ShouldAcceptNoMax() {
_provider.CreateIndex("default");
_provider.Store("default", _provider.New(1).Add("string", "foo"));
_provider.Store("default", _provider.New(2).Add("date", new DateTime(2010, 05, 28, 12, 30, 30)));
_provider.Store("default", _provider.New(3).Add("number", 123.456));
_provider.Store("default", _provider.New(4).Add("integer", 123));
Assert.That(SearchBuilder.WithinRange("string", "fo", null).Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("date", new DateTime(2010, 05, 27, 12, 30, 30), null).Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("number", 123.45, null).Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("integer", 122, null).Count(), Is.EqualTo(1));
}
[Test]
public void ShouldIncludeBoudaries() {
_provider.CreateIndex("default");
_provider.Store("default", _provider.New(1).Add("string", "foo"));
_provider.Store("default", _provider.New(2).Add("date", new DateTime(2010, 05, 28, 12, 30, 30)));
_provider.Store("default", _provider.New(3).Add("number", 123.456));
_provider.Store("default", _provider.New(4).Add("integer", 123));
Assert.That(SearchBuilder.WithinRange("string", "foo", null).Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("date", new DateTime(2010, 05, 28, 12, 30, 30), null).Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("number", 123.456, null).Count(), Is.EqualTo(1));
Assert.That(SearchBuilder.WithinRange("integer", 123, null).Count(), Is.EqualTo(1));
}
[Test]
public void ShouldNotIncludeLowerBoudary() {
_provider.CreateIndex("default");
_provider.Store("default", _provider.New(1).Add("string", "foo"));
_provider.Store("default", _provider.New(2).Add("date", new DateTime(2010, 05, 28, 12, 30, 30)));
_provider.Store("default", _provider.New(3).Add("number", 123.456));
_provider.Store("default", _provider.New(4).Add("integer", 123));
Assert.That(SearchBuilder.WithinRange("string", "foo", null, false).Count(), Is.EqualTo(0));
Assert.That(SearchBuilder.WithinRange("date", new DateTime(2010, 05, 28, 12, 30, 30), null, false).Count(), Is.EqualTo(0));
Assert.That(SearchBuilder.WithinRange("number", 123.456, null, false).Count(), Is.EqualTo(0));
Assert.That(SearchBuilder.WithinRange("integer", 123, null, false).Count(), Is.EqualTo(0));
}
[Test]
public void ShouldNotIncludeUpperBoudary() {
_provider.CreateIndex("default");
_provider.Store("default", _provider.New(1).Add("string", "foo"));
_provider.Store("default", _provider.New(2).Add("date", new DateTime(2010, 05, 28, 12, 30, 30)));
_provider.Store("default", _provider.New(3).Add("number", 123.456));
_provider.Store("default", _provider.New(4).Add("integer", 123));
Assert.That(SearchBuilder.WithinRange("string", null, "foo", true, false).Count(), Is.EqualTo(0));
Assert.That(SearchBuilder.WithinRange("date", null, new DateTime(2010, 05, 28, 12, 30, 30), true, false).Count(), Is.EqualTo(0));
Assert.That(SearchBuilder.WithinRange("number", null, 123.456, true, false).Count(), Is.EqualTo(0));
Assert.That(SearchBuilder.WithinRange("integer", null, 123, true, false).Count(), Is.EqualTo(0));
}
}
}

View File

@@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -0,0 +1,60 @@
using NUnit.Framework;
using Orchard.DisplayManagement.Descriptors;
namespace Orchard.Tests.DisplayManagement.Descriptors {
[TestFixture]
public class LocationParserTests : ContainerTestBase {
[Test]
public void ZoneShouldBeParsed() {
Assert.That(new PlacementInfo { Location = "/Content" }.GetZone(), Is.EqualTo("Content"));
Assert.That(new PlacementInfo { Location = "Content" }.GetZone(), Is.EqualTo("Content"));
Assert.That(new PlacementInfo { Location = "Content:5" }.GetZone(), Is.EqualTo("Content"));
Assert.That(new PlacementInfo { Location = "Content:5#Tab1" }.GetZone(), Is.EqualTo("Content"));
Assert.That(new PlacementInfo { Location = "Content:5@Group1" }.GetZone(), Is.EqualTo("Content"));
Assert.That(new PlacementInfo { Location = "Content:5@Group1#Tab1" }.GetZone(), Is.EqualTo("Content"));
}
[Test]
public void PositionShouldBeParsed() {
Assert.That(new PlacementInfo { Location = "Content" }.GetPosition(), Is.EqualTo(""));
Assert.That(new PlacementInfo { Location = "Content:5" }.GetPosition(), Is.EqualTo("5"));
Assert.That(new PlacementInfo { Location = "Content:5#Tab1" }.GetPosition(), Is.EqualTo("5"));
Assert.That(new PlacementInfo { Location = "Content:5.1#Tab1" }.GetPosition(), Is.EqualTo("5.1"));
Assert.That(new PlacementInfo { Location = "Content:5@Group1" }.GetPosition(), Is.EqualTo("5"));
Assert.That(new PlacementInfo { Location = "Content:5@Group1#Tab1" }.GetPosition(), Is.EqualTo("5"));
}
[Test]
public void LayoutZoneShouldBeParsed() {
Assert.That(new PlacementInfo { Location = "/Content" }.IsLayoutZone(), Is.EqualTo(true));
Assert.That(new PlacementInfo { Location = "/Content:5" }.IsLayoutZone(), Is.EqualTo(true));
Assert.That(new PlacementInfo { Location = "Content:5#Tab1" }.IsLayoutZone(), Is.EqualTo(false));
Assert.That(new PlacementInfo { Location = "Content:5.1#Tab1" }.IsLayoutZone(), Is.EqualTo(false));
Assert.That(new PlacementInfo { Location = "Content:5@Group1" }.IsLayoutZone(), Is.EqualTo(false));
Assert.That(new PlacementInfo { Location = "Content:5@Group1#Tab1" }.IsLayoutZone(), Is.EqualTo(false));
}
[Test]
public void TabShouldBeParsed() {
Assert.That(new PlacementInfo { Location = "Content" }.GetTab(), Is.EqualTo(""));
Assert.That(new PlacementInfo { Location = "Content:5" }.GetTab(), Is.EqualTo(""));
Assert.That(new PlacementInfo { Location = "Content:5#Tab1" }.GetTab(), Is.EqualTo("Tab1"));
Assert.That(new PlacementInfo { Location = "Content:5.1#Tab1" }.GetTab(), Is.EqualTo("Tab1"));
Assert.That(new PlacementInfo { Location = "Content:5@Group1" }.GetTab(), Is.EqualTo(""));
Assert.That(new PlacementInfo { Location = "Content:5@Group1#Tab1" }.GetTab(), Is.EqualTo("Tab1"));
Assert.That(new PlacementInfo { Location = "Content:5#Tab1@Group1" }.GetTab(), Is.EqualTo("Tab1"));
}
[Test]
public void GroupShouldBeParsed() {
Assert.That(new PlacementInfo { Location = "Content" }.GetGroup(), Is.EqualTo(""));
Assert.That(new PlacementInfo { Location = "Content:5" }.GetGroup(), Is.EqualTo(""));
Assert.That(new PlacementInfo { Location = "Content:5#Tab1" }.GetGroup(), Is.EqualTo(""));
Assert.That(new PlacementInfo { Location = "Content:5.1#Tab1" }.GetGroup(), Is.EqualTo(""));
Assert.That(new PlacementInfo { Location = "Content:5@Group1" }.GetGroup(), Is.EqualTo("Group1"));
Assert.That(new PlacementInfo { Location = "Content:5@Group1#Tab1" }.GetGroup(), Is.EqualTo("Group1"));
Assert.That(new PlacementInfo { Location = "Content:5#Tab1@Group1" }.GetGroup(), Is.EqualTo("Group1"));
}
}
}

View File

@@ -182,6 +182,19 @@ namespace Orchard.Tests.Environment {
var settingsA = new ShellSettings { Name = "Alpha", RequestUrlHost = "example.com" };
table.Add(settings);
table.Add(settingsA);
Assert.That(table.Match(new StubHttpContext("~/foo/bar", "www.example.com")), Is.EqualTo(settings).Using(new ShellComparer()));
Assert.That(table.Match(new StubHttpContext("~/foo/bar", "wiki.example.com")), Is.EqualTo(settings).Using(new ShellComparer()));
Assert.That(table.Match(new StubHttpContext("~/foo/bar", "example.com")), Is.EqualTo(settingsA).Using(new ShellComparer()));
Assert.That(table.Match(new StubHttpContext("~/foo/bar", "localhost")), Is.EqualTo(settings).Using(new ShellComparer()));
}
[Test]
public void HostNameMatchesRightmostIfStar() {
var table = (IRunningShellTable)new RunningShellTable();
var settings = new ShellSettings { Name = ShellSettings.DefaultName };
var settingsA = new ShellSettings { Name = "Alpha", RequestUrlHost = "*.example.com" };
table.Add(settings);
table.Add(settingsA);
Assert.That(table.Match(new StubHttpContext("~/foo/bar", "www.example.com")), Is.EqualTo(settingsA).Using(new ShellComparer()));
Assert.That(table.Match(new StubHttpContext("~/foo/bar", "wiki.example.com")), Is.EqualTo(settingsA).Using(new ShellComparer()));
Assert.That(table.Match(new StubHttpContext("~/foo/bar", "example.com")), Is.EqualTo(settingsA).Using(new ShellComparer()));
@@ -193,7 +206,7 @@ namespace Orchard.Tests.Environment {
var table = (IRunningShellTable) new RunningShellTable();
var settings = new ShellSettings { Name = ShellSettings.DefaultName };
var settingsA = new ShellSettings { Name = "Alpha", RequestUrlHost = "www.example.com" };
var settingsB = new ShellSettings { Name = "Beta", RequestUrlHost = "example.com" };
var settingsB = new ShellSettings { Name = "Beta", RequestUrlHost = "*.example.com" };
var settingsG = new ShellSettings { Name = "Gamma", RequestUrlHost = "wiki.example.com" };
table.Add(settings);
table.Add(settingsA);

View File

@@ -218,6 +218,7 @@
<Compile Include="Data\StubLocator.cs" />
<Compile Include="DisplayManagement\ArgsUtility.cs" />
<Compile Include="DisplayManagement\CompositeTests.cs" />
<Compile Include="DisplayManagement\Descriptors\LocationParserTests.cs" />
<Compile Include="DisplayManagement\NilTests.cs" />
<Compile Include="DisplayManagement\ZoneHoldingTests.cs" />
<Compile Include="DisplayManagement\DefaultDisplayManagerTests.cs" />

View File

@@ -34,5 +34,5 @@ using System.Runtime.InteropServices;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -32,8 +32,8 @@ using System.Security;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]
// Enable web application to call this assembly in Full Trust
[assembly: AllowPartiallyTrustedCallers]

View File

@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -38,11 +38,6 @@
<priority value="OFF" />
</logger>
<logger name="NHibernate.AdoNet.AbstractBatcher">
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected. -->
<priority value="OFF" />
</logger>
<logger name="NHibernate.Util.ADOExceptionReporter">
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected. -->
<priority value="OFF" />

View File

@@ -50,7 +50,7 @@ namespace Orchard.Core.Common.Handlers {
OnIndexing<CommonPart>((context, commonPart) => {
context.DocumentIndex
.Add("type", commonPart.ContentItem.ContentType).Analyze().Store()
.Add("type", commonPart.ContentItem.ContentType).Store()
.Add("created", commonPart.CreatedUtc ?? _clock.UtcNow).Store()
.Add("published", commonPart.PublishedUtc ?? _clock.UtcNow).Store()
.Add("modified", commonPart.ModifiedUtc ?? _clock.UtcNow).Store();

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The common module introduces content parts that are going to be used by most content types (common, body, identity).
FeatureDescription: Core content parts.
Dependencies: Settings

View File

@@ -1 +1,3 @@
@Html.TextBox("Text", (string)Model.Text, new { @class = "text large" })
@(Model.Required != null && Model.Required
? Html.TextBox("Text", (string)Model.Text, new { @class = "text large", required = "required" })
: Html.TextBox("Text", (string)Model.Text, new { @class = "text large" }))

View File

@@ -1 +1,3 @@
@Html.TextBox("Text", (string)Model.Text, new { @class = "text text-small" })
@(Model.Required != null && Model.Required
? Html.TextBox("Text", (string)Model.Text, new { @class = "text small", required = "required" })
: Html.TextBox("Text", (string)Model.Text, new { @class = "text small" }))

View File

@@ -1 +1,3 @@
@Html.TextArea("Text", (string)Model.Text, 10, 80, new {})
@(Model.Required != null && Model.Required
? Html.TextArea("Text", (string)Model.Text, 10, 80, new { required = "required" })
: Html.TextArea("Text", (string)Model.Text, 10, 80, new { }))

View File

@@ -1 +1,3 @@
@Html.TextBox("Text", (string)Model.Text, new { @class = "text textMedium" })
@(Model.Required != null && Model.Required
? Html.TextBox("Text", (string)Model.Text, new { @class = "text medium", required = "required" })
: Html.TextBox("Text", (string)Model.Text, new { @class = "text medium" }))

View File

@@ -2,4 +2,6 @@
@{
string editorFlavor = Model.EditorFlavor;
}
@Html.TextArea("Text", (string)Model.Text, 25, 80, new { @class = editorFlavor.HtmlClassify() })
@(Model.Required != null && Model.Required
? Html.TextArea("Text", (string)Model.Text, 25, 80, new { @class = editorFlavor.HtmlClassify(), required = "required" })
: Html.TextArea("Text", (string)Model.Text, 25, 80, new { @class = editorFlavor.HtmlClassify() }))

View File

@@ -22,7 +22,7 @@
</fieldset>
<fieldset>
<label for="@Html.FieldIdFor(m => m.Settings.Hint)">@T("Help text")</label>
@Html.TextAreaFor(m => m.Settings.Hint, new { @class = "textMedium", rows = "5" })
@Html.TextAreaFor(m => m.Settings.Hint, new { @class = "text medium", rows = "5" })
<span class="hint">@T("The help text is written under the field when authors are editing the content item.")</span>
@Html.ValidationMessageFor(m => m.Settings.Hint)
</fieldset>

View File

@@ -3,11 +3,11 @@
<fieldset>
<label for="@Html.FieldIdFor(m => m.Text)" @if(Model.Settings.Required) { <text>class="required"</text> }>@Model.Field.DisplayName</label>
@if (String.IsNullOrWhiteSpace(Model.Settings.Flavor)) {
@Html.TextBoxFor(m => m.Text, new { @class = "text" })
@(Model.Settings.Required ? Html.TextBoxFor(m => m.Text, new {@class = "text", required = "required"}) : Html.TextBoxFor(m => m.Text, new {@class = "text"}))
@Html.ValidationMessageFor(m => m.Text)
}
else {
@Display.Body_Editor(Text: Model.Text, EditorFlavor: Model.Settings.Flavor)
@Display.Body_Editor(Text: Model.Text, EditorFlavor: Model.Settings.Flavor, Required: Model.Settings.Required)
}
@if (HasText(Model.Settings.Hint)) {
<span class="hint">@Model.Settings.Hint</span>

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The containers module introduces container and containable behaviors for content items.
FeatureDescription: Container and containable parts to enable parent-child relationships between content items.
Dependencies: Contents, Feeds

View File

@@ -6,6 +6,6 @@
</span>
<span>
@Html.LabelFor(m => m.Weight, T("Weight"))
@Html.TextBoxFor(m => m.Weight, new { @class = "text text-small" })
@Html.TextBoxFor(m => m.Weight, new { @class = "text small" })
</span>
</fieldset>

View File

@@ -30,7 +30,7 @@
<fieldset class="with-checkbox">
<span>
@Html.LabelFor(m => m.Part.PageSize, T("Page size"))
@Html.TextBoxFor(m => m.Part.PageSize, new { @class = "text text-small" })
@Html.TextBoxFor(m => m.Part.PageSize, new { @class = "text small" })
</span>
<span class="checkbox-and-label">
@Html.CheckBoxFor(m => m.Part.Paginated)

View File

@@ -10,7 +10,7 @@
<fieldset>
<span>
@Html.LabelFor(m => m.Part.Record.PageSize, T("Maximum number of items to display"))
@Html.TextBoxFor(m => m.Part.Record.PageSize, new { @class = "text text-small" })
@Html.TextBoxFor(m => m.Part.Record.PageSize, new { @class = "text small" })
</span>
</fieldset>
<fieldset>

View File

@@ -11,11 +11,11 @@ namespace Orchard.Core.Contents {
public class DynamicPermissions : IPermissionProvider {
private static readonly Permission PublishContent = new Permission { Description = "Publish or unpublish {0} for others", Name = "Publish_{0}", ImpliedBy = new[] { Permissions.PublishContent } };
private static readonly Permission PublishOwnContent = new Permission { Description = "Publish or unpublish {0}", Name = "PublishOwn_{0}", ImpliedBy = new[] { PublishContent, Permissions.PublishOwnContent } };
private static readonly Permission EditContent = new Permission { Description = "Edit {0} for others", Name = "Edit_{0}", ImpliedBy = new[] { PublishContent, Permissions.PublishContent } };
private static readonly Permission EditContent = new Permission { Description = "Edit {0} for others", Name = "Edit_{0}", ImpliedBy = new[] { PublishContent, Permissions.EditContent } };
private static readonly Permission EditOwnContent = new Permission { Description = "Edit {0}", Name = "EditOwn_{0}", ImpliedBy = new[] { EditContent, PublishOwnContent, Permissions.EditOwnContent } };
private static readonly Permission DeleteContent = new Permission { Description = "Delete {0} for others", Name = "Delete_{0}", ImpliedBy = new[] { Permissions.DeleteContent } };
private static readonly Permission DeleteOwnContent = new Permission { Description = "Delete {0}", Name = "DeleteOwn_{0}", ImpliedBy = new[] { DeleteContent, Permissions.DeleteOwnContent } };
private static readonly Permission ViewContent = new Permission { Description = "View {0} by others", Name = "View_{0}", ImpliedBy = new[] { Permissions.EditContent } };
private static readonly Permission ViewContent = new Permission { Description = "View {0} by others", Name = "View_{0}", ImpliedBy = new[] { EditContent, Permissions.ViewContent } };
private static readonly Permission ViewOwnContent = new Permission { Description = "View own {0}", Name = "ViewOwn_{0}", ImpliedBy = new[] { ViewContent, Permissions.ViewOwnContent } };
public static readonly Dictionary<string, Permission> PermissionTemplates = new Dictionary<string, Permission> {

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The contents module enables the creation of custom content types.
Features:
Contents

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The dashboard module is providing the dashboard screen of the admininstration UI of the application.
FeatureDescription: Standard admin dashboard.
Category: Core

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The Feeds module is providing RSS feeds to content items.
FeatureDescription: RSS feeds for content items.
Category: Syndication

View File

@@ -120,13 +120,19 @@ namespace Orchard.Core.Navigation.Drivers {
// will be displayed.
for (var i = 0; topLevelItems.Any() && i < part.StartLevel - 1; i++) {
var temp = new List<MenuItem>();
if (selectedPath != null) {
// should the menu be filtered on the currently displayed page ?
if (part.ShowFullMenu) {
foreach (var menuItem in topLevelItems) {
temp.AddRange(menuItem.Items);
}
}
else if (selectedPath != null) {
topLevelItems = topLevelItems.Intersect(selectedPath.Where(x => x.Selected)).ToList();
foreach (var menuItem in topLevelItems) {
temp.AddRange(menuItem.Items);
}
}
topLevelItems = temp;
topLevelItems = temp;
}
// limit the number of levels to display (down from and including the start level)
@@ -165,6 +171,7 @@ namespace Orchard.Core.Navigation.Drivers {
Breadcrumb = part.Breadcrumb,
AddCurrentPage = part.AddCurrentPage,
AddHomePage = part.AddHomePage,
ShowFullMenu = part.ShowFullMenu,
Menus = _menuService.GetMenus(),
};
@@ -181,6 +188,7 @@ namespace Orchard.Core.Navigation.Drivers {
part.Breadcrumb = model.Breadcrumb;
part.AddHomePage = model.AddHomePage;
part.AddCurrentPage = model.AddCurrentPage;
part.ShowFullMenu = model.ShowFullMenu;
part.Menu = _contentManager.Get(model.CurrentMenuId).Record;
}
@@ -193,6 +201,7 @@ namespace Orchard.Core.Navigation.Drivers {
context.ImportAttribute(part.PartDefinition.Name, "Breadcrumb", x => part.Breadcrumb = Convert.ToBoolean(x));
context.ImportAttribute(part.PartDefinition.Name, "AddCurrentPage", x => part.AddCurrentPage = Convert.ToBoolean(x));
context.ImportAttribute(part.PartDefinition.Name, "AddHomePage", x => part.AddHomePage = Convert.ToBoolean(x));
context.ImportAttribute(part.PartDefinition.Name, "ShowFullMenu", x => part.ShowFullMenu = Convert.ToBoolean(x));
context.ImportAttribute(part.PartDefinition.Name, "Menu", x => part.Menu = context.GetItemFromSession(x).Record);
}
@@ -206,6 +215,7 @@ namespace Orchard.Core.Navigation.Drivers {
context.Element(part.PartDefinition.Name).SetAttributeValue("Breadcrumb", part.Breadcrumb);
context.Element(part.PartDefinition.Name).SetAttributeValue("AddCurrentPage", part.AddCurrentPage);
context.Element(part.PartDefinition.Name).SetAttributeValue("AddHomePage", part.AddHomePage);
context.Element(part.PartDefinition.Name).SetAttributeValue("ShowFullMenu", part.ShowFullMenu);
}
}

View File

@@ -15,14 +15,6 @@ namespace Orchard.Core.Navigation.Handlers {
_contentManager = contentManager;
}
protected override void GetItemMetadata(GetContentItemMetadataContext context) {
if(context.ContentItem.ContentType != "Menu") {
return;
}
context.Metadata.Identity.Add("name", context.ContentItem.As<TitlePart>().Title);
}
protected override void Removing(RemoveContentContext context) {
if (context.ContentItem.ContentType != "Menu") {
return;

View File

@@ -190,5 +190,13 @@ namespace Orchard.Core.Navigation {
return 5;
}
public int UpdateFrom5() {
ContentDefinitionManager.AlterTypeDefinition("Menu", cfg => cfg
.WithPart("IdentityPart")
);
return 6;
}
}
}

View File

@@ -1,4 +1,5 @@
using Orchard.ContentManagement;
using Orchard.ContentManagement.FieldStorage.InfosetStorage;
using Orchard.ContentManagement.Records;
namespace Orchard.Core.Navigation.Models {
@@ -32,5 +33,10 @@ namespace Orchard.Core.Navigation.Models {
get { return Record.Menu; }
set { Record.Menu = value; }
}
public bool ShowFullMenu {
get { return bool.Parse(this.As<InfosetPart>().Get<MenuWidgetPart>("ShowFullMenu") ?? "false"); }
set { this.As<InfosetPart>().Set<MenuWidgetPart>("ShowFullMenu", value.ToString()); }
}
}
}

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The navigation module creates and manages a simple navigation menu for the front-end of the application and allows you to add content items to the admin menu.
FeatureDescription: Menu management.
Category: Core

View File

@@ -11,5 +11,6 @@ namespace Orchard.Core.Navigation.ViewModels {
public bool Breadcrumb { get; set; }
public bool AddHomePage { get; set; }
public bool AddCurrentPage { get; set; }
public bool ShowFullMenu { get; set; }
}
}

View File

@@ -107,7 +107,7 @@
<div>
<h2>@menuPartEntry.Text</h2>
<span class="navigation-type">(@menuPartEntry.ContentItem.TypeDefinition.DisplayName)</span>
<span class="navigation-position"><input type="text" class="text-box" name="@Html.NameOf(m => m.MenuItemEntries[i].Position)" value="@menuPartEntry.Position" /></span>
<span class="navigation-position"><input type="text" class="text" name="@Html.NameOf(m => m.MenuItemEntries[i].Position)" value="@menuPartEntry.Position" /></span>
<span class="navigation-actions">
<input type="hidden" name="@Html.NameOf(m => m.MenuItemEntries[i].MenuItemId)" value="@menuPartEntry.MenuItemId" />
@Html.ItemEditLink(T("Edit").Text, menuPartEntry.ContentItem, new { returnUrl = Request.RawUrl })@T(" | ")

View File

@@ -3,6 +3,6 @@
<fieldset>
<label for="@Html.FieldIdFor(m => m.Url)">@T("Url")</label>
@Html.TextBoxFor(m => m.Url, new { @class = "large text" })
@Html.TextBoxFor(m => m.Url, new { @class = "text large" })
<span class="hint">@T("A valid url, i.e. ~/my-page, http://orchardproject.net, /content/file.pdf, ...")</span>
</fieldset>

View File

@@ -14,13 +14,13 @@
<fieldset>
<label for="@Html.FieldIdFor(m => m.StartLevel)">@T("Start Level")</label>
@Html.TextBoxFor(m => m.StartLevel, new { @class = "text text-small" })
@Html.TextBoxFor(m => m.StartLevel, new { @class = "text small" })
<span class="hint">@T("The level the menu should start at.")</span>
</fieldset>
<fieldset>
<label for="@Html.FieldIdFor(m => m.StopLevel)">@T("Levels to display")</label>
@Html.TextBoxFor(m => m.StopLevel, new { @class = "text text-small" })
@Html.TextBoxFor(m => m.StopLevel, new { @class = "text small" })
<span class="hint">@T("The number of levels to display, \"0\" meaning all levels.")</span>
</fieldset>
@@ -42,4 +42,10 @@
<label class="forcheckbox" for="@Html.FieldIdFor(m => m.AddCurrentPage)">@T("Add the current content item as the last element")</label>
<span class="hint">@T("Check to render the current content item as the last element.")</span>
</fieldset>
</div>
</div>
<fieldset>
@Html.EditorFor(m => m.ShowFullMenu)
<label class="forcheckbox" for="@Html.FieldIdFor(m => m.ShowFullMenu)">@T("No filter on selected page")</label>
<span class="hint">@T("Check for the menu to be display without filtering the selected current page.")</span>
</fieldset>

View File

@@ -8,9 +8,9 @@
<label for="OnAdminMenu" class="forcheckbox">@T("Show on admin menu")</label>
<div data-controllerid="OnAdminMenu" class="">
<label for="AdminMenuText">@T("Menu text")</label>
@Html.TextBoxFor(m => m.AdminMenuText, new { @class = "text-box single-line" })
@Html.TextBoxFor(m => m.AdminMenuText, new { @class = "text single-line" })
<label for="AdminMenuPosition">@T("Position")</label>
@Html.TextBoxFor(m => m.AdminMenuPosition, new { @class = "text-box single-line" })
@Html.TextBoxFor(m => m.AdminMenuPosition, new { @class = "text single-line" })
</div>
</fieldset>

View File

@@ -17,7 +17,7 @@
<span class="hint">@T("Select which menu you want the content item to be displayed on.")</span>
<label for="MenuText">@T("Menu text")</label>
@Html.TextBoxFor(m => m.MenuText, new { @class = "text-box single-line" })
@Html.TextBoxFor(m => m.MenuText, new { @class = "text single-line" })
<span class="hint">@T("The text that should appear in the menu.")</span>
</div>
</fieldset>
@@ -27,7 +27,7 @@ else {
<fieldset>
<label for="MenuText">@T("Menu text")</label>
@Html.TextBoxFor(m => m.MenuText, new { @class = "textMedium", autofocus = "autofocus" })
@Html.TextBoxFor(m => m.MenuText, new { @class = "text medium", autofocus = "autofocus" })
<span class="hint">@T("The text that should appear in the menu.")</span>
@Html.HiddenFor(m => m.OnMenu, true)
@Html.HiddenFor(m => m.CurrentMenuId, Request["menuId"])

View File

@@ -3,6 +3,6 @@
<fieldset>
<div>
@Html.LabelFor(m => m.ShapeType, T("Type of the shape to display"))
@Html.TextBoxFor(m => m.ShapeType, new { @class = "text textMedium" })
@Html.TextBoxFor(m => m.ShapeType, new { @class = "text medium" })
</div>
</fieldset>

View File

@@ -30,6 +30,6 @@ using System.Security;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The dashboard module is providing the reports screen of the application.
FeatureDescription: Reports management.
Category: Core

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The scheduling module enables background task scheduling.
FeatureDescription: Scheduled background tasks.
Category: Core

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The settings module creates site settings that other modules can contribute to.
FeatureDescription: Site settings.
Category: Core

View File

@@ -16,7 +16,7 @@
</div>
<div>
<label for="@Html.FieldIdFor(m => m.BaseUrl)">@T("Base url ")</label>
@Html.TextBoxFor(m => m.BaseUrl, new { @class = "textMedium" })
@Html.TextBoxFor(m => m.BaseUrl, new { @class = "text medium" })
<span class="hint">@T("Enter the fully qualified base url of your website.")</span>
<span class="hint">@T("e.g., http://localhost:30320/orchardlocal, http://www.yourdomain.com")</span>
</div>
@@ -50,7 +50,7 @@
</div>
<div>
<label for="DefaultPageSize">@T("Default number of items per page")</label>
@Html.TextBoxFor(m => m.PageSize, new { @class = "text-small" })
@Html.TextBoxFor(m => m.PageSize, new { @class = "text small" })
<span class="hint">@T("Determines the default number of items that are shown per page.")</span>
</div>
</fieldset>

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The shapes module contains core shape templates and display hooks.
FeatureDescription: Core shape templates and display hooks.
Category: Core

View File

@@ -223,7 +223,7 @@
$(function () {
var magicToken = $("input[name=__RequestVerificationToken]").first();
if (!magicToken) { return; } // no sense in continuing if form POSTS will fail
$("a[itemprop~=UnsafeUrl]").on("click", function() {
$("body").on("click", "a[itemprop~=UnsafeUrl]", function() {
var _this = $(this);
var hrefParts = _this.attr("href").split("?");
var form = $("<form action=\"" + hrefParts[0] + "\" method=\"POST\" />");

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The title module enables content items to have titles.
FeatureDescription: Title content part.
Category: Core

View File

@@ -2,6 +2,6 @@
<fieldset>
@Html.LabelFor(m => m.Title, T("Title"))
@Html.TextBoxFor(m => m.Title, new { @class = "large text", autofocus = "autofocus" })
@Html.TextBoxFor(m => m.Title, new { @class = "text large", autofocus = "autofocus" })
<span class="hint">@T("You must provide a title for this content item")</span>
</fieldset>

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The XmlRpc module enables creation of contents from client applications such as LiveWriter.
FeatureDescription: XML-RPC opt-in implementation.
Category: Content Publishing

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The Lucene module enables the site to be indexed using Lucene.NET. The index generated by this module can then be used by the search module to provide an integrated full-text search experience to a web site.
FeatureDescription: Lucene indexing services.
Dependencies: Orchard.Indexing

View File

@@ -30,6 +30,6 @@ using System.Security;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Lucene.Models;
@@ -23,7 +24,6 @@ namespace Lucene.Services {
/// </summary>
public class LuceneIndexProvider : IIndexProvider {
private readonly IAppDataFolder _appDataFolder;
private readonly ShellSettings _shellSettings;
public static readonly Version LuceneVersion = Version.LUCENE_29;
private readonly Analyzer _analyzer ;
private readonly string _basePath;
@@ -31,11 +31,10 @@ namespace Lucene.Services {
public LuceneIndexProvider(IAppDataFolder appDataFolder, ShellSettings shellSettings) {
_appDataFolder = appDataFolder;
_shellSettings = shellSettings;
_analyzer = CreateAnalyzer();
// TODO: (sebros) Find a common way to get where tenant's specific files should go. "Sites/Tenant" is hard coded in multiple places
_basePath = _appDataFolder.Combine("Sites", _shellSettings.Name, "Indexes");
_basePath = _appDataFolder.Combine("Sites", shellSettings.Name, "Indexes");
Logger = NullLogger.Instance;
@@ -152,13 +151,13 @@ namespace Lucene.Services {
if (!documentIds.Any()) {
return;
}
using(var writer = new IndexWriter(GetDirectory(indexName), _analyzer, false, IndexWriter.MaxFieldLength.UNLIMITED)) {
var query = new BooleanQuery();
try {
foreach (var id in documentIds) {
query.Add(new BooleanClause(new TermQuery(new Term("id", id.ToString())), Occur.SHOULD));
query.Add(new BooleanClause(new TermQuery(new Term("id", id.ToString(CultureInfo.InvariantCulture))), Occur.SHOULD));
}
writer.DeleteDocuments(query);

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Lucene.Models;
using Lucene.Net.Analysis;
using Lucene.Net.Index;
using Lucene.Net.Search;
using Lucene.Net.Store;
@@ -33,6 +34,7 @@ namespace Lucene.Services {
private bool _exactMatch;
private float _boost;
private Query _query;
private readonly Analyzer _analyzer = LuceneIndexProvider.CreateAnalyzer();
public ILogger Logger { get; set; }
@@ -68,10 +70,9 @@ namespace Lucene.Services {
query = QueryParser.Escape(query);
}
var analyzer = LuceneIndexProvider.CreateAnalyzer();
foreach (var defaultField in defaultFields) {
CreatePendingClause();
_query = new QueryParser(LuceneIndexProvider.LuceneVersion, defaultField, analyzer).Parse(query);
_query = new QueryParser(LuceneIndexProvider.LuceneVersion, defaultField, _analyzer).Parse(query);
}
return this;
@@ -83,9 +84,9 @@ namespace Lucene.Services {
return this;
}
public ISearchBuilder WithinRange(string field, int min, int max) {
public ISearchBuilder WithinRange(string field, int? min, int? max, bool includeMin = true, bool includeMax = true) {
CreatePendingClause();
_query = NumericRangeQuery.NewIntRange(field, min, max, true, true);
_query = NumericRangeQuery.NewIntRange(field, min, max, includeMin, includeMax);
return this;
}
@@ -95,9 +96,9 @@ namespace Lucene.Services {
return this;
}
public ISearchBuilder WithinRange(string field, double min, double max) {
public ISearchBuilder WithinRange(string field, double? min, double? max, bool includeMin = true, bool includeMax = true) {
CreatePendingClause();
_query = NumericRangeQuery.NewDoubleRange(field, min, max, true, true);
_query = NumericRangeQuery.NewDoubleRange(field, min, max, includeMin, includeMax);
return this;
}
@@ -111,15 +112,15 @@ namespace Lucene.Services {
return this;
}
public ISearchBuilder WithinRange(string field, DateTime min, DateTime max) {
public ISearchBuilder WithinRange(string field, DateTime? min, DateTime? max, bool includeMin = true, bool includeMax = true) {
CreatePendingClause();
_query = new TermRangeQuery(field, DateTools.DateToString(min, DateTools.Resolution.MILLISECOND), DateTools.DateToString(max, DateTools.Resolution.MILLISECOND), true, true);
_query = new TermRangeQuery(field, min.HasValue ? DateTools.DateToString(min.Value, DateTools.Resolution.MILLISECOND) : null, max.HasValue ? DateTools.DateToString(max.Value, DateTools.Resolution.MILLISECOND) : null, includeMin, includeMax);
return this;
}
public ISearchBuilder WithinRange(string field, string min, string max) {
public ISearchBuilder WithinRange(string field, string min, string max, bool includeMin = true, bool includeMax = true) {
CreatePendingClause();
_query = new TermRangeQuery(field, QueryParser.Escape(min.ToLower()), QueryParser.Escape(max.ToLower()), true, true);
_query = new TermRangeQuery(field, min != null ? QueryParser.Escape(min.ToLower()) : null, max != null ? QueryParser.Escape(max.ToLower()) : null, includeMin, includeMax);
return this;
}
@@ -159,8 +160,6 @@ namespace Lucene.Services {
_query = null;
_boost = 0;
_asFilter = false;
_sort = String.Empty;
_comparer = 0;
}
private void CreatePendingClause() {
@@ -189,7 +188,7 @@ namespace Lucene.Services {
_clauses.Add(new BooleanClause(_query, _occur));
}
_query = null;
InitPendingClause();
}
public ISearchBuilder SortBy(string name) {

View File

@@ -2,8 +2,8 @@
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: The Markdown module enables rich text contents to be created using the Markdown syntax.
FeatureDescription: Markdown editor.
Category: Input Editor

View File

@@ -26,6 +26,6 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Xml.Linq;
using Orchard.Alias.Records;
using Orchard.Data;
@@ -13,8 +14,9 @@ namespace Orchard.Alias.Implementation.Storage {
void Remove(string path);
void Remove(string path, string aliasSource);
void RemoveBySource(string aliasSource);
IEnumerable<Tuple<string, string, IDictionary<string, string>, string>> List();
IEnumerable<Tuple<string, string, IDictionary<string, string>, string>> List(string sourceStartsWith);
IEnumerable<Tuple<string, string, IDictionary<string, string>, string, int>> List(Expression<Func<AliasRecord, bool>> predicate);
IEnumerable<Tuple<string, string, IDictionary<string, string>, string, int>> List();
IEnumerable<Tuple<string, string, IDictionary<string, string>, string, int>> List(string sourceStartsWith);
}
public class AliasStorage : IAliasStorage {
@@ -124,15 +126,25 @@ namespace Orchard.Alias.Implementation.Storage {
}
}
public IEnumerable<Tuple<string, string, IDictionary<string, string>, string>> List() {
return _aliasRepository.Table.OrderBy(a => a.Id).Select(ToDictionary).ToList();
public IEnumerable<Tuple<string, string, IDictionary<string, string>, string, int>> List() {
return List((Expression<Func<AliasRecord, bool>>) null);
}
public IEnumerable<Tuple<string, string, IDictionary<string, string>, string>> List(string sourceStartsWith) {
return _aliasRepository.Table.Where(a => a.Source.StartsWith(sourceStartsWith)).OrderBy(a => a.Id).Select(ToDictionary).ToList();
public IEnumerable<Tuple<string, string, IDictionary<string, string>, string, int>> List(Expression<Func<AliasRecord, bool>> predicate) {
var table = _aliasRepository.Table;
if (predicate != null) {
table = table.Where(predicate);
}
return table.OrderBy(a => a.Id).Select(ToDictionary).ToList();
}
private static Tuple<string, string, IDictionary<string, string>, string> ToDictionary(AliasRecord aliasRecord) {
public IEnumerable<Tuple<string, string, IDictionary<string, string>, string, int>> List(string sourceStartsWith) {
return List(a => a.Source.StartsWith(sourceStartsWith));
}
private static Tuple<string, string, IDictionary<string, string>, string, int> ToDictionary(AliasRecord aliasRecord) {
IDictionary<string, string> routeValues = new Dictionary<string, string>();
if (aliasRecord.Action.Area != null) {
routeValues.Add("area", aliasRecord.Action.Area);
@@ -148,7 +160,7 @@ namespace Orchard.Alias.Implementation.Storage {
routeValues.Add(attr.Name.LocalName, attr.Value);
}
}
return Tuple.Create(aliasRecord.Path, aliasRecord.Action.Area, routeValues, aliasRecord.Source);
return Tuple.Create(aliasRecord.Path, aliasRecord.Action.Area, routeValues, aliasRecord.Source, aliasRecord.Id);
}
}
}

View File

@@ -0,0 +1,5 @@
namespace Orchard.Alias.Implementation.Updater {
public class AliasUpdateCursor : IAliasUpdateCursor {
public int Cursor { get; set; }
}
}

View File

@@ -1,10 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.Alias.Implementation.Holder;
using Orchard.Alias.Implementation.Storage;
using Orchard.Data;
using Orchard.Environment;
using Orchard.Tasks;
using Orchard.Logging;
@@ -13,12 +10,14 @@ namespace Orchard.Alias.Implementation.Updater {
public class AliasHolderUpdater : IOrchardShellEvents, IBackgroundTask {
private readonly IAliasHolder _aliasHolder;
private readonly IAliasStorage _storage;
private readonly IAliasUpdateCursor _cursor;
public ILogger Logger { get; set; }
public AliasHolderUpdater(IAliasHolder aliasHolder, IAliasStorage storage) {
public AliasHolderUpdater(IAliasHolder aliasHolder, IAliasStorage storage, IAliasUpdateCursor cursor) {
_aliasHolder = aliasHolder;
_storage = storage;
_cursor = cursor;
Logger = NullLogger.Instance;
}
@@ -31,7 +30,14 @@ namespace Orchard.Alias.Implementation.Updater {
private void Refresh() {
try {
var aliases = _storage.List();
// only retreive aliases which have not been processed yet
var aliases = _storage.List(x => x.Id > _cursor.Cursor).ToArray();
// update the last processed id
if (aliases.Any()) {
_cursor.Cursor = aliases.Last().Item5;
}
_aliasHolder.SetAliases(aliases.Select(alias => new AliasInfo { Path = alias.Item1, Area = alias.Item2, RouteValues = alias.Item3 }));
}
catch (Exception ex) {

View File

@@ -0,0 +1,5 @@
namespace Orchard.Alias.Implementation.Updater {
public interface IAliasUpdateCursor : ISingletonDependency {
int Cursor { get; set; }
}
}

View File

@@ -2,8 +2,8 @@ Name: Alias
AntiForgery: enabled
Author: The Orchard Team
Website: http://orchardproject.net
Version: 1.7.1
OrchardVersion: 1.7.1
Version: 1.7.2
OrchardVersion: 1.7.2
Description: Maps friendly urls to specific module actions.
FeatureDescription: Maps friendly urls to specific module actions.
Category: Content

View File

@@ -21,6 +21,10 @@
</UpgradeBackupLocation>
<TargetFrameworkProfile />
<UseIISExpress>false</UseIISExpress>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -67,6 +71,8 @@
<Content Include="Views\Admin\Index.cshtml" />
<Content Include="Web.config" />
<Content Include="Views\Web.config" />
<Compile Include="Implementation\Updater\AliasUpdateCursor.cs" />
<Compile Include="Implementation\Updater\IAliasUpdateCursor.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Content Include="Module.txt" />
</ItemGroup>

Some files were not shown because too many files have changed in this diff Show More