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

cannot route url - AdditionalAssemblies in app.razor - blazor web app #48875

Closed
tinikook opened this issue Jun 18, 2023 · 3 comments
Closed

cannot route url - AdditionalAssemblies in app.razor - blazor web app #48875

tinikook opened this issue Jun 18, 2023 · 3 comments
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved

Comments

@tinikook
Copy link

blazor web App
in .net 8 review 5 i can't use AdditionalAssemblies in app.razor file.
specifically :
Router AppAssembly="@typeof(App).Assembly" PreferExactMatches="@true" AdditionalAssemblies=new[] {assembly}.
the router doesn't seem to find the site in RCL

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Jun 18, 2023
@javiercn
Copy link
Member

@tinikook thanks for contacting us.

There are APIs to manually register additional endpoints when calling MapRazorComponents, and we will be automatically discovering pages from referenced assemblies in a future preview.

@mkArtakMSFT
Copy link
Member

Thanks @javiercn.
Here is the issue tracking the remaining work here: #48767

@mkArtakMSFT mkArtakMSFT closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2023
@mkArtakMSFT mkArtakMSFT added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Jun 19, 2023
@ghost ghost added the Status: Resolved label Jun 19, 2023
@danroth27
Copy link
Member

There are APIs to manually register additional endpoints when calling MapRazorComponents

@javiercn What are these APIs? How do you register additional endpoints from other assemblies when calling MapRazorComponents?

@ghost ghost locked as resolved and limited conversation to collaborators Aug 13, 2023
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: Duplicate Resolved as a duplicate of another issue Status: Resolved
Projects
None yet
Development

No branches or pull requests

4 participants