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

Explicitly Enumerate the Subset of C# Blazor WASM Supports #42850

Closed
devshgraphicsprogramming opened this issue Jul 21, 2022 · 5 comments
Closed
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. question Status: Resolved

Comments

@devshgraphicsprogramming

Summary

The Blazor documentation says that some things may throw exceptions or fail to run/compile if deployed as Blazor WASM, yet the MSDN documentation never states what these features are exactly!

@devshgraphicsprogramming devshgraphicsprogramming added the design-proposal This issue represents a design proposal for a different issue, linked in the description label Jul 21, 2022
@Pilchie Pilchie added the area-blazor Includes: Blazor, Razor Components label Jul 21, 2022
@javiercn
Copy link
Member

@devshgraphicsprogramming thanks for contacting us.

Can you point out to the article that you are referring to? (For future reference, if you are on a doc page, you can provide feedback about the page directly there).

The only language feature that I can think of will have issues is dynamic. Any other language construct should work. Besides that, the other limitations are related to .NET framework features and are related to linking/trimming, which are already documented separately.

@javiercn javiercn added Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. and removed design-proposal This issue represents a design proposal for a different issue, linked in the description labels Jul 22, 2022
@ghost
Copy link

ghost commented Jul 22, 2022

Hi @devshgraphicsprogramming. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@devshgraphicsprogramming
Copy link
Author

@devshgraphicsprogramming thanks for contacting us.

Can you point out to the article that you are referring to? (For future reference, if you are on a doc page, you can provide feedback about the page directly there).

The only language feature that I can think of will have issues is dynamic. Any other language construct should work. Besides that, the other limitations are related to .NET framework features and are related to linking/trimming, which are already documented separately.

https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-6.0#complete-net-api-compatibility

I don't see a list or a link to an explainer about what isnt available.

@ghost ghost added Needs: Attention 👋 This issue needs the attention of a contributor, typically because the OP has provided an update. and removed Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. labels Jul 22, 2022
@javiercn
Copy link
Member

@devshgraphicsprogramming thanks for the additional details.

There is no static list that you can look anywhere for that. The framework APIs are annotated for the most part when they are specific to a given platform with the SupportedOSPlatformAttribute and similar attributes and there is a built-in analyzer that will flag incorrect usages of such APIs.

@javiercn javiercn added question ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. and removed Needs: Attention 👋 This issue needs the attention of a contributor, typically because the OP has provided an update. labels Jul 25, 2022
@ghost ghost added the Status: Resolved label Jul 25, 2022
@ghost
Copy link

ghost commented Jul 26, 2022

This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.

See our Issue Management Policies for more information.

@ghost ghost closed this as completed Jul 26, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 25, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. question Status: Resolved
Projects
None yet
Development

No branches or pull requests

3 participants