Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCLs for Blazor apps that support pages+views #32458

Merged
merged 1 commit into from May 3, 2024

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Apr 29, 2024

Fixes #32453

Thanks @ghhv! πŸš€ ... Let's see where this goes.

Dan, Artak ... It was several years ago that I had an RCL working in a Blazor Server app with pages/views and components. This PR updates the guidance on using the Support pages and views checkbox for those who do so. We instruct to deselect for pages and views but say that if you do that you also need to make changes to support components and explain those changes.

Also note that @ghhv said on the PU issue that <AddRazorSupportForMvc>true</AddRazorSupportForMvc> no-oped in a Blazor WASM app, so I didn't remark on it here.

Versioning-wise, I'm a bit concerned. It looks like to me based on what I had here from several years ago that the πŸ§€ moved (at least once) over the years, and I'm not sure how (or even if) to version these revisions. I'll go look at the RCL template over releases and see if I can spot deltas in the project file as a clue for when changes occurred. πŸƒβ€β™‚οΈ UPDATE: I checked all versions of the project template, and the updates on PR apply to all versions. πŸ‘


Internal previews

πŸ“„ File πŸ”— Preview link
aspnetcore/blazor/components/class-libraries.md Consume ASP.NET Core Razor components from a Razor class library (RCL)

@guardrex
Copy link
Collaborator Author

guardrex commented May 3, 2024

I've posted the one question that I have to Artak offline. I'll patch this if need be.

@guardrex guardrex merged commit cc40abb into main May 3, 2024
3 checks passed
@guardrex guardrex deleted the guardrex/blazor-support-pages-and-views-config branch May 3, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot enable "Support pages and views" for WebAssembly client projects
1 participant