Rebuild site as ASP.NET Core MVC editorial platform (final)#6
Merged
Code-311 merged 1 commit intoMar 10, 2026
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Motivation
Description
ApplicationDbContext(inheritsIdentityDbContext<ApplicationUser>), EF Core entity configurations, and environment-based provider switching to use InMemory in Development and PostgreSQL in non-development viaUseNpgsql/UseInMemoryDatabaseinProgram.cs.Models/Domain(Essay,FrameworkModel,Tool,ToolQuestion,MediaItem,UploadedAsset,StaticPage,SiteSetting) withEntityBaseandPublishableEntityBasebase classes, and anUploadedAssetbyte-array storage model plus DB streaming endpoint atControllers/AssetsController.Get.ApplicationUser, ASP.NET Identity wiring, and aDatabaseSeederthat creates anAdminrole and seeds a singleadminuser with the password read from config (Seed:AdminPassword, defaultPassword123!) and starter content aligned to the platform thesis.Areas/Adminwith role-protected MVC controllers, viewmodels, and Razor views for CRUD/publish workflows for Essays, FrameworkModels, Tools, ToolQuestions, MediaItems, UploadedAssets (upload), and StaticPages, keeping admin layout separate from public site navigation./,/writings,/writings/{slug},/models,/models/{slug},/tools,/tools/{slug},/media,/about, and/contactand ensure DB-backed rendering of Markdown content.IMarkdownRendererimplementation usingMarkdig(HTML disabled) and anIAssetService/AssetServiceto save uploaded files into the DB; wired both via DI inProgram.cs.localStorage), removed accent switching, and addedwwwroot/img/Logo-Out.svgintegrated to respect CSS variables for light/dark rendering.ListPageViewModel<T>,DetailPageViewModel<T>,StaticPageViewModel) and updated/removed stale partials to avoid portfolio-era references.Testing
dotnet buildbut it failed because the container lacks the .NET SDK (dotnetnot available), so full compile/runtime verification and Razor compile checks were not executed here (failure).rg -n "Atelier Vertical|\bWork\b|Archive|Thoughts|portfolio|studio"and found no active matches beyond the README (success).@modeldeclarations and other basic view-model presence (script executed and returned without errors, indicating a basic surface-level alignment pass succeeded); full Razor compile validation requiresdotnet build.dotnet build,dotnet ef migrations add Initial(or verify migrations), and run the app in a dotnet-enabled environment to confirm zero Razor compile errors, DB migrations for PostgreSQL, and seeded admin login end-to-end.Codex Task