Repository navigation
Point newcomers at Grand.Web as the project to run - #1120
Open
KrzysztofPajak wants to merge 5 commits into
Open
KrzysztofPajak wants to merge 5 commits into
KrzysztofPajak wants to merge 5 commits into
Conversation
The solution offers five projects that start a web server, and Grand.Web was listed last in the Web folder. Grand.Web already hosts the storefront and all three panels; the panel projects and the Aspire host are only for split or multi-instance setups. Say so in the README and development guide, put Grand.Web at the top of the solution, group the standalone panels and Aspire in their own folders, and name the launch profiles after what they start. Also drop the empty src/* solution folders and keep all test projects in one folder.
added 4 commits
November 24, 2026 17:22
…and.Web.sln - A standalone panel reads Settings.cfg from its own App_Data and gets no plugins; the docs said it ran against the same database. - The Docker profile does not set ASPNETCORE_ENVIRONMENT; the docs said every profile did. - Grand.Web.Store has one 'Store panel only (Kestrel)' profile like Admin, opening /store instead of a route the panel does not have. - Remove src/Web/Grand.Web/Grand.Web.sln: it holds only Grand.Web, so building it never copies the plugins or the installer module.
Grand.Web references Admin, Store and Vendor, and they hold all of the panels' code. 'Standalone panels' made them look like a side project; the launch profile names already say what starting one of them alone does.
Visual Studio makes an Aspire AppHost the startup project when the solution contains one, even with Grand.Web listed first and no saved .suo, and no committed file can change that. The AppHost still builds and runs on its own with dotnet run --project src/Aspire/Aspire.AppHost.
This reverts commit 114263d.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type: feature
Issue
A fresh clone offers five projects that start a web server (
Grand.Web,Grand.Web.Admin,Grand.Web.Store,Grand.Web.Vendor,Aspire.AppHost) and nine launch profiles with names likehttp,https,Kestrel,IIS Express.Grand.Webwas listed last in theWebsolution folder. Nothing said thatGrand.Webalready hosts the storefront and all three panels, or what the other hosts are for, so newcomers had to guess which one to start.Solution
Grand.Webis the project to run (storefront +/admin,/store,/vendorin one process). Add a table in the development guide:Grand.Webalways; standalone panels only for installations that host a panel separately; Aspire only for multi-instance + Redis / telemetry testing (needs Docker).Grand.Webat the top level of the solution; Admin/Store/Vendor moved toWeb/Panels; Aspire projects toAspire. Also removed the empty/src/,/src/Core/,/src/Web/folders and movedGrand.Web.Store.Tests/Grand.Web.Vendor.Testsfrom/src/Tests/into/Tests/with the other test projects. The set of projects is unchanged.GrandNode (Kestrel)/GrandNode (IIS Express),Admin|Store|Vendor panel only (...),Two instances + Redis (http|https). InGrand.Webthe Kestrel profile is now first, so it is the default in the IDE. Ports, URLs and environment variables are unchangedGrand.Web.Storehad two Kestrel profiles (http,https); they are now oneStore panel only (Kestrel)on the same ports, like Admin, and it opens/store- the panel has no route at/.Grand.Web, so building it never copied the plugins or the installer module into the output.App_Data/Settings.cfgfrom its own project directory and runs without plugins, and that theDockerprofile does not setASPNETCORE_ENVIRONMENT.Breaking changes
None for the application. Every launch profile in
Grand.Web, the three panels and Aspire has a new name, so anything that picks a profile by its old name loses it:GrandNode (Kestrel)on https://localhost:5001, instead of IIS Express on https://localhost:44350. PickGrandNode (IIS Express)again to keep the old address (cookies, bookmarks, a store installed with that URL).Grand.Web: Kestrel) have to be selected again.dotnet run --launch-profile <old name>(Kestrel,IIS Express,http,https,Grand.Web.Vendor, ...) fail with "launch profile not found".src/Web/Grand.Web/Grand.Web.slnis gone; openGrandNode.slnx.Testing
dotnet sln GrandNode.slnx list- same 72 projects as ondevelop.dotnet restore GrandNode.slnxsucceeds.Grand.Webis at the top level, the panels are underWeb/Panels, Aspire underAspire, and all test projects underTests.GrandNode (Kestrel)first; starting it opens https://localhost:5001 as before.dotnet run --project src/Web/Grand.Webstill starts on https://localhost:5001.Store panel only (Kestrel): the browser opens https://localhost:7083/store.