Skip to content

Commit 07f1533

Browse files
committed
docs: Update namespace
1 parent 7e0d2df commit 07f1533

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

hub/apps/get-started/uno-simple-photo-viewer.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ Search for Uno and select the Uno Platform App project template:
6969

7070
:::image type="content" source="../images/uno/uno-new-project.png" alt-text="Uno platform app":::
7171

72-
Specify a project name, solution name, and directory. In this example, our SimplePhotos multi-platform project belongs to a SimplePhotos multi-platform solution, which will live in C:\Projects:
72+
Create a new C# solution using the **Uno Platform App** type from Visual Studio's **Start Page**. To avoid conflicting with the code from the previous tutorial, we'll give this solution a different name, "UnoSimplePhotos". Specify the project name, solution name, and directory. In this example, our `UnoSimplePhotos` multi-platform project belongs to a `UnoSimplePhotos` solution, which will live in C:\Projects:
7373

7474
:::image type="content" source="images/hello-world/configure-project.png" alt-text="Specify project details":::
7575

76-
Create a new C# solution using the **Uno Platform App** type from Visual Studio's **Start Page**. To avoid conflicting with the code from the previous tutorial, we'll give this solution a different name, "SimplePhotosUno".
76+
Now you'll choose a base template to take your Simple Photo gallery application multi-platform.
7777

78-
Now you'll choose a base template to take your Hello World application multi-platform. The Uno Platform App template comes with two preset options that allow you to quickly get started with either a **Blank** solution or the **Default** configuration which includes references to the Uno.Material and Uno.Toolkit libraries. The Default configuration also includes Uno.Extensions which is used for dependency injection, configuration, navigation, and logging, and it uses MVUX in place of MVVM, making it a great starting point for rapidly building real-world applications.
78+
The Uno Platform App template comes with two preset options that allow you to quickly get started with either a **Blank** solution or the **Default** configuration which includes references to the Uno.Material and Uno.Toolkit libraries. The Default configuration also includes Uno.Extensions which is used for dependency injection, configuration, navigation, and logging, and it uses MVUX in place of MVVM, making it a great starting point for rapidly building real-world applications.
7979

8080
:::image type="content" source="../images/uno/uno-vsix-new-project-options.png" alt-text="Uno solution template for project startup type":::
8181

@@ -163,14 +163,14 @@ To do so, go back to the **SimplePhotos** project from the previous tutorial. In
163163
</Window>
164164
```
165165

166-
Copy the contents of the `Window` element and paste them into the `Page` element of the `MainPage.xaml` file in the **SimplePhotosUno** Uno Platform project. The `MainPage` view XAML should look like this:
166+
Copy the contents of the `Window` element and paste them into the `Page` element of the `MainPage.xaml` file in the **UnoSimplePhotos** Uno Platform project. The `MainPage` view XAML should look like this:
167167

168168
```xml
169169
<Page
170-
x:Class="SimplePhotosUno.MainPage"
170+
x:Class="UnoSimplePhotos.MainPage"
171171
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
172172
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
173-
xmlns:local="using:SimplePhotosUno"
173+
xmlns:local="using:UnoSimplePhotos"
174174
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
175175
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
176176
mc:Ignorable="d">
@@ -246,7 +246,7 @@ using System.Collections.ObjectModel;
246246
using Windows.Storage;
247247
using Windows.Storage.Search;
248248

249-
namespace SimplePhotosUno;
249+
namespace UnoSimplePhotos;
250250

251251
public sealed partial class MainPage : Page
252252
{
@@ -325,7 +325,7 @@ using Windows.Storage;
325325
using Windows.Storage.FileProperties;
326326
using Windows.Storage.Streams;
327327

328-
namespace SimplePhotosUno;
328+
namespace UnoSimplePhotos;
329329

330330
public class ImageFileInfo : INotifyPropertyChanged
331331
{
@@ -415,7 +415,7 @@ This class will serve as a model to represent the image files in the `GridView`.
415415

416416
### Add image assets to the project
417417

418-
In the `SimplePhotosUno` project, create a new folder named `Assets` and copy the JPEG image files to a `Samples` subfolder. The `Assets` folder structure should now look like this:
418+
In the `UnoSimplePhotos` project, create a new folder named `Assets` and copy the JPG image files to a `Samples` subfolder. The `Assets` folder structure should now look like this:
419419

420420
[Insert image here]
421421

@@ -457,7 +457,7 @@ using System.ComponentModel;
457457
using System.Runtime.CompilerServices;
458458
using Windows.Storage;
459459

460-
namespace SimplePhotosUno;
460+
namespace UnoSimplePhotos;
461461

462462
public class ImageFileInfo : INotifyPropertyChanged
463463
{
@@ -536,10 +536,10 @@ Finally, **remove** the entire `ItemsPanelTemplate` resource from the `Grid.Reso
536536

537537
```xml
538538
<Page
539-
x:Class="SimplePhotosUno.MainPage"
539+
x:Class="UnoSimplePhotos.MainPage"
540540
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
541541
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
542-
xmlns:local="using:SimplePhotosUno"
542+
xmlns:local="using:UnoSimplePhotos"
543543
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
544544
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
545545
mc:Ignorable="d">
@@ -591,30 +591,30 @@ Finally, **remove** the entire `ItemsPanelTemplate` resource from the `Grid.Reso
591591

592592
### Running the app
593593

594-
Launch the `SimplePhotosUno.Windows` target. Observe that this WinUI app is very similar to the previous tutorial.
594+
Launch the `UnoSimplePhotos.Windows` target. Observe that this WinUI app is very similar to the previous tutorial.
595595

596596
You can now build and run your app on any of the supported platforms. To do so, you can use the debug toolbar drop-down to select a target platform to deploy:
597597

598598
* To run the **WebAssembly** (Wasm) head:
599-
- Right-click on the `SimplePhotosUno.Wasm` project, select **Set as startup project**
600-
- Press the `SimplePhotosUno.Wasm` button to deploy the app
601-
- If desired, you can use the `SimplePhotosUno.Server` project as an alternative
599+
- Right-click on the `UnoSimplePhotos.Wasm` project, select **Set as startup project**
600+
- Press the `UnoSimplePhotos.Wasm` button to deploy the app
601+
- If desired, you can add and use the `UnoSimplePhotos.Server` project as an alternative
602602
* To debug for **iOS**:
603-
- Right-click on the `SimplePhotosUno.Mobile` project, select **Set as startup project**
603+
- Right-click on the `UnoSimplePhotos.Mobile` project, select **Set as startup project**
604604
- In the debug toolbar drop-down, select an active iOS device or the simulator. You'll need to be paired with a Mac for this to work.
605605

606606
:::image type="content" source="../how-tos/images/hello-world/net7-ios-debug.png" alt-text="Visual Studio dropdown to select a target framework to deploy":::
607607

608608
* To debug for **Mac Catalyst**:
609-
- Right-click on the `SimplePhotosUno.Mobile` project, select **Set as startup project**
609+
- Right-click on the `UnoSimplePhotos.Mobile` project, select **Set as startup project**
610610
- In the debug toolbar drop-down, select a remote macOS device. You'll need to be paired with one for this to work.
611611
* To debug the **Android** platform:
612-
- Right-click on the `SimplePhotosUno.Mobile` project, select **Set as startup project**
612+
- Right-click on the `UnoSimplePhotos.Mobile` project, select **Set as startup project**
613613
- In the debug toolbar drop-down, select either an active Android device or the emulator
614614
- Select an active device in the "Device" sub-menu
615615
* To debug on **Linux** with **Skia GTK**:
616-
- Right-click on the `SimplePhotosUno.Skia.Gtk` project, and select **Set as startup project**
617-
- Press the `SimplePhotosUno.Skia.Gtk` button to deploy the app
616+
- Right-click on the `UnoSimplePhotos.Skia.Gtk` project, and select **Set as startup project**
617+
- Press the `UnoSimplePhotos.Skia.Gtk` button to deploy the app
618618

619619
## See also
620620

0 commit comments

Comments
 (0)