All Questions
Tagged with asp.net-core-3.0 blazor
50
questions
20
votes
2
answers
9k
views
How to enable/use/configure WebAssembly Blazor in existing .NET MVC Project?
I have a web application that is written in .net core MVC, a standard, "old school" web application using model/view/controller pattern. In this app I have a few complex forms which change based on ...
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 ...
17
votes
1
answer
22k
views
How to bind to element from collection/list in Blazor?
I want to bind values to elements from my list in a loop but I cannot find the good solution.
<EditForm Model="@dailyReport" OnValidSubmit="@SubmitDailyReport">
<p&...
2
votes
2
answers
3k
views
.NET Core 3.0 does not appear in Visual Studio 2017?
I'm trying to start using Blazor, and therefore I must start using .Net Core 3, but it does not appear to use it !!!! .
I installed .Net Core 3 as you can see:
C:\Program Files (x86)\Microsoft ...
1
vote
1
answer
1k
views
Can't Reference Static Files From RCL
I'm working on a Blazor project, where I basically have 3 projects: Client, Server, and Components. Components is an RCL. The structure is similar to the following:
Components (RCL)
-- wwwroot/
---- ...
2
votes
0
answers
1k
views
Difference between ASP.NET MVC 5 and ASP.NET CORE 3.0 (Blazor) [closed]
I am a beginner in learning in .NET Technologies. As I am aware of C# language and i had learned Asp.Net MVC 5. I am able to understand the concepts which i had been able to implement. I have been ...
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
...
5
votes
1
answer
3k
views
How to get input parameter in MainLayout?
Blazor App: I have custom header logo and custom footer links that
will change, based on the input parameter {id}.
Input parameter ID is used in a query to retrieve company logo, and
footer link ...
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)
{
...
2
votes
2
answers
6k
views
NullReferenceException on page initialization if I use OnInitializedAsync method
I have a simple application but it stops working on page initialization with error
NullReferenceException: Object reference not set to an instance of an object.
Site.Shared.MainLayout....
1
vote
1
answer
2k
views
Why are CascadingValue's null when accessing the page directly?
I have an application where almost every page is going to need to reference their organization record, so in MainLayout.razor I have this code
@code {
Organization CurrentOrganization { get; set; }...
5
votes
1
answer
3k
views
Browser Link not refreshing page in Chrome
I am following this documentation to enable Browser Link and set up a new Blazor project (targeting .NET Core 3) using the provided template (running Visual Studio 16.3.9, which is latest as of ...
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 ...
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 ...