Back to Devexpress

AzureCompatibility Class

corelibraries-devexpress-dot-utils-68123af3.md

latest2.7 KB
Original Source

AzureCompatibility Class

Contains options used to fix issues on Microsoft Azure websites.

Namespace : DevExpress.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public static class AzureCompatibility
vb
Public Module AzureCompatibility

Remarks

Set the static AzureCompatibility.Enable property to true at the application startup to resolve issues with rendering and printing on Microsoft Azure websites.

To use the AzureCompatibility.Enable property in your code, add a reference to the DevExpress.Data.v25.2.dll assembly to your project.

Important

Starting from v24.2, the following products use the Skia-based drawing engine when hosting on Azure (Linux):

The AzureCompatibility.Enable no longer affects these products.

Enable Azure Compatibility in Office File API

To use Office File API products in applications hosted on Microsoft Azure websites, set the AzureCompatibility.Enable property to true at application startup:

csharp
protected void Application_Start(object sender, EventArgs e) {
    DevExpress.Utils.AzureCompatibility.Enable = true;
}
csharp
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {
     // ...
     DevExpress.Utils.AzureCompatibility.Enable = true;
}

Limitations

Take into account the following limitations when you host Reporting applications on Microsoft Azure websites:

  • The WinControlContainer controls are rendered as bitmaps despite their ImageType property value.

Inheritance

Object AzureCompatibility

See Also

AzureCompatibility Members

Print Word Documents

DevExpress.Utils Namespace