PythonAppResourceBuilderExtensions
AddPythonApp(IDistributedApplicationBuilder, String, String, String)
AddPythonApp(IDistributedApplicationBuilder, String, String, String, String[])
AddPythonApp(IDistributedApplicationBuilder, String, String, String, String, String[])
AddPythonExecutable(IDistributedApplicationBuilder, String, String, String)
AddPythonModule(IDistributedApplicationBuilder, String, String, String)
AddUvicornApp(IDistributedApplicationBuilder, String, String, String)
WithDebugging<T>(IResourceBuilder<T>)
WithEntrypoint<T>(IResourceBuilder<T>, EntrypointType, String)
WithPip<T>(IResourceBuilder<T>, Boolean, String[])
WithUv<T>(IResourceBuilder<T>, Boolean, String[])
WithVirtualEnvironment<T>(IResourceBuilder<T>, String, Boolean)
net10.0
namespace Aspire.Hosting
{
public static class PythonAppResourceBuilderExtensions
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use AddPythonScript, AddPythonModule, or AddPythonExecutable and chain with .WithArgs(...) instead.")]
public static IResourceBuilder<PythonAppResource!>! AddPythonApp(this IDistributedApplicationBuilder! builder, string! name, string! appDirectory, string! scriptPath, params string![]! scriptArgs);
}
}
| .NET | 8.09.010.0 |
|---|---|
Information specific to net10.0 | |
| Assemblies | Aspire.Hosting.Python , Version=13.2.0.0, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Hosting.Python , Version=13.1.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
| Referencing | Your project needs a package reference to |
| Package | Aspire.Hosting.Python (13.2.0-preview.1.26062.5) net8.0 |
| Obsolete | Use AddPythonScript, AddPythonModule, or AddPythonExecutable and chain with .WithArgs(...) instead. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API