App Hosts in VB, F# or potentially CLR-enabled C++? #18238
|
Does Aspire support Visual Basic, F# or CLR-enabled C++ app hosts? |
Replies: 1 comment
|
Hello miserix👋 That said, there's an important distinction worth making here: the AppHost is purely just the orchestration layer, not your actual services, its where you describe your app's architecture, wire up services, configure database, etc-etc. So If you have an existing VB.NET, F#, or C++/CLI apps you want to bring under Aspire, you can absolutely reference them as resources from a C# AppHost using Aspire orchestrates processes, not source files, so it genuinely doesn't care what language produced the binary. The limitation only bites if you specifically wants to write the AppHost in something other than C# or TypeScript |
Hello miserix👋
From what I know, the short answer is no, not for the AppHost itself. RIght now, the AppHost project has to be
C#orTypeScript, those are the only two supported right now (authoring languages)That said, there's an important distinction worth making here: the AppHost is purely just the orchestration layer, not your actual services, its where you describe your app's architecture, wire up services, configure database, etc-etc. So If you have an existing VB.NET, F#, or C++/CLI apps you want to bring under Aspire, you can absolutely reference them as resources from a C# AppHost using
AddProject<T>()for .NET projects orAddExecutable()for native outputsAspire orchestrates pr…