Skip to content

Commit

Permalink
Blazor Hybrid API cross-refs (#25956)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored May 24, 2022
1 parent f265161 commit 2842f93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aspnetcore/blazor/hybrid/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The `UrlLoadingEventArgs.Url` property is used to get or dynamically set the URL
## Namespace

The `Microsoft.AspNetCore.Components.WebView` namespace is required for the examples in this article:
The <xref:Microsoft.AspNetCore.Components.WebView?displayProperty=fullName> namespace is required for the examples in this article:

```csharp
using Microsoft.AspNetCore.Components.WebView;
Expand Down
3 changes: 2 additions & 1 deletion aspnetcore/blazor/hybrid/security/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public class CurrentThreadUserAuthenticationStateProvider : AuthenticationStateP
}
```

Using the alternative approach, only authorization services (`.AddAuthorizationCore()`) and `CurrentThreadUserAuthenticationStateProvider` (`.AddScoped<AuthenticationStateProvider, CurrentThreadUserAuthenticationStateProvider>()`) are added to the service collection.
Using the alternative approach, only authorization services (<xref:Microsoft.Extensions.DependencyInjection.AuthorizationServiceCollectionExtensions.AddAuthorizationCore%2A>) and `CurrentThreadUserAuthenticationStateProvider` (`.AddScoped<AuthenticationStateProvider, CurrentThreadUserAuthenticationStateProvider>()`) are added to the service collection.

### Handle authentication within the `BlazorWebView` (Option 2)

Expand Down Expand Up @@ -535,3 +535,4 @@ When implementing authentication:
## Additional resources

* <xref:blazor/security/index>
* <xref:blazor/hybrid/security/security-considerations>
2 changes: 1 addition & 1 deletion aspnetcore/blazor/hybrid/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ uid: blazor/hybrid/tutorials/index

* <xref:blazor/hybrid/tutorials/wpf>

For more information on Blazor hosting models, see <xref:blazor/hosting-models>.
For more information on hosting models, see <xref:blazor/hosting-models>.

0 comments on commit 2842f93

Please sign in to comment.