You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ This **README** file describes best practices to follow when you develop a web a
12
12
13
13
This repository also contains an example application that demonstrates the described techniques. This application is split into three projects:
14
14
15
-
-[ASP.NetCore.Reporting.MVC](AspNetCore.Reporting.MVC) - An ASP.NET Core MVC application.
16
-
-[ASP.NetCore.Reporting.Angular](AspNetCore.Reporting.Angular) - An ASP.NET Core application with an Angular frontend.
17
-
-[ASP.NetCore.Reporting.Common](AspNetCore.Reporting.Common) - Implements services and business logic for the MVC and Angular projects.
15
+
-[AspNetCore.Reporting.MVC](AspNetCore.Reporting.MVC) - An ASP.NET Core MVC application.
16
+
-[AspNetCore.Reporting.Angular](AspNetCore.Reporting.Angular) - An application with ASP.NET Core backend and Angular frontend.
17
+
-[AspNetCore.Reporting.Common](AspNetCore.Reporting.Common) - Implements services and business logic for the MVC and Angular projects.
18
18
19
19
You can use the example code in your web application and modify it for different scenarios.
20
20
@@ -52,15 +52,14 @@ To run the example application, you need to install packages from the DevExpress
52
52
### Install NPM Dependencies
53
53
54
54
- For the **ASP.NET Core MVC** project, run `npm install` in the project's root folder.
55
-
- For the **Angular** project, navigate to the **ClientApp** directory and run `npm install`.
55
+
- For the **Angular** project, navigate to the *AspNetCore.Reporting.Angular.Client* directory and run `npm install`.
56
56
57
-
> **Note:** If you change the version of DevExpress NuGet packages used in the example application, make sure you also specify the matching minor versions for DevExpress client libraries in the **package.json** file.
57
+
> **Note:** If you change the version of DevExpress NuGet packages used in the example application, make sure you also specify the matching minor versions for DevExpress client libraries in the *package.json* file.
58
58
59
59
### Start the Application
60
60
61
61
Press the **Run** button or F5 to run the example application.
62
62
63
-
64
63

65
64
66
65
## Switch to Asynchronous Mode
@@ -115,7 +114,6 @@ To optimize memory consumption, use the following techniques:
>Keepinmindthat .NETisamanagedenvironment, sodatasavedtothediskstorageandremovedfromcacheremainsinmemoryuntil .NETrunsgarbagecollection. Refertothe [Fundamentalsofgarbagecollection](https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/fundamentals) article for more information.
125
+
>Keepinmindthat .NETisamanagedenvironment, sodatasavedtothediskstorageandremovedfromcacheremainsinmemoryuntil .NETrunsgarbagecollection. Refertothe [Fundamentalsofgarbagecollection](https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/fundamentals) article for more information.
128
126
129
127
## Manage Database Connections
130
128
@@ -285,7 +283,8 @@ Review the project's [Views/Home/DesignReport.cshtml](AspNetCore.Reporting.MVC/V
@@ -305,7 +304,8 @@ import { AuthorizeService } from '../../api-authorization/authorize.service';
305
304
}
306
305
// ...
307
306
```
308
-
Reviewthereportviewer's files ([report-viewer.html](AspNetCore.Reporting.Angular/ClientApp/src/app/reportviewer/report-viewer.html) and [report-viewer.ts](AspNetCore.Reporting.Angular/ClientApp/src/app/reportviewer/report-viewer.ts)) or the report designer'sfiles ([report-designer.html](AspNetCore.Reporting.Angular/ClientApp/src/app/reportdesigner/report-designer.html) and [report-designer.ts](AspNetCore.Reporting.Angular/ClientApp/src/app/reportdesigner/report-designer.ts)) forthefullcode.
307
+
Reviewthereportviewer's files ([report-viewer.html](AspNetCore.Reporting.Angular/AspNetCore.Reporting.Angular.Client//src/app/reportviewer/report-viewer.html) and [report-viewer.ts](AspNetCore.Reporting.Angular/AspNetCore.Reporting.Angular.Client/src/app/reportviewer/report-viewer.ts)) or the report designer'sfiles ([report-designer.html](AspNetCore.Reporting.Angular/AspNetCore.Reporting.Angular.Client/src/app/reportdesigner/report-designer.html) and [report-designer.ts](AspNetCore.Reporting.Angular/AspNetCore.Reporting.Angular.Client/src/app/reportdesigner/report-designer.ts)) forthefullcode.
308
+
309
309
### Implement User Authorization
310
310
311
311
Toauthorizeauserandrestrictaccesstoreportsbasedonarbitrarylogic, implementandregisteran [IWebDocumentViewerAuthorizationService](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.WebDocumentViewer.IWebDocumentViewerAuthorizationService) with [WebDocumentViewerOperationLogger](https://docs.devexpress.com/XtraReports/DevExpress.XtraReports.Web.WebDocumentViewer.WebDocumentViewerOperationLogger).
@@ -563,9 +563,9 @@ A translation does not always cover all the possible strings. You can use the lo
563
563
564
564
Forafullcodeexample, refertotheexampleproject's [Views/Home/DesignReport.cshtml](AspNetCore.Reporting.MVC/Views/Home/DesignReport.cshtml) or [Views/Home/DisplayReport.cshtml](AspNetCore.Reporting.MVC/Views/Home/DisplayReport.cshtml).
565
565
<!--feedback-->
566
-
## Does this example address your development requirements/objectives?
0 commit comments