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

docs: Updates to AdvNav how-to series #726

Merged
merged 5 commits into from
Sep 14, 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: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -331,3 +331,5 @@ ASALocalRun/
/unofeed
/src/crosstargeting_override.props
/testing/**/*.txt

.vscode/**/*.*
2 changes: 1 addition & 1 deletion doc/Learn/Tutorials/Authentication/HowTo-Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ uid: Learn.Tutorials.Authentication.HowToAuthentication
`Uno.Extensions.Authentication` provides you with a consistent way to add authentication to your application. It is recommended to one of the built in `IAuthenticationService` implementations. This tutorial will use the custom authorization to validate user credentials.

> [!TIP]
> This guide assumes you used the Uno.Extensions `dotnet new unoapp-extensions` template to create the solution. Instructions for creating an application from the template can be found [here](../Extensions/GettingStarted/UsingUnoExtensions.md)
> This guide assumes you used the Uno.Extensions `dotnet new unoapp-extensions` template to create the solution. Instructions for creating an application from the template can be found [here](xref:Overview.Extensions)

## Step-by-steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ uid: Learn.Tutorials.Configuration.HowToWritableConfiguration
---
# How-To: Writable Configuration

Description
This how-to is currently under construction. It will be available soon.

## Step-by-steps
## Work in progress 🚧

### 1
### Have questions or feedback?

* Help us shape the documentation for this topic by providing feedback on the Uno.Extensions [repo](https://github.com/unoplatform/uno.extensions/discussions/categories/general)
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ uid: Learn.Tutorials.DependencyInjection.HowToCommunityToolkit
## CommunityToolkit.Mvvm

> [!TIP]
> This guide assumes you used the Uno.Extensions `dotnet new unoapp-extensions` template to create the solution. Instructions for creating an application from the template can be found [here](../GettingStarted/UsingUnoExtensions.md)
> This guide assumes you used the Uno.Extensions `dotnet new unoapp-extensions` template to create the solution. Instructions for creating an application from the template can be found [here](xref:Overview.Extensions)

If you want to access the DI container via the Ioc.Default API exposed via the <a href="https://www.nuget.org/packages/CommunityToolkit.Mvvm" target="_blank">CommunityToolkit.Mvvm</a>, you need to configure the service collection after building the Host.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ uid: Learn.Tutorials.DependencyInjection.HowToDependencyInjection
Dependency Injection (DI) is an important design pattern for building loosely-coupled software that allows for maintainability and testing. This tutorial will walk you through how to register services so that they can be consumed throughout your application.

> [!TIP]
> This guide assumes you used the Uno.Extensions `dotnet new unoapp-extensions` template to create the solution. Instructions for creating an application from the template can be found [here](../GettingStarted/UsingUnoExtensions.md)
> This guide assumes you used the Uno.Extensions `dotnet new unoapp-extensions` template to create the solution. Instructions for creating an application from the template can be found [here](xref:Overview.Extensions)

## Step-by-steps

Expand Down
2 changes: 1 addition & 1 deletion doc/Learn/Tutorials/Hosting/HowTo-HostingSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ uid: Learn.Tutorials.Hosting.HowToHostingSetup
`Uno.Extensions.Hosting` can be used to register services that will be accessible throughout the application via dependency injection (DI). This tutorial will walk you through the critical steps needed to leverage hosting in your application.

> [!TIP]
> If you used the `dotnet new unoapp-extensions` template to create your solution, the steps outlined here are unnecessary. Instructions for creating an application from the template can be found [here](../GettingStarted/UsingUnoExtensions.md)
> If you used the `dotnet new unoapp-extensions` template to create your solution, the steps outlined here are unnecessary. Instructions for creating an application from the template can be found [here](xref:Overview.Extensions)

## Step-by-steps

Expand Down
8 changes: 5 additions & 3 deletions doc/Learn/Tutorials/Http/HowTo-Http.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ uid: Learn.Tutorials.Http.HowToHttp
---
# How-To: HTTP

Description
This how-to is currently under construction. It will be available soon.

## Step-by-steps
## Work in progress 🚧

### 1
### Have questions or feedback?

* Help us shape the documentation for this topic by providing feedback on the Uno.Extensions [repo](https://github.com/unoplatform/uno.extensions/discussions/categories/general)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ uid: Learn.Tutorials.Navigation.Advanced.PageNavigation
Sometimes when you navigate you don't want to leave the current page in the back-stack. For example after signing into an application, you might want to navigate to the main page of the application; you don't want to have the login page still in the back-stack for a user to accidentally to go back to.

> [!TIP]
> This guide assumes you used the Uno.Extensions `dotnet new unoapp-extensions` template to create the solution. Instructions for creating an application from the template can be found [here](../Extensions/GettingStarted/UsingUnoExtensions.md)
> This guide assumes you used the Uno.Extensions `dotnet new unoapp-extensions` template to create the solution. Instructions for creating an application from the template can be found [here](xref:Overview.Extensions)

## Step-by-steps

Expand Down Expand Up @@ -59,12 +59,12 @@ Another common scenario is to navigate to a page and then remove the current pag

- Update `SecondViewModel` to include the following `GoToSamplePage` method

```csharp
public async Task GoToSamplePage()
{
await _navigator.NavigateViewModelAsync<SampleViewModel>(this, qualifier: Qualifiers.NavigateBack);
}
```
```csharp
public async Task GoToSamplePage()
{
await _navigator.NavigateViewModelAsync<SampleViewModel>(this, qualifier: Qualifiers.NavigateBack);
}
```

The use of `Qualifiers.NavigateBack` will result in the `SecondPage` being removed from the back stack, after navigating forward to the `SamplePage`.

Expand Down
Loading