Add .NET 10 Razor Pages rewrite proposal with GitHub OAuth admin section and Aspire support#36
Conversation
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
|
@copilot Could you add to the proposal, support via an online markdown editor and, essentially, "admin section" where i could go and edit my posts? |
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Added comprehensive admin section to the proposal (commit ba0a37b). The feature includes: Core Features:
Technical Implementation:
Key Design Decisions:
The admin section is covered in the new major section "Admin Section: Online Markdown Editor" with full implementation details, code examples, and updated migration phases. |
…examples Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
…es to proposal Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
|
@copilot Can you change it so the auth is github? i'd like to have the app support me logging into it with github. i'd like to make sure however we do the login, that future features like always keeping your content safe in a github repository would be a thing. i'm not too interested in other auth providers other than github and "static username and password stored in environment variables in the app" - and we should have both providers in this update and swapping them should be simple. |
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Updated authentication to use GitHub OAuth as the primary method with static credentials as an alternative (commit b3b7873). GitHub OAuth Authentication (Primary):
Static Credentials (Alternative):
Easy Provider Switching:
Future GitHub Integration Roadmap:
The proposal now includes complete code examples for both authentication providers, security considerations specific to each, and a detailed roadmap for GitHub repository integration features. |
…ovider property Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
…per disposal Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
|
@copilot could you update the proposal to include all of this? |
All requested features are already included in the proposal (commits ba0a37b through a616a21): Admin Section (Lines 159-1244):
Authentication (Lines 175-1002):
GitHub Integration (Lines 1192-1244):
Security (Lines 1043-1178):
The proposal is complete at 1,792 lines with all features documented, including technical implementation, code examples, configuration, and migration strategy. |
|
@copilot Could you add to this support for it running locally using Aspire so folks could test it with Azure or if they wanted to add another db or some other integrations for deeper functionality, they could do so. ideally it could still deploy as easily as a small linux app service, but, if they wanted to deploy the full-on aspire thing, they could do that, too, to like, container apps or whatever. not worried about all that, yet, as much as i am just wanting to be able to run it like an aspire app and get all that goodness even though i don't plan on adding any apis or any back-end stuff or anything like that. |
Co-authored-by: bradygaster <41929050+bradygaster@users.noreply.github.com>
Added comprehensive .NET Aspire support to the proposal (commit fec43cc). The integration provides enhanced local development while maintaining simple deployment options. Key Features: Local Development:
Project Structure:
Deployment Flexibility:
Code Examples:
Benefits:
The proposal is now 2,291 lines with complete Aspire integration guidance. |
|
@copilot i'd like you to implement all of this for me. what's our next step |
Implementing the complete proposal is a substantial undertaking that requires a phased approach. Here's the recommended path forward: Recommended Next Steps: Option 1: Proof of Concept Branch (Recommended)
This validates the architecture before full migration. Option 2: Full Implementation Plan
Option 3: Parallel Development
Question for you: Note: This is a major rewrite (~3000+ lines of new code). The proposal serves as our blueprint, but implementation will take multiple iterations to do properly. |
|
option 2 - burn it all down and start over. if there's ANY way we could save the content i've got in there - the markdown files with their metadata - that'd be great. |
Proposal to migrate downr from .NET Core 3.1 + Blazor WebAssembly to .NET 10 with pure Razor Pages (no Blazor Server/WebAssembly).
Changes
Added:
PROPOSAL-DOTNET10-RAZOR-PAGES.md- Comprehensive rewrite proposal (2,291 lines) covering:Architecture shift: Blazor WebAssembly SPA → server-rendered Razor Pages
Performance gains: 60-80% faster initial load (3-5s → 300-500ms)
SEO optimization: Full HTML in initial response (eliminate client-side rendering delay)
Admin section (new optional feature - disabled by default):
GitHub integration roadmap:
.NET Aspire support (new optional feature for local development):
Migration strategy: 8-week sprint plan with phase-by-phase breakdown (Aspire integration optional in Sprint 8)
Implementation patterns:
Authentication features:
"authProvider": "github"or"static")Package updates:
AspNet.Security.OAuth.GitHubfor GitHub OAuthBCrypt.Net-Nextfor static auth (optional)Bootstrap Iconsfor admin UIOctokit(future) for GitHub API integrationAspire.Hosting,Aspire.Hosting.Azure.Storage, OpenTelemetry packages (optional, Debug configuration only)Backward compatibility: Preserves content structure and configuration format
Security: Production-ready security guidance including:
Developer experience enhancements:
dotnet run(no Aspire required)Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.