-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Support for MAUI runtimes in ASP.NET Core? #35077
Copy link
Copy link
Open
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one
Milestone
Metadata
Metadata
Assignees
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hey,
I apologize in advance if this is not the correct place to ask this, but I didn't find any better one. Feel free to move this issue if appropriate.
For testing purposes, in MAUI
net6.0-androidproject I've tried to reference other project of mine targettingnet6.0which is a library. I didn't have any issues doing so, but during compilation I've stumbled upon following error:If I understand this right, I can reference standard
net6.0projects becauseMicrosoft.NETCore.App.Runtime.Mono.android-x86exists and is usable, at least I successfully did that with examplenet6.0library. However, I'd like to reference a library that has actual ASP.NET Core elements (Kestrel web server, API with MVC etc), which according to the error is impossible because it can't find a requiredandroid-x86runtime, which seems to be correct as of today.Now I apologize if I'm trying to do some extreme stupidity, or I don't understand something, but I wanted to verify whether it'd be possible to "convert" existing CLI project of mine which uses Kestrel and API controllers into an Android MAUI app that could start the "backend" part on the target machine, with some nice frontend utilizing those API endpoints over HTTP. I'm testing this in .NET 6.0 preview 6 if it matters.
Is this possible/planned? Or perhaps I'm doing something horribly wrong?
In any case, thank you in advance for answering, I appreciate it.