<Routes @rendermode="@InteractiveServer" /> in App.razor file makes Blazor Identity components such as Login, Register Not Found
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- bootstrap, csharp
- Domaine
- authentication, backend
Piste de recherche
Start by reproducing the reported authorization failure with .NET 9, BlazorBootstrap 3.5.0, and the supplied App.razor markup. Compare behavior with and without @rendermode on Routes; done means explaining whether BlazorBootstrap contributes to the failure and identifying a working setup for Identity routes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
NOTE: We do not look at .zip attachments for issue investigation.
Describe the bug
Before scaffolding Blazor Identity, my Blazor Server App with Blazor.Bootstrap components works fine. After scaffolding Blazor Identity, authorization function totally doesn't work although @attribute [Authorize] was added.
It took a while to figure out the root cause is <Routes @rendermode="@InteractiveServer" /> in App.razor file. After changed <Routes @rendermode="@InteractiveServer" /> to , authorization function starts working.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
- .NET Version: [.NET 9]
- BlazorBootstrap: [3.5.0]
- Blazor Server: [e.g. WebAssembly, Server]
- Blazor Interactive Render Mode: [Auto]
- Blazor Interactivity Location: [Per page/component]
Sample code
<ImportMap />
<HeadOutlet @rendermode="@InteractiveServer" />
<script src="_framework/blazor.web.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.0.1/chart.umd.js" integrity="sha512-gQhCDsnnnUfaRzD8k1L5llCCV6O9HN09zClIzzeJ8OJ9MpGmIlCxm+pdCkqTwqJ4JcjbojFr79rl2F1mzcoLMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chartjs-plugin-datalabels/2.2.0/chartjs-plugin-datalabels.min.js" integrity="sha512-JPcRR8yFa8mmCsfrw4TNte1ZvF1e3+1SdGMslZvmrzDYxS69J7J49vkFL8u6u8PlPJK+H3voElBtUCzaXj+6ig==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
<script src="_content/Blazor.Bootstrap/blazor.bootstrap.js"></script>
GitHub repo
GitHub repo with minimal code to reproduce the issue.
Desktop (please complete the following information):
- OS: [Windows]
- Browser [chrome]
- Version [11]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
- Langage dominant
- HTML
- Étoiles
- 1.2k
- Forks
- 111
- Merge moyen
- 4 min
- PR mergées (30 j)
- 55
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de vikramlearning/blazorbootstrap
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
vikramlearning/blazorbootstrap#1388 ·
Les mainteneurs répondent en général sous 1 jour
-
NET 11 SupportOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 28/100
vikramlearning/blazorbootstrap#1362 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
vikramlearning/blazorbootstrap#1346 ·
Les mainteneurs répondent en général sous 1 jour
-
Showcase: rich sample websites built with Blazor BootstrapPeut-être pris @gvreddy04 l’a pris il y a 8 jours. Ouverte
vikramlearning/blazorbootstrap#1343 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
[New Component] TreeViewOuvertearea-tree-view new component
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 8/100
vikramlearning/blazorbootstrap#1339 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de vikramlearning/blazorbootstrap
Issues similaires
-
area:infra area:storage bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
THU-MAIC/OpenMAIC#2311 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
SAP/ai-sdk-java#1206 ·
Les mainteneurs répondent en général sous 1 jour
-
Additional underlay with a different id than the channel owner is acceptedPeut-être pris @dmuensterer l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
buckyos/buckyos#741 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour