jamesmontemagno / MauiApp-DI

70 stars 29 forks source link

the example is great however cannot figure out how to DI with library modules and MAUI #2

Open BlockchainPunks opened 2 years ago

BlockchainPunks commented 2 years ago

Example: Want to extend what you have done and create following clean architecture layers a. Domain (MAUI Class Library) b. Data (MAUI Class Library)

Can you explain how to get the parent App to consume Domain and Domain library to consume Data layer interfaces.

your MauiProgram.cs file registers services for view model

You do I register the domain and data layre services so they can be used across the layers correctly.

appreciate your guidance