Angular and ASP.NET Core Reporting Best Practices
- 2 minutes to read
The AspNetCore.Reporting.BestPractices repository contains an example application that demonstrates best practices when you design a web reporting application with the ASP.NET Core backend and ASP.NET Core or Angular frontend. The repository’s README file consists of the following sections that describe these best practices:
- How to Run the Example Application
- Switch to Asynchronous Mode
- Optimize Memory Consumption
- Manage Database Connections
- Application Security
- Handle Exceptions
- Prepare Skeleton Screen
- Localize Client UI
How to Upgrade a Project
Each major DevExpress version has its own branch in the repository. If you download a branch with the same major version as you’ve got on your machine, no upgrade is necessary because packages are updated automatically when the project is built.
To upgrade a project manually, do the following:
- Update NuGet packages for the solution.
- Update the version of the
@devexpress/analytics-core
,devexpress-reporting-angular
,devexpress-reporting
,devexpress-richedit
, anddevextreme-dist
packages in the package.json file and runnpm install
. The package.json files are in the ASP.NET Core MVC project’s root folder and in the ClientApp folder of the AspNetCore.Reporting.Angular project.
For more information, review the Version Upgrade Guide for Web Reporting help topic.