-
Notifications
You must be signed in to change notification settings - Fork 3
Add Aspire hosting support, #16 #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request adds .NET Aspire hosting support for the Azure Search Emulator, enabling developers to easily integrate the emulator into their Aspire applications. The changes include a new NuGet package F23.Aspire.Hosting.AzureSearchEmulator with extension methods for adding the emulator as a container resource, along with supporting test projects and a demo application.
Key changes:
- New Aspire hosting library with extension methods for adding Azure Search Emulator to Aspire applications
- Support for configuring HTTP/HTTPS endpoints and persistent volume for index data
- Demo AppHost project demonstrating both project-based and container-based usage patterns
- DebugClient updated to support configurable port numbers via command-line arguments
Reviewed Changes
Copilot reviewed 18 out of 19 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| logo.png | Added project logo for NuGet package branding |
| AzureSearchEmulator.Aspire/AzureSearchEmulatorResource.cs | Defines the container resource class with default port constants |
| AzureSearchEmulator.Aspire/AzureSearchEmulatorResourceExtensions.cs | Provides extension methods for adding and configuring the emulator in Aspire |
| AzureSearchEmulator.Aspire/AzureSearchEmulator.Aspire.csproj | Project file for the packable Aspire hosting library |
| AzureSearchEmulator.Aspire.Tests/*.cs | Unit tests validating resource creation and configuration |
| AzureSearchEmulator.Aspire.Tests/AzureSearchEmulator.Aspire.Tests.csproj | Test project configuration |
| AzureSearchEmulator.Aspire.DemoAppHost/. | Demo application demonstrating Aspire integration patterns |
| DebugClient/Program.cs | Enhanced with configurable port support for flexible testing |
| DebugClient/DebugClient.csproj | Marked as non-packable |
| AzureSearchEmulator/AzureSearchEmulator.csproj | Marked as non-packable |
| AzureSearchEmulator/Properties/launchSettings.json | Simplified launch profiles, removed unused IIS and Docker profiles |
| AzureSearchEmulator.IntegrationTests/AzureSearchEmulator.IntegrationTests.csproj | Marked as non-packable |
| AzureSearchEmulator.sln | Added three new projects to the solution |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fixes #16