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: doc/articles/controls/map-control-support.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ For the detailed procedure for Windows, please follow this link: https://msdn.mi
98
98
+ Application type
99
99
+ Hit *Create* and get the key
100
100
101
-
The key will be set as the value for the parameter _MapServiceToken_ for the MapControl object.
101
+
The key will be set as the value for the parameter *MapServiceToken* for the MapControl object.
102
102
103
103
### Android
104
104
@@ -119,7 +119,7 @@ The key will be set as the value for the parameter _MapServiceToken_ for the Map
119
119
120
120
**Note:** For apps in production we suggest restricting the keys to be used only by your Android app. This is possible by using the SHA-1 fingerprint of your app.
121
121
122
-
_For a detailed procedure on how to retrieve the SHA-1 fingerprint for your Android application, please follow this link: https://developers.google.com/maps/documentation/android-api/signup#release-cert_
122
+
*For a detailed procedure on how to retrieve the SHA-1 fingerprint for your Android application, please follow this link: <https://developers.google.com/maps/documentation/android-api/signup#release-cert>*
Copy file name to clipboardExpand all lines: doc/articles/features/web-authentication-broker.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ uid: Uno.Features.WAB
8
8
9
9
## Usage on WebAssembly
10
10
11
-
* The _redirect URI_**MUST** be with the origin (protocol + hostname + port) of the application. It is not possible to use a custom scheme URI.
12
-
* When using the `<iframe>` mode (see _advanced usages_ below), the server must allow for using CSP (Content Security Policy).
13
-
* Default _redirect URI_ is `<origin>/authentication-callback`. For example `http://localhost:5000/authentication-callback`.
11
+
* The *redirect URI***MUST** be with the origin (protocol + hostname + port) of the application. It is not possible to use a custom scheme URI.
12
+
* When using the `<iframe>` mode (see *advanced usages* below), the server must allow for using CSP (Content Security Policy).
13
+
* Default *redirect URI* is `<origin>/authentication-callback`. For example `http://localhost:5000/authentication-callback`.
14
14
* It is not possible for applications to clear cookies for the authentication server when this one is from another origin. The only way clear cookies is to deploy the app and the authentication server on the same site (sharing the same origin).
15
15
* You can change the size and the initial title of the open window by setting corresponding settings in `WinRTFeatureConfiguration.WebAuthenticationBroker` .
16
16
@@ -40,11 +40,11 @@ uid: Uno.Features.WAB
40
40
}
41
41
```
42
42
43
-
* To use the automatic discovery of the _redirect URI_, it is required to set the `IntentFilter` using the attributes like in the previous point. If you put it in the manifest, you'll need to set the URI using the `WinRTFeatureConfiguration.WebAuthenticationBroker.DefaultReturnUri` property.
43
+
* To use the automatic discovery of the *redirect URI*, it is required to set the `IntentFilter` using the attributes like in the previous point. If you put it in the manifest, you'll need to set the URI using the `WinRTFeatureConfiguration.WebAuthenticationBroker.DefaultReturnUri` property.
44
44
45
-
* Default _redirect URI_ will be `<scheme>:/authentication-callback`. Ex: `my-app-auth:/authentication-callback`
45
+
* Default *redirect URI* will be `<scheme>:/authentication-callback`. Ex: `my-app-auth:/authentication-callback`
46
46
47
-
* The default implementation of the `WebAuthenticationBroker` on Android will launch the system browser and the result will come back through the custom scheme of the _Return Uri_. The _AndroidX Chrome Custom Tabs_ may also be used. _Advanced_ section below contains instructions about this.
47
+
* The default implementation of the `WebAuthenticationBroker` on Android will launch the system browser and the result will come back through the custom scheme of the *Return Uri*. The *AndroidX Chrome Custom Tabs* may also be used. *Advanced* section below contains instructions about this.
48
48
49
49
## Advanced Usages
50
50
@@ -121,4 +121,4 @@ On WebAssembly, it is possible to use an in-application `<iframe>` instead of op
121
121
NOTES:
122
122
123
123
* The IFrame control should be present in the visual tree or the user won't see it.
124
-
* If you want to use a _silent_`<iframe>`, you don't need to create a control, you can simply use the `WebAuthenticationOptions.SilentMode` as the first parameter to `WebAuthenticationBroker.AuthenticateAsync()`.
124
+
* If you want to use a *silent*`<iframe>`, you don't need to create a control, you can simply use the `WebAuthenticationOptions.SilentMode` as the first parameter to `WebAuthenticationBroker.AuthenticateAsync()`.
@@ -37,7 +37,7 @@ For platforms supporting it, the custom protocol "oidc-auth:" will be used.
37
37
38
38
## Step 1 - Add Reference to OidcClient package
39
39
40
-
Add the package [`IdentityModel.OidcClient`](https://www.nuget.org/packages/IdentityModel.OidcClient) to all relevant _head_ projects of the solution.
40
+
Add the package [`IdentityModel.OidcClient`](https://www.nuget.org/packages/IdentityModel.OidcClient) to all relevant *head* projects of the solution.
41
41
42
42
## Step 2 - Prepare for Return Uri
43
43
@@ -80,7 +80,7 @@ Add the `oidc-auth:` custom scheme in `Info.plist` file.
80
80
</array>
81
81
```
82
82
83
-
Alternatively, you can use the editor integrated in Visual Studio to set it, in the _advanced_ tab:
83
+
Alternatively, you can use the editor integrated in Visual Studio to set it, in the *advanced* tab:
84
84
85
85

86
86
@@ -90,7 +90,7 @@ There's nothing special for UWP. Any return Uri will work. You can force it to
90
90
91
91
**WebAssembly**
92
92
93
-
There's nothing special for WASM. The default _return Uri_ of the platform (`WebAuthenticationBroker.GetCurrentApplicationCallbackUri()`) will work with this sample and will default to `<origin>/authentication-callback`. It should be something like `http://localhost:5000/authentication-callback` when running locally using Kestrel.
93
+
There's nothing special for WASM. The default *return Uri* of the platform (`WebAuthenticationBroker.GetCurrentApplicationCallbackUri()`) will work with this sample and will default to `<origin>/authentication-callback`. It should be something like `http://localhost:5000/authentication-callback` when running locally using Kestrel.
Copy file name to clipboardExpand all lines: doc/articles/guides/silverlight-migration/12-migrate-auth-ui.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
@@ -260,7 +260,7 @@ Let's walk through the implementation.
260
260
261
261
> [!TIP]
262
262
> As noted in the Microsoft documentation:
263
-
> _If your data does not undergo fine-grained changes, and if it's likely to be updated as part of a specific action, then you can make your bindings one-time, and force a manual update at any time with a call to **Update**._
263
+
> *If your data does not undergo fine-grained changes, and if it's likely to be updated as part of a specific action, then you can make your bindings one-time, and force a manual update at any time with a call to **Update**.*
264
264
265
265
1. To add support for the login when the **OK** (or Primary) button is clicked, update the **ContentDialog_PrimaryButtonClick** method as follows:
> You'll also need to register addresses for the other environments and adjust the code to use the right IDs & URIs. The redirect Uri must always be on the same hostname & port or otherwise it won't work.
73
73
74
-
* Optionally, a file in the Wasm project `wwwroot/authentication/login-callback.htm` with empty content (you could display a message like « _Please wait while the authentication process completes_ » for slower browsers).
74
+
* Optionally, a file in the Wasm project `wwwroot/authentication/login-callback.htm` with empty content (you could display a message like « *Please wait while the authentication process completes* » for slower browsers).
75
75
76
-
* Token cache is _in-memory_ for now. The library is not persisting the token anywhere in the browser yet. The app can save it.
76
+
* Token cache is *in-memory* for now. The library is not persisting the token anywhere in the browser yet. The app can save it.
Copy file name to clipboardExpand all lines: doc/articles/interop/wasm-javascript-1.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Uno fully embraces HTML5 as its display backend when targeting WebAssembly (WASM
18
18
19
19
In the HTML world, everything running in the browser is assets that must be downloaded from a server. To integrate existing JavaScript frameworks, they can be either download those from another location on the Internet (usually from a CDN service) or embed and deployed with the app.
20
20
21
-
The Uno Bootstrapper can automatically embed any asset and deploy them with the app. Some of them (CSS & JavaScript) can also be loaded with the app. Here's how to declare them in a _Uno Wasm_ project:
21
+
The Uno Bootstrapper can automatically embed any asset and deploy them with the app. Some of them (CSS & JavaScript) can also be loaded with the app. Here's how to declare them in a *Uno Wasm* project:
22
22
23
23
1.**JavaScript files** should be in the `WasmScripts` folder: they will be copied to the output folder and loaded automatically by the bootstrapper when the page loads. **They must be marked with the `EmbeddedResources` build action**:
24
24
@@ -30,7 +30,7 @@ The Uno Bootstrapper can automatically embed any asset and deploy them with the
30
30
</ItemGroup>
31
31
```
32
32
33
-
2.**CSS Style files** should be in the `WasmCSS` folder: they will be copied to the output folder and referenced in the _HTML head_ of the application. **They must be marked with the `EmbeddedResources` build action**.
33
+
2.**CSS Style files** should be in the `WasmCSS` folder: they will be copied to the output folder and referenced in the *HTML head* of the application. **They must be marked with the `EmbeddedResources` build action**.
Copy file name to clipboardExpand all lines: doc/articles/uno-development/listviewbase-internals.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Before reading it, you should first read the documentation of [ListViewBase aime
12
12
13
13
`ListViewBase` is the base class of `ListView` and `GridView`. The remainder of the article will refer to 'ListView', the more commonly used of the two derived controls, for ease of reading, but most of the information is applicable to `GridView` as well since a large part of the implementation is shared.
14
14
15
-
`ListView` is a specialized type of [`ItemsControl`](https://docs.microsoft.com/uwp/api/windows.ui.xaml.controls.itemscontrol) designed for showing large numbers of items. `ListView` is by default _virtualized_, meaning that it only materializes view containers for those items which are visible or about to be visible within the scroll viewport. When items disappear from view, their containers are _recycled_ and reused for newly appearing views. Correctly-functioning virtualization is the key to good scroll performance.
15
+
`ListView` is a specialized type of [`ItemsControl`](https://docs.microsoft.com/uwp/api/windows.ui.xaml.controls.itemscontrol) designed for showing large numbers of items. `ListView` is by default *virtualized*, meaning that it only materializes view containers for those items which are visible or about to be visible within the scroll viewport. When items disappear from view, their containers are *recycled* and reused for newly appearing views. Correctly-functioning virtualization is the key to good scroll performance.
16
16
17
17
Other important features of `ListView`:
18
18
@@ -73,7 +73,7 @@ The 'life cycle' of view creation and positioning of the `ListView` largely take
73
73
1.`UpdateLayout()` => `UnfillLayout()`. `UnfillLayout()` takes a direction, and trims materialized item containers that are not visible starting from the **opposite** direction. So to take the example above: `UnfillLayout()` would start with item 0, and see that it lies entirely outside the viewport (`-20 < 0`), so it would dematerialize it, returning it to the recycler to be reused. It would then consider item 1, see that it is partially visible (`60 > 0`), and terminate at that point. `UnfillLayout()` is particularly important during scrolling (see below).
2.`UpdateLayout()` does _not_ call `ScrapLayout()` from within the arrange pass. This is because item dimensions should not have changed since the measure. It does however call `FillLayout()` and `UnfillLayout()` again. This is because the dimensions available to the list itself _might_ be different from the ones it was measured with.
76
+
2.`UpdateLayout()` does *not* call `ScrapLayout()` from within the arrange pass. This is because item dimensions should not have changed since the measure. It does however call `FillLayout()` and `UnfillLayout()` again. This is because the dimensions available to the list itself *might* be different from the ones it was measured with.
0 commit comments