Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blazor Hybrid API cross-refs #25956

Merged
merged 1 commit into from
May 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>.