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: embedding-reports/display-reports-in-applications/web-application/angular-report-viewer/how-to-use-with-report-server-net.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ The user account that will authenticate with the Report Server may be any User,
>To get the Sass-based Kendo UI themes, you can use either the pre-build CSS files or the NPM packages ([Getting the Sass-Based Themes](https://docs.telerik.com/kendo-ui/styles-and-layout/sass-themes/overview#getting-the-themes)).
61
+
>To get the Sass-based Kendo UI themes, you can use either the pre-built CSS files or the NPM packages ([Getting the Sass-Based Themes](https://docs.telerik.com/kendo-ui/styles-and-layout/sass-themes/overview#getting-the-themes)).
62
62
63
63
If you use the __styleUrls__ attribute to reference the CSS, it is required to set the view encapsulation to __None__:
64
64
@@ -83,7 +83,7 @@ export class AppComponent {
83
83
````
84
84
85
85
86
-
1. In the same component class, define a `reportSource` object property specifying the category and the name of the report that will be displaued. For example, if the category is **Samples** and the report is **Dashboard**, the syntax will look as follows:
86
+
1. In the same component class, define a `reportSource` object property specifying the category and the name of the report that will be displayed. For example, if the category is **Samples** and the report is **Dashboard**, the syntax will look as follows:
87
87
88
88
````TypeScript
89
89
reportSource = {
@@ -93,7 +93,7 @@ reportSource = {
93
93
````
94
94
95
95
96
-
1. In the same component class, define a `reportServer` object property with a `url` string pointing to the Report Server for .NET, and `getPersonalAccessToken` callback, which will be executed when the the report viewer request from the server to render the report.
96
+
1. In the same component class, define a `reportServer` object property with a `url` string pointing to the Report Server for .NET, and a `getPersonalAccessToken` callback, which will be executed when the report viewer requests from the server to render the report.
97
97
98
98
````JS
99
99
reportServer = {
@@ -107,7 +107,7 @@ reportServer = {
107
107
This is the **recommended** approach, but if an endpoint cannot be exposed, the token can be hardcoded in the callback: `getPersonalAccessToken: () => Promise.resolve('TOKEN_STRING')`
108
108
109
109
110
-
1. In the HTML template of the component, define the `<tr-viewer>` element, and pass the defined properties to their corresponding properties of the Angular Wrapper Report Viewer::
110
+
1. In the HTML template of the component, define the `<tr-viewer>` element, and pass the defined properties to their corresponding properties of the Angular Wrapper Report Viewer:
Copy file name to clipboardExpand all lines: embedding-reports/display-reports-in-applications/web-application/native-angular-report-viewer/how-to-use-with-report-server-net.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ reportSource = {
92
92
````
93
93
94
94
95
-
1. In the same component class, define a `reportServer` object property with a `url` string pointing to the Report Server for .NET, and `getPersonalAccessToken` callback, which will be executed when the report viewer requests from the server to render the report.
95
+
1. In the same component class, define a `reportServer` object property with a `url` string pointing to the Report Server for .NET, and a `getPersonalAccessToken` callback, which will be executed when the report viewer requests from the server to render the report.
Copy file name to clipboardExpand all lines: embedding-reports/display-reports-in-applications/web-application/native-blazor-report-viewer/how-to-use-with-report-server-net.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ The user account that will authenticate with the Report Server may be any User,
67
67
````
68
68
69
69
70
-
1. Set up an endpoint on the server that will securily return the token used by the Report Server for .NET to authorize. For example, creaate an environment variable in `launchSettins.json`**named 'RS_NET_TOKEN**, and store the token in it. Then, the endpoint can be configured to read and return the value of the environment variable:
70
+
1. Set up an endpoint on the server that will securely return the token used by the Report Server for .NET to authorize. For example, create an environment variable in the `launchSettins.json` file named **'RS_NET_TOKEN**, and store the token in it. Then, the endpoint can be configured to read and return the value of the environment variable:
71
71
72
72
````C#
73
73
app.MapGet("/rs-token", () =>
@@ -79,14 +79,14 @@ app.MapGet("/rs-token", () =>
79
79
80
80
For Blazor Web Assembly applications where the server is not available, the token can be injected on the `.RAZOR` page at build-time. Use `appsettings.{Environment}.json` files (they are bundled at build time), and read the token from the configuration.
81
81
82
-
1. Configure an `HttpClient` in the `Program.cs` file that will be ibjected on the `.RAZOR` page on the next step when we make a HTTP request to get the token from the server.
82
+
1. Configure an `HttpClient` in the `Program.cs` file that will be injected on the `.RAZOR` page on the next step when we make an HTTP request to get the token from the server.
83
83
84
84
````C#
85
85
builder.Services.AddHttpClient();
86
86
````
87
87
88
88
89
-
1. Create a method in the `RAZOR` or `RAZOR.CS` file of the Blazor component that return a `Task<string>` with the retrieved from the server token:
89
+
1. Create a method in the `RAZOR` or `RAZOR.CS` file of the Blazor component that returns a `Task<string>` with the token retrieved from the Report Server:
Copy file name to clipboardExpand all lines: embedding-reports/display-reports-in-applications/web-application/react-report-viewer/how-to-use-with-report-server-net.md
>note To get the Sass-based Kendo UI themes, you can use either the pre-build CSS files, the Kendo UI CDN, or the NPM packages ([Getting the Sass-Based Themes](https://docs.telerik.com/kendo-ui/styles-and-layout/sass-themes/installation)).
44
+
>note To get the Sass-based Kendo UI themes, you can use either the pre-built CSS files, the Kendo UI CDN, or the NPM packages ([Getting the Sass-Based Themes](https://docs.telerik.com/kendo-ui/styles-and-layout/sass-themes/installation)).
45
45
46
-
1. In the `.JSX` file where the report viewer will be used, create a `reportSource` object specifying the category and the name of the report that will be displaued. For example, if the category is **Samples** and the report is **Dashboard**, the syntax will look as follows:
46
+
1. In the `.JSX` file where the report viewer will be used, create a `reportSource` object specifying the category and the name of the report that will be displayed. For example, if the category is **Samples** and the report is **Dashboard**, the syntax will look as follows:
47
47
48
48
````JS
49
49
const reportSource = {
@@ -63,7 +63,7 @@ const viewerContainerStyle = {
63
63
````
64
64
65
65
66
-
1. In the same file, define a `reportServer` object with a `url` string pointing to the Report Server for .NET, and `getPersonalAccessToken` callback, which will be executed when the the report viewer request from the server to render the report.
66
+
1. In the same file, define a `reportServer` object with a `url` string pointing to the Report Server for .NET, and a `getPersonalAccessToken` callback, which will be executed when the report viewer requests from the server to render the report.
0 commit comments