This example incorporates the Web Document Viewer into a client-side app built with Angular. The example consists of two parts:
-
The ServerApp folder contains the backend project. The project is an ASP.NET Core application that enables cross-domain requests (CORS) (Access-Control-Allow-Origin) and implements custom web report storage.
-
The angular-document-viewer folder contains the client application built with Angular.
In the ServerApp folder, run the following command:
dotnet run
The server starts at http://localhost:5000. To debug the server, run the application in Visual Studio.
In the angular-document-viewer folder, run the following commands:
npm install
npm start
- Point your browser to http://localhost:4200/ to see the result.
- Create an Angular Front-End Application with a Document Viewer
- Document Viewer Server-Side Application (ASP.NET Core)
- Document Viewer's Server-Side Configuration (ASP.NET MVC)
- Troubleshooting
- Reporting Application Diagnostics
(you will be redirected to DevExpress.com to submit your response)