Click here to Skip to main content
15,887,214 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: .Net MAUI Pin
dan!sh 25-Jul-22 20:33
professional dan!sh 25-Jul-22 20:33 
GeneralRe: .Net MAUI Pin
Daniel Wilianto25-Jul-22 20:38
Daniel Wilianto25-Jul-22 20:38 
GeneralRe: .Net MAUI Pin
Thornik26-Jul-22 1:02
Thornik26-Jul-22 1:02 
GeneralRe: .Net MAUI Pin
Mark_Rees26-Jul-22 2:59
Mark_Rees26-Jul-22 2:59 
GeneralRe: .Net MAUI Pin
Thornik27-Jul-22 7:44
Thornik27-Jul-22 7:44 
GeneralRe: .Net MAUI Pin
obermd26-Jul-22 3:16
obermd26-Jul-22 3:16 
AnswerRe: .Net MAUI Pin
hparadkar30-Jul-22 5:35
hparadkar30-Jul-22 5:35 
GeneralRe: .Net MAUI Pin
Kevin Marois18-Aug-22 11:30
professionalKevin Marois18-Aug-22 11:30 
Following up on this. Maybe you can answer a question

I get that with MAUI you can publish to Windows, Android, and Mac. The demo app shows the SAME UI being run on all 3 platforms. That’s NOT a real world example. In a real production app the UI’s for the different platforms are NOT going to be the same.

For example, I’m working on a large WPF app for a construction company. It has dozens of UI’s and View Models. There’s also a Xamarin Android app which is a collection of smaller UI elements that contain specific pieces of functionality from the Windows app, like a task list, uploading files, etc.

I created the WPF app and Xamarin app as two different projects in the same solution. Many of the UI’s from both share common view models, like the Login view. The view may be different on both platforms, but the VM is the same and can be shared by both. They also share common data models, API Proxy, and repo. That solution architecure works great.

But in MAUI, it seems like ALL the UI is contained in one project, and the only answer I’ve gotten is to use compiler directives to decide what UI to show based on the environment the app is running on. That feels like a workaround.

So, what is the right way to organize a MAUI solution given a similar design?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

GeneralRe: .Net MAUI Pin
hparadkar19-Aug-22 5:11
hparadkar19-Aug-22 5:11 
GeneralRe: .Net MAUI Pin
Kevin Marois19-Aug-22 6:36
professionalKevin Marois19-Aug-22 6:36 
GeneralVideo Tutorial Pin
Archimedes2425-Jul-22 7:15
professionalArchimedes2425-Jul-22 7:15 
GeneralMessage Closed Pin
25-Jul-22 7:29
mveRickZeeland25-Jul-22 7:29 
PraiseRe: Video Tutorial Pin
Archimedes2427-Jul-22 3:42
professionalArchimedes2427-Jul-22 3:42 
GeneralRe: Video Tutorial Pin
Dave Kreskowiak25-Jul-22 10:39
mveDave Kreskowiak25-Jul-22 10:39 
GeneralRe: Video Tutorial Pin
Archimedes2425-Jul-22 20:36
professionalArchimedes2425-Jul-22 20:36 
GeneralRe: Video Tutorial Pin
Dave Kreskowiak26-Jul-22 7:16
mveDave Kreskowiak26-Jul-22 7:16 
GeneralRe: Video Tutorial Pin
Gerry Schmitz25-Jul-22 20:53
mveGerry Schmitz25-Jul-22 20:53 
GeneralRe: Video Tutorial Pin
Julian Ragan27-Jul-22 0:32
Julian Ragan27-Jul-22 0:32 
GeneralRe: Video Tutorial Pin
Peter Shaw27-Jul-22 0:34
professionalPeter Shaw27-Jul-22 0:34 
GeneralRe: Video Tutorial Pin
Cpichols27-Jul-22 1:49
Cpichols27-Jul-22 1:49 
GeneralRe: Video Tutorial Pin
Peter Shaw28-Jul-22 1:42
professionalPeter Shaw28-Jul-22 1:42 
GeneralRe: Video Tutorial Pin
Member 334960927-Jul-22 1:34
Member 334960927-Jul-22 1:34 
GeneralRe: Video Tutorial Pin
milo-xml27-Jul-22 2:17
professionalmilo-xml27-Jul-22 2:17 
GeneralRe: Video Tutorial Pin
Member 334960927-Jul-22 2:37
Member 334960927-Jul-22 2:37 
GeneralRe: Video Tutorial Pin
Cpichols27-Jul-22 1:35
Cpichols27-Jul-22 1:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.