Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions AStar.Web.slnx
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
<Solution>
<Folder Name="/Solution Items/"/>
<Folder Name="/Solution Items/" />
<Folder Name="/Solution Items/.github/">
<File Path=".github\codeql.yml"/>
<File Path=".github\copilot-instructions.md"/>
<File Path=".github\dependabot.yml"/>
<File Path=".github\codeql.yml" />
<File Path=".github\copilot-instructions.md" />
<File Path=".github\dependabot.yml" />
</Folder>
<Folder Name="/Solution Items/.github/instructions/">
<File Path=".github\instructions\blazor.instructions.md"/>
<File Path=".github\instructions\blazor.instructions.md" />
</Folder>
<Folder Name="/Solution Items/.github/prompts/">
<File Path=".github\prompts\astar.prompt.md"/>
<File Path=".github\prompts\xunit.prompt.md"/>
<File Path=".github\prompts\astar.prompt.md" />
<File Path=".github\prompts\xunit.prompt.md" />
</Folder>
<Folder Name="/Solution Items/.github/workflows/">
<File Path=".github\workflows\main_astar-dev.yml"/>
<File Path=".github\workflows\main_astar-dev.yml" />
</Folder>
<Folder Name="/src/"/>
<Folder Name="/src/" />
<Folder Name="/src/aspire/">
<Project Path="src/aspire/AStar.Web.AppHost/AStar.Web.AppHost.csproj"/>
<Project Path="src/aspire/AStar.Web.ServiceDefaults/AStar.Web.ServiceDefaults.csproj"/>
<Project Path="src/aspire/AStar.Web.AppHost/AStar.Web.AppHost.csproj" />
<Project Path="src/aspire/AStar.Web.ServiceDefaults/AStar.Web.ServiceDefaults.csproj" />
</Folder>
<Folder Name="/src/modules/"/>
<Folder Name="/src/modules/" />
<Folder Name="/src/modules/apis/">
<Project Path="src/modules/apis/AStar.Web.ApiService/AStar.Web.ApiService.csproj"/>
<Project Path="src/modules/apis/AStar.Web.ApiService/AStar.Web.ApiService.csproj" />
</Folder>
<Folder Name="/src/uis/">
<Project Path="src\uis\AStar.Web\AStar.Web.csproj"/>
<Project Path="src\uis\AStar.Dev.Web\AStar.Dev.Web.csproj" />
</Folder>
<Folder Name="/test/"/>
<Folder Name="/test/" />
<Folder Name="/test/aspire/">
<Project Path="test/aspire/AStar.Web.Tests/AStar.Web.Tests.csproj"/>
<Project Path="test/aspire/AStar.Web.Tests/AStar.Web.Tests.csproj" />
</Folder>
</Solution>
2 changes: 1 addition & 1 deletion src/aspire/AStar.Web.AppHost/AStar.Web.AppHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<ItemGroup>
<ProjectReference Include="..\..\modules\apis\AStar.Web.ApiService\AStar.Web.ApiService.csproj"/>
<ProjectReference Include="..\..\uis\AStar.Web\AStar.Web.csproj"/>
<ProjectReference Include="..\..\uis\AStar.Dev.Web\AStar.Dev.Web.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/aspire/AStar.Web.AppHost/AppHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
var apiService = builder.AddProject<AStar_Web_ApiService>("apiservice")
.WithHttpHealthCheck("/health");

builder.AddProject<AStar_Web>("webfrontend")
builder.AddProject<AStar_Dev_Web>("webfrontend")
.WithExternalHttpEndpoints()
.WithHttpHealthCheck("/health")
.WithReference(apiService)
.WaitFor(apiService);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<base href="/"/>
<link rel="stylesheet" href="@Assets["lib/bootstrap/dist/css/bootstrap.min.css"]"/>
<link rel="stylesheet" href="@Assets["app.css"]"/>
<link rel="stylesheet" href="@Assets["AStar.Web.styles.css"]"/>
<link rel="stylesheet" href="@Assets["AStar.Dev.Web.styles.css"]"/>
<ImportMap/>
<link rel="icon" type="image/png" href="favicon.png"/>
<HeadOutlet/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="top-row ps-3 navbar navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="">AStar.Web</a>
<a class="navbar-brand" href="">AStar.Dev.Web</a>
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using AStar.Web.Components.Layout
@using AStar.Dev.Web.Components.Layout
<Router AppAssembly="typeof(Program).Assembly">
<Found Context="routeData">
<RouteView RouteData="routeData" DefaultLayout="typeof(MainLayout)"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.AspNetCore.OutputCaching
@using Microsoft.JSInterop
@using AStar.Web
@using AStar.Web.Components
@using AStar.Dev.Web
@using AStar.Dev.Web.Components
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using AStar.Web;
using AStar.Web.Components;
using AStar.Dev.Web;
using AStar.Dev.Web.Components;

var builder = WebApplication.CreateBuilder(args);

Expand All @@ -16,7 +16,7 @@
{
// This URL uses "https+http://" to indicate HTTPS is preferred over HTTP.
// Learn more about service discovery scheme resolution at https://aka.ms/dotnet/sdschemes.
client.BaseAddress = new Uri("https+http://apiservice");

Check warning on line 19 in src/uis/AStar.Dev.Web/Program.cs

View workflow job for this annotation

GitHub Actions / build

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)

Check warning on line 19 in src/uis/AStar.Dev.Web/Program.cs

View workflow job for this annotation

GitHub Actions / build

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)

Check warning on line 19 in src/uis/AStar.Dev.Web/Program.cs

View workflow job for this annotation

GitHub Actions / build

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
});

var app = builder.Build();
Expand All @@ -41,3 +41,3 @@

app.MapDefaultEndpoints();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AStar.Web;
namespace AStar.Dev.Web;

public class WeatherApiClient(HttpClient httpClient)
{
Expand Down
Binary file added src/uis/AStar.Dev.Web/published/AStar.Dev.Web
Binary file not shown.
Loading
Loading