Skip to content

Commit 34bb722

Browse files
authored
update links
upd readme
2 parents c5e1199 + 17e0fd5 commit 34bb722

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Readme.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ This **README** file describes best practices to follow when you develop a web a
1212

1313
This repository also contains an example application that demonstrates the described techniques. This application is split into three projects:
1414

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.
1818

1919
You can use the example code in your web application and modify it for different scenarios.
2020

@@ -52,15 +52,14 @@ To run the example application, you need to install packages from the DevExpress
5252
### Install NPM Dependencies
5353

5454
- 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`.
5656

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.
5858
5959
### Start the Application
6060

6161
Press the **Run** button or F5 to run the example application.
6262

63-
6463
![Best Practices for Web Reporting App](Images/screenshot.png)
6564

6665
## Switch to Asynchronous Mode
@@ -115,7 +114,6 @@ To optimize memory consumption, use the following techniques:
115114

116115
[ServiceRegistrator.cs](AspNetCore.Reporting.Common/Services/ServiceRegistrator.cs#L17-L21)
117116

118-
119117
```csharp
120118
var cacheCleanerSettings = new CacheCleanerSettings(TimeSpan.FromMinutes(1), TimeSpan.FromSeconds(30), TimeSpan.FromMinutes(2), TimeSpan.FromMinutes(2));
121119
services.AddSingleton<CacheCleanerSettings>(cacheCleanerSettings);
@@ -124,7 +122,7 @@ To optimize memory consumption, use the following techniques:
124122
services.AddSingleton<StorageCleanerSettings>(storageCleanerSettings);
125123
```
126124

127-
> Keep in mind that .NET is a managed environment, so data saved to the disk storage and removed from cache remains in memory until .NET runs garbage collection. Refer to the [Fundamentals of garbage collection](https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/fundamentals) article for more information.
125+
> Keep in mind that .NET is a managed environment, so data saved to the disk storage and removed from cache remains in memory until .NET runs garbage collection. Refer to the [Fundamentals of garbage collection](https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/fundamentals) article for more information.
128126
129127
## Manage Database Connections
130128

@@ -285,7 +283,8 @@ Review the project's [Views/Home/DesignReport.cshtml](AspNetCore.Reporting.MVC/V
285283

286284
The following code snippet shows how to pass the access token in an Angular application:
287285

288-
[report-viewer.ts](AspNetCore.Reporting.Angular/ClientApp/src/app/reportviewer/report-viewer.ts#L30-L48)
286+
[report-viewer.ts](AspNetCore.Reporting.Angular/AspNetCore.Reporting.Angular.Client/src/app/reportviewer/report-viewer.ts#L30-L40)
287+
289288

290289
```typescript
291290
import { AuthorizeService } from '../../api-authorization/authorize.service';
@@ -305,7 +304,8 @@ import { AuthorizeService } from '../../api-authorization/authorize.service';
305304
}
306305
// ...
307306
```
308-
Review the report viewer'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's files ([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)) for the full code.
307+
Review the report viewer'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's files ([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)) for the full code.
308+
309309
### Implement User Authorization
310310

311311
To authorize a user and restrict access to reports based on arbitrary logic, implement and register an [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
563563

564564
For a full code example, refer to the example project's [Views/Home/DesignReport.cshtml](AspNetCore.Reporting.MVC/Views/Home/DesignReport.cshtml) or [Views/Home/DisplayReport.cshtml](AspNetCore.Reporting.MVC/Views/Home/DisplayReport.cshtml).
565565
<!-- feedback -->
566-
## Does this example address your development requirements/objectives?
567-
568-
[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=AspNetCore.Reporting.BestPractices&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=AspNetCore.Reporting.BestPractices&~~~was_helpful=no)
569-
566+
## Does this example address your development requirements/objectives?
567+
568+
[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=AspNetCore.Reporting.BestPractices&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=AspNetCore.Reporting.BestPractices&~~~was_helpful=no)
569+
570570
(you will be redirected to DevExpress.com to submit your response)
571571
<!-- feedback end -->

0 commit comments

Comments
 (0)