Skip to content

[Blazor] Fix linking issues #43515

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

Merged
merged 2 commits into from
Aug 26, 2022
Merged

[Blazor] Fix linking issues #43515

merged 2 commits into from
Aug 26, 2022

Conversation

javiercn
Copy link
Member

Addresses https://github.com/aspnet/AspNetCore-ManualTests/issues/1556

Even though the report claims that it does not reproduce after the latest SDK insertion, it is still valuable to be more explicit about the linking.

@javiercn javiercn marked this pull request as ready for review August 24, 2022 14:40
@javiercn javiercn requested a review from a team as a code owner August 24, 2022 14:40
@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Aug 24, 2022
@javiercn javiercn changed the title Fix linking issues [Blazor] Fix linking issues Aug 24, 2022
@javiercn javiercn force-pushed the javiercn/fix-linking-config branch from e33a47e to 645ff16 Compare August 25, 2022 09:28
…ices/RemoteAuthenticationService.cs


Remove additional whitespace
@javiercn
Copy link
Member Author

@halter73 seems that this HTTP/3 test is failing consistently on the CI

image

Could we get it skipped/quarantined/retried? /cc: @JamesNK

@halter73
Copy link
Member

@halter73 seems that this HTTP/3 test is failing consistently on the CI

image

Could we get it skipped/quarantined/retried? /cc: @JamesNK

Quarantining for now akes sense to me @captainsafia

@wtgodbe
Copy link
Member

wtgodbe commented Aug 25, 2022

Quarantining for now akes sense to me @captainsafia

I quarantined in #43478, you could wait for that to flow up to main or do the same here (Issue: #43548)

@javiercn javiercn merged commit 35bd1e2 into main Aug 26, 2022
@javiercn javiercn deleted the javiercn/fix-linking-config branch August 26, 2022 14:56
@ghost ghost added this to the 8.0-alpha1 milestone Aug 26, 2022
@MackinnonBuck
Copy link
Member

/backport to release/7.0

@github-actions
Copy link
Contributor

Started backporting to release/7.0: https://github.com/dotnet/aspnetcore/actions/runs/3153432703

@dotnet dotnet deleted a comment Sep 29, 2022
mkArtakMSFT pushed a commit that referenced this pull request Oct 3, 2022
Backport of #43515 to release/7.0

/cc @MackinnonBuck @javiercn

# Fix linking issues

Fixes an issue reported by manual testing where Blazor WebAssembly projects created from the Individual Auth template throw an exception on page load after publishing.

## Description

The problem was already fixed in `main` by making `RemoteAuthenticationService` more linker friendly. From @javiercn's comment on the original issue:

> What was happening was that the linker was erasing the parameter names of the record we were using for serializing the data

Fixes https://github.com/aspnet/AspNetCore-ManualTests/issues/1556

## Customer Impact

Customers are likely to encounter this issue, especially since one of our project templates reproduces the bug. It's expected that our project templates should be ready to publish out of the box.

## Regression?

- [X] Yes
- [ ] No

Regressed from .NET 6.

## Risk

- [ ] High
- [ ] Medium
- [X] Low

The change only involves minor restructuring to enable linker-friendliness. There are no changes to any core functionality.

## Verification

- [X] Manual (required)
- [ ] Automated

## Packaging changes reviewed?

- [ ] Yes
- [ ] No
- [X] N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants