diff --git a/AdventureWorks.MAUI/AdventureWorks.MAUI.csproj b/AdventureWorks.MAUI/AdventureWorks.MAUI.csproj
index a193795..a4ce1a6 100644
--- a/AdventureWorks.MAUI/AdventureWorks.MAUI.csproj
+++ b/AdventureWorks.MAUI/AdventureWorks.MAUI.csproj
@@ -64,4 +64,34 @@
+
+
+ LoginView.xaml
+
+
+
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+
diff --git a/AdventureWorks.MAUI/AppShell.xaml b/AdventureWorks.MAUI/AppShell.xaml
index 6cbee92..70b2b9b 100644
--- a/AdventureWorks.MAUI/AppShell.xaml
+++ b/AdventureWorks.MAUI/AppShell.xaml
@@ -4,13 +4,40 @@
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:AdventureWorks.MAUI"
+ xmlns:views="clr-namespace:AdventureWorks.MAUI.Views"
Title="Adventure Works"
Shell.TitleColor="Blue"
Shell.BackgroundColor="LightBlue">
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/AdventureWorks.MAUI/AppShell.xaml.cs b/AdventureWorks.MAUI/AppShell.xaml.cs
index ffd9973..7e4e4d3 100644
--- a/AdventureWorks.MAUI/AppShell.xaml.cs
+++ b/AdventureWorks.MAUI/AppShell.xaml.cs
@@ -5,6 +5,10 @@
public AppShell()
{
InitializeComponent();
+
+ // Register routes for navigation
+ Routing.RegisterRoute(nameof(Views.UserDetailView), typeof(Views.UserDetailView));
+
}
}
}
diff --git a/AdventureWorks.MAUI/MainPage.xaml b/AdventureWorks.MAUI/MainPage.xaml
index 4d4e6db..b418bd3 100644
--- a/AdventureWorks.MAUI/MainPage.xaml
+++ b/AdventureWorks.MAUI/MainPage.xaml
@@ -4,79 +4,9 @@
x:Class="AdventureWorks.MAUI.MainPage"
Title="{StaticResource ApplicationTitle}">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/AdventureWorks.MAUI/Resources/Styles/AppStyles.xaml b/AdventureWorks.MAUI/Resources/Styles/AppStyles.xaml
index 2b4e814..0df153c 100644
--- a/AdventureWorks.MAUI/Resources/Styles/AppStyles.xaml
+++ b/AdventureWorks.MAUI/Resources/Styles/AppStyles.xaml
@@ -22,7 +22,7 @@
diff --git a/AdventureWorks.MAUI/Views/ColorListView.xaml b/AdventureWorks.MAUI/Views/ColorListView.xaml
new file mode 100644
index 0000000..57d3580
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/ColorListView.xaml
@@ -0,0 +1,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/ColorListView.xaml.cs b/AdventureWorks.MAUI/Views/ColorListView.xaml.cs
new file mode 100644
index 0000000..db6f08d
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/ColorListView.xaml.cs
@@ -0,0 +1,9 @@
+namespace AdventureWorks.MAUI.Views;
+
+public partial class ColorListView : ContentPage
+{
+ public ColorListView()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/CustomerDetailView.xaml b/AdventureWorks.MAUI/Views/CustomerDetailView.xaml
new file mode 100644
index 0000000..5603300
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/CustomerDetailView.xaml
@@ -0,0 +1,11 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/CustomerDetailView.xaml.cs b/AdventureWorks.MAUI/Views/CustomerDetailView.xaml.cs
new file mode 100644
index 0000000..9a7e331
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/CustomerDetailView.xaml.cs
@@ -0,0 +1,9 @@
+namespace AdventureWorks.MAUI.Views;
+
+public partial class CustomerDetailView : ContentPage
+{
+ public CustomerDetailView()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/LoginView.xaml b/AdventureWorks.MAUI/Views/LoginView.xaml
new file mode 100644
index 0000000..bdb4a42
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/LoginView.xaml
@@ -0,0 +1,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/LoginView.xaml.cs b/AdventureWorks.MAUI/Views/LoginView.xaml.cs
new file mode 100644
index 0000000..6c9d1c6
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/LoginView.xaml.cs
@@ -0,0 +1,9 @@
+namespace AdventureWorks.MAUI.Views;
+
+public partial class LoginView : ContentPage
+{
+ public LoginView()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/PhoneTypesListView.xaml b/AdventureWorks.MAUI/Views/PhoneTypesListView.xaml
new file mode 100644
index 0000000..0a7aab7
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/PhoneTypesListView.xaml
@@ -0,0 +1,10 @@
+
+
+
+
diff --git a/AdventureWorks.MAUI/Views/PhoneTypesListView.xaml.cs b/AdventureWorks.MAUI/Views/PhoneTypesListView.xaml.cs
new file mode 100644
index 0000000..de07f9d
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/PhoneTypesListView.xaml.cs
@@ -0,0 +1,9 @@
+namespace AdventureWorks.MAUI.Views;
+
+public partial class PhoneTypesListView : ContentPage
+{
+ public PhoneTypesListView()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/ProductDetailView.xaml b/AdventureWorks.MAUI/Views/ProductDetailView.xaml
new file mode 100644
index 0000000..8482883
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/ProductDetailView.xaml
@@ -0,0 +1,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/ProductDetailView.xaml.cs b/AdventureWorks.MAUI/Views/ProductDetailView.xaml.cs
new file mode 100644
index 0000000..3bcca9d
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/ProductDetailView.xaml.cs
@@ -0,0 +1,9 @@
+namespace AdventureWorks.MAUI.Views;
+
+public partial class ProductDetailView : ContentPage
+{
+ public ProductDetailView()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/UserDetailView.xaml b/AdventureWorks.MAUI/Views/UserDetailView.xaml
new file mode 100644
index 0000000..a357262
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/UserDetailView.xaml
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/UserDetailView.xaml.cs b/AdventureWorks.MAUI/Views/UserDetailView.xaml.cs
new file mode 100644
index 0000000..664c571
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/UserDetailView.xaml.cs
@@ -0,0 +1,9 @@
+namespace AdventureWorks.MAUI.Views;
+
+public partial class UserDetailView : ContentPage
+{
+ public UserDetailView()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/UserListView.xaml b/AdventureWorks.MAUI/Views/UserListView.xaml
new file mode 100644
index 0000000..2dfca07
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/UserListView.xaml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/AdventureWorks.MAUI/Views/UserListView.xaml.cs b/AdventureWorks.MAUI/Views/UserListView.xaml.cs
new file mode 100644
index 0000000..02c74d5
--- /dev/null
+++ b/AdventureWorks.MAUI/Views/UserListView.xaml.cs
@@ -0,0 +1,14 @@
+namespace AdventureWorks.MAUI.Views;
+
+public partial class UserListView : ContentPage
+{
+ public UserListView()
+ {
+ InitializeComponent();
+ }
+
+ private async void NavigateToDetail_Clicked(object sender, EventArgs e)
+ {
+ await Shell.Current.GoToAsync(nameof(Views.UserDetailView));
+ }
+}
\ No newline at end of file