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

Chapter 19 #102

Open
Dreamoochy opened this issue Aug 26, 2022 · 0 comments
Open

Chapter 19 #102

Dreamoochy opened this issue Aug 26, 2022 · 0 comments

Comments

@Dreamoochy
Copy link

Dreamoochy commented Aug 26, 2022

Disclaimer

  • I try to build the project for the Windows desktop using CLI in VSCodium.
  • The following applies to online chapter

Creating a .NET MAUI solution

In step 1.iii you write

Project file and folder: Northwind.Maui.Client

But further in the text it is referenced as Northwind.Maui.Customers. For example, in step 9 on the pic 19.6 one can clearly see
Northwind.Maui.Client


Implementing the customer list view

In step 4 (notes) you write

BindingContext is set to an instance of CustomersViewModel, which is populated with sample data in the constructor of the page.

but BindingContext is actually set to CustomersListViewModel


Implementing the customer detail view

In step 1 there is a code line (CustomerDetailPage.xaml):

x:Class="Northwind.Maui.Customers.Views.CustomerDetailPage"

Build fails until I remove Views part:

x:Class="Northwind.Maui.Customers.CustomerDetailPage"

Creating views for the list of customers and customer details

Step 1 tells the reader to delete MainPage.xaml, but without that file I cant build the project. So I have to leave it along with MainPage.xaml.cs and clean unused content.

Step 2. It seems that <Style> section should be inside <Application.Resources> section which is non-obviuos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant