@Loc[Resources.ResxFile.YourStringHere]
``` Note that injection doesn't happen until a component's `OnInitialized`, so if you are referencing a string from codebehind, you must wait to do that until `OnInitialized`. ## Integrations (Formerly Components) Please check the [.NET Aspire integrations contribution guidelines](../src/Components/README.md) if you intend to make contributions to a new or existing .NET Aspire integration. ## Generating local NuGet packages If you want to try local changes on a separate Aspire based project or solution it can be useful to generate the NuGet packages in a local folder and use it as a package source. To do so simply execute: `.\build.cmd -pack` (Windows) or `.\build.sh -pack` (macOS and Linux) This will generate all the packages in the folder `./artifacts/packages/Debug/Shipping`. At this point from your solution folder run: `dotnet nuget add source my_aspire_folder/artifacts/packages/Debug/Shipping` Or edit the `NuGet.config` file and add this line to the `