You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#43
Embed `zones.json` as a resource and modify code to read it.
* **Api.csproj**
- Add `zones.json` as an embedded resource.
* **NwsManager.cs**
- Modify `GetZonesAsync` method to read `zones.json` as an embedded resource instead of from the `wwwroot` folder.
- Remove the `webHostEnvironment` parameter from the `NwsManager` constructor.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/dotnet-presentations/dotnet-aspire-workshop/issues/43?shareId=XXXX-XXXX-XXXX-XXXX).
This right now doesn't work with www/zones.json in deployment.
We have api code to call out there and get the zones, this is what you need to do right now.
zones.json should be an embedded resource most likely.
The text was updated successfully, but these errors were encountered: