-
Notifications
You must be signed in to change notification settings - Fork 469
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
Feature Request: .NET MAUI/mobile support 🌺 #4684
Comments
Could possibly be related to #813 |
Thanks @maddymontaquila , for adding this. In terms of the launch experience, the two main options we've been discussing are:
As for which option is better, we should continue to discuss, with an eye toward what most of our customers would prefer. |
FYI - MAUI work to support Aspire is being tracked here: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2000198/. But let's use this issue to track the Aspire support that's needed as part of that. |
Eshop is aspirified and has a mobile app - I assume it would benefit? |
Yes, potentially. FYI, when we discussed this back in January @DamianEdwards said there are other scenarios, beyond MAUI, where they'd like to show some kind of launch UI in the future. I asked for examples and he said this: |
To give my input on the possible options mentioned in #4684 (comment) While I would probably prefer option 2 initially because it fits more with the expected workflow of a .NET MAUI app developer I think option 1 would likely be a better fit as it gives a consistent approach to the current Aspire model as you said @BretJohnson |
You know it!!! This was the main reason we didnt "finish" wiring up the eshop mobile client - no way to launch them both without it being gross. |
I'm with you here Shaun. I think 1 is the "right" thing to do from the Aspire perspective. Maybe we call that the MVP and listen to see if that really confuses people or it works okay. I don't think we'd need to separate out by TFM either - just a list of available debug targets we find. |
Though worth noting - I think that 1 is the more expensive option technically. |
@BretJohnson When you say it is more expensive (not that I am footing the bill) but do you have any thoughts on how much more expensive over option 2? Could there be an option that starts with option 2 (or possibly a new option) but puts infrastructure in place for option 1? |
@bijington - In terms of cost, we still need to design (design both UX and implementation) and cost it. And I think we should design and cost. I believe that @bradygaster will be looking at the experience design. Dev cost wise, I'd say probably at least a couple man months, but I'm just swaging and we need to dig in - which we should. My main concern here is just to make sure we have a good sense of what customers (like yourself) actually want to do - what workflows want to support well. And use that knowledge to drive the spec / priorities. It'd be a shame to devote a lot of effort to supporting option 1, and only option 1, if option 2 is what folks actually would prefer most often in practice. Or maybe we should support both. For instance, most of the time when debugging the MAUI app would you also want to debug all the services? Most of the time when restarting the MAUI app would you want to restart all the services? That's clearly a useful option to support - which is a natural the Aspire model today. But do typical MAUI / client app devs want it to be the default - or only - option? |
Ok so the current POC -
|
Would be nice to consider how the broader .NET UI ecosystem like Uno could benefit from this and properly integrate/extend. In other words, no strong dependency on MAUI bits from an Aspire standpoint. |
@francoistanguay yeah absolutely!!! ideally aspire apphost knows nothing about the projects its referencing, so im sure we could extend it to work somehow with Uno, or at least hook you guys up in your extension |
also related #876 |
Omg, this would save my life |
I would just like to say that this would make more sense (cents) than a changing machine. (This sentence works better when being spoken). Either way, that would be a game-changer! |
cc @BretJohnson @bradygaster
It would be great to launch .NET MAUI apps from the AppHost file, see them on the dashboard, and auto-hook-up all the endpoints and such. This sort-of works but I would like to formalize it and make sure it works well and aligned with how aspire actually does its thing
Requirements
Bret had taken a stab at a proof of concept of this here https://github.com/BretJohnson/aspire-mobile - I think we need to change how we're doing launch in this though (currently, you ctrl+f5 the app host then start the maui app separately... ideally we do something better than that!)
For reference, this is how you currently choose a debug target/TFM (maui uses multi-targeting) in VS and VS Code when you debug a MAUI app. you often change between different targets, so we need a way for people to do this in aspire.
maui-vs-selectdebug.mp4
(I cant get the vs code vid to upload ill add it later lol)
The text was updated successfully, but these errors were encountered: