Skip to main content

Use ASP.NET Core Reporting in non-Windows Environments

  • 2 minutes to read

This topic describes how to enable the DevExpress.Drawing rendering engine in your ASP.NET Core application.

The DevExpress Drawing Library allows you to use the new Skia-based drawing engine. This library ships with the DevExpress primitives, which serve as counterparts for the System.Drawing primitives (Font, Pen, Brush, and so on). If you use the the System.Drawing.Common package v7 and later, the Skia-based engine is enabled automatically.

Refer to the following article for information on how to use the DevExpress Drawing library on Linux or macOS: Use Reporting on Linux and macOS..

Configuration

To enable the SkiaSharp-based engine, add the following packages to your application:

If the engine is not enabled automatically, please research the reason in your environment (you can contact the DevExpress Support team, specify your OS version, installed software dependencies, if you already added required packages to your non-Windows app).

Refer to the following article for more information on library troubleshooting: Drawing Library Troubleshooting.

Configure the Environment

The following commands configure the environment in the Dockerfile:

View Example: Reporting for ASP.NET Core - How to Use the SkiaSharp-Based DevExpress Drawing Engine

RUN apt-get update
RUN apt-get install -y libc6 libicu-dev libfontconfig1