MAUI and Kestrel webserver on Android ARM and iOS

MauiDevGuy 1 Reputation point
2022-06-13T08:02:09.043+00:00

I am a software developer and I am using MAUI and ASP.NET (.NET 6) together in one cross platform application. I found out ASP.NET Kestrel webserver (ASP.NET 6) is not available in MAUI on Android ARM and iOS platforms.
When I compile, I get this error message:

"There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'android-arm64'".

With old .NET core 2.1 and Xamarin I was able to run ASP.NET Kestrel inside a Xamarin app on Android ARM and iOS.

Is it planned in the near future, to support Kestrel on Android ARM and iOS (again)?

Regards

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,203 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,919 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rob Caplan - MSFT 5,422 Reputation points Microsoft Employee
    2022-06-14T17:18:02.693+00:00

    The ASP.Net team has an active feature request to extend platform support to Android, iOS, etc.:
    Support for MAUI runtimes in ASP.NET Core? https://github.com/dotnet/aspnetcore/issues/35077

    You may want to add your use case to that thread.

    1 person found this answer helpful.
    0 comments No comments