All Questions
Tagged with asp.net-core-3.0 blazor-server-side
36
questions
0
votes
2
answers
533
views
AzureAD not working with IdentityUser and IdentityRole
I'm trying to get AzureAD authentication implemented in my app, which has role authentication. When I try to run the app, instead of automatically going to Microsoft login page (like it does in new ...
3
votes
1
answer
7k
views
Cannot access a disposed object in Blazor Server 3.0
I got a Blazor page with following form submit button
<button type="submit" class="btn btn-primary" @onclick="@(async()=> await OnCreateItem())">Create </button>
Which calls
...
13
votes
1
answer
10k
views
How to refresh a blazor sub/child component within a main/parent component?
You have a main component and inside the main component you have many sub-components
You want to refresh a single subcomponent, rather than the entire screen of the main component, is this possible?
1
vote
1
answer
2k
views
How Redirect the page the in blazor Class file
If using Navigatiomanager null value exception came while using in Class file
NavigationManager navigationManager;
public ICollection<TimeOff> GetTimeOffbyStaff(int id)
{
...
0
votes
2
answers
1k
views
Is there anyway to pull the data from another table or another model to drop down list or select box?
I am using visual studio 2019, Blazor App, Blazor Server App,Asp.netCore 3.0.
In that, I am using 2 Models (Model Gage and Model Department) and 2 different database (Model Gage with Database ...
1
vote
1
answer
1k
views
Blazor server side oninput event causing error
I am building a sample component with a form that takes a credit card number. I am attempting to add an oninput event to the InputText component, which fails to function properly once attached. ...
2
votes
2
answers
1k
views
Cannot use Vietnamese / signed & space characters in URL parameters in Blazor
I use blazor with .net core 3.0 to develop a website that allow to pass some parameters in URL.
The problem is whenever I pass a Vietnamese keyword in the URL, the blazor throw an inner exception ...
10
votes
2
answers
14k
views
Pass a child component as Parameter in Blazor
I would like to do in Blazor something that I normally do in React: create a reusable component that internally uses other child components, with the ability to pass those child components as ...
0
votes
1
answer
2k
views
Server-side Blazor get auth expiration
I have a cookie based authentication in a server-side Balzor application.
I would like to show the user a popup when there is 5 minutes before their authentication expires.
Is the only way to keep ...
1
vote
1
answer
671
views
Multiple Blazor Server Apps and Azure Authentication Logout Issue
I have 2 Blazor server-side apps, each with their own app registration in Azure AD. They're pretty much out-of-the-box from creating a new Blazor Server-Side app in VS2019, .NET Core 3.0.
When they ...
7
votes
3
answers
6k
views
Custom Middleware is causing Blazor Server-side page to stop working
My custom middleware appears to be causing some sort of conflict with my blazor server-side page. The sample middleware in short checks for a bool status and if true redirects to the counter page ...
14
votes
2
answers
11k
views
SignIn for Blazor Server-Side app not working
I am building a sample login razor component for an Asp.net core 3.0 Blazor Server-Side app. Whenever the code reaches the SignInAsyc method it just appears to hang or lock-up, as the code ceases ...
13
votes
5
answers
13k
views
onclick method is not working in Blazor server-side Razor component
I am building a sample Razor component, and I can not get my button onclick method to fire. When I click the button, nothing happens at all. I have even placed a breakpoint in the method to see if it ...
5
votes
2
answers
4k
views
MVC controller API access in Blazor not working with .NET Core 3.0
I am trying to setup a Blazor Server side app, but running into an issue with the app reading data from my MVC Controller API. I have a controller for my model Study called StudyController. I can ...
2
votes
1
answer
4k
views
ASP.NET Core 3 Blazor: Run on localhost of server ok, but run outside server error: Error during WebSocket handshake: Unexpected response code: 200
I am using .NET Core 3.0.0 , Blazor server-side, Visual Studio 2019, Windows Server 2016. I run on server ok, but connection from outside server is error.
I use Apache HTTP Web server 2.4 virtual ...