Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.35 KB

python-hosting-integration-api-changes.md

File metadata and controls

40 lines (24 loc) · 1.35 KB
title description ms.date ai-usage ms.custom
Python hosting integration parameter name changes
Update parameter names in Python hosting integration preview for Aspire to refer to apps instead of projects.
02/13/2025
ai-assisted

Python hosting integration parameter name changes

In .NET Aspire 9.1, the Python hosting integration preview updates parameter names to refer to Python apps instead of projects. This change ensures consistent naming across the API.

Version introduced

.NET Aspire 9.1

Previous behavior

Some parameter names on methods and constructors in the Python hosting integration preview for .NET Aspire referred to the Python app as a project rather than an app.

New behavior

Parameter names on methods and constructors in the Python hosting integration preview for .NET Aspire now refer to the Python app as an app instead of project where applicable.

Type of breaking change

This change is a source incompatible.

Reason for change

The change ensures consistent naming across the API.

Recommended action

Update application source as appropriate to use the new parameter names.

Affected APIs

  • xref:Aspire.Hosting.PythonAppResourceBuilderExtensions.AddPythonApp*
  • xref:Aspire.Hosting.Python.PythonAppResource