Reporting for Web (ASP.NET MVC) - Reporting Controls in a Clustered Web Environment (Web Farms or Web Garden)
This example demonstrates how to use the End-User Report Designer and Web Document Viewer in a clustered environment.
The following methods are called on application start:
- DefaultWebDocumentViewerContainer.UseFileReportStorage
- DefaultWebDocumentViewerContainer.UseFileDocumentStorage
- DefaultWebDocumentViewerContainer.UseFileExportedDocumentStorage
The first method parameter is the path to the shared folder. The second method parameter is the StorageSynchronizationMode.InterProcess enumeration value.
The methods instructs reporting components to use a file storage for reports, documents and exported documents.
The DefaultWebDocumentViewerContainer.UseCachedReportSourceBuilder method forces the Document Viewer and Report Designer's Preview to use the CachedReportSourceWeb instance as the report source.
The application uses the following folders to store reports, documents and exported documents:
- CustomSharedViewerStorage
- CustomSharedDesignerStorage
These folders should be shared between application instances in a clustered environment and accessible to all web farm's nodes.
- Global.asax.cs (VB: Global.asax.vb)
- CustomCachedReportSourceWebResolver.cs (VB: CustomCachedReportSourceWebResolver.vb)
(you will be redirected to DevExpress.com to submit your response)