1,460 questions with Blazor tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Allow Anonymous user on a Blazor page

I've developed a blazor application.I'd like to exclude one of the pages from the authentication requirement so that anonymous users can visit it.I added the following line to the top of the page,but it didn't take effect,redirecting the user to the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-28T09:18:46.403+00:00
Meisam Dehghan 46 Reputation points
commented 2021-02-01T03:14:53.127+00:00
Jiadong Meng - MSFT 126 Reputation points
0 answers

Blazor Editor - Element Property Explorer

Do you know of a Visual Studio plug-in or an editor which displays the properties of an Element say <Input> or <button> when you click on it. This would be something similar to the Property Grid in the Windows Forms designer.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-26T20:14:10.993+00:00
S Chapman 82 41 Reputation points
commented 2021-01-27T05:35:46.67+00:00
Fei Han - MSFT 306 Reputation points Microsoft Vendor
1 answer

Blazor - Progress Indicator - Timer Object

I have a requirement to display the progress of jobs on an application server in a Blazor Server app. Currently I'm using a timer to poll the database for progress and display the results to the user. I have no control over the app server and can't…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-22T13:13:55.287+00:00
S Chapman 82 41 Reputation points
answered 2021-01-26T09:21:34.253+00:00
Michael Wang-MSFT 1,061 Reputation points
1 answer One of the answers was accepted by the question author.

Cannot find identity in add New Scaffolder menu

Hello, These days, I am studying about Blazer Server app to review whether or not I could use this framework for my personal projects. During checking the default Authentication service in VS 2019 community version, individual User Accounts, I…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,791 questions
asked 2021-01-10T12:32:52.51+00:00
Dong Kyu Hwang 21 Reputation points
commented 2021-01-25T07:28:49.153+00:00
Tianyu Sun-MSFT 28,846 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Blazor Wasm Client debugging issues

Debugging a web assembly client application is quite different to a "normal .Net" application (e.g. Blazor server side). Examples: Intellisense in watch window doesn't work. Hexadecimal display in watch window is available, but does not…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
961 questions
asked 2021-01-22T21:35:33.403+00:00
EuroEager2008 21 Reputation points
commented 2021-01-24T23:22:24.67+00:00
Ahmed Alejo 76 Reputation points
1 answer

Blazor Role Authorization not working

I have a Blazor server application with Identity setup to utilize a SQL Server. Additionally I'm using IdentityManager2 to assist with ensuring the account/roles are setup and everything works properly everywhere except for AuthorizeView and Authorize. …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-24T08:48:59.483+00:00
ICodeInTx 56 Reputation points
answered 2021-01-24T15:11:28.617+00:00
ICodeInTx 56 Reputation points
2 answers One of the answers was accepted by the question author.

Blazor Startup - Pre-registered Services

Hi I'm new to Blazor ad C# 6.0 and trying to find my feet. I am learning about dependency injection currently. Whilst I appreciate why DI is needed I am struggling a bit with documentation. From the documentation it is clear that you first need to…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,528 questions
asked 2021-01-21T10:07:12.25+00:00
S Chapman 82 41 Reputation points
answered 2021-01-23T08:55:57.817+00:00
Ahmed Alejo 76 Reputation points
0 answers

Blazor Startup Class

I'm looking at Blazor Server app and in particular exploring the auto-generated source code. I have found that renaming the methods in Startup class causes an exception and the app won't load. The Startup class is passed to the host only in the form of a…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-20T18:05:22.507+00:00
S Chapman 82 41 Reputation points
commented 2021-01-22T01:55:38.927+00:00
Yinqiu Yao-MSFT 236 Reputation points
1 answer One of the answers was accepted by the question author.

string test difficulty asp.net

H members when i make a single test of string it work fine user = HttpContext.Current.User.Identity.Name Label7.Text = user If Not user = "STUPREMAT\M.houssem" Then Menu1.Items(2).Enabled = False End If and when i make…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-19T13:10:55.307+00:00
HOUSSEM MAHJOUBI 286 Reputation points
accepted 2021-01-21T13:20:28.94+00:00
HOUSSEM MAHJOUBI 286 Reputation points
2 answers One of the answers was accepted by the question author.

C# Syntax =>

PLEASE can somebody rewrite the below code for me without using the => operator. I'm trying to understand what it is doing and struggling. Have spent a lot of time but still can't get it. Thanks in advance: public static IHostBuilder…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,528 questions
asked 2021-01-20T17:06:20.243+00:00
S Chapman 82 41 Reputation points
commented 2021-01-20T17:46:13.687+00:00
S Chapman 82 41 Reputation points
1 answer

WebAssembly and System.IO.Ports package

Has anyone had any luck creating a c# Net Standard 2.1 RS232 serial coms library using the System.IO.Ports package for use with a WebAssembly project. It would seem there's an issue with the Nuget package containing the wrong version of System.IO.Ports…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-14T16:21:33.977+00:00
answered 2021-01-19T11:12:57.17+00:00
1 answer

Roles question for situation where a user can login as other users

I am building an application Blazor Serverside) where a user can join, get a membership (Customer) and then fill out information on various pages. The other pathway is that they hire someone to do this for them (Pro) and that someone may ask them to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,528 questions
asked 2021-01-16T22:19:11.533+00:00
Daniel noyn 1 Reputation point
answered 2021-01-18T20:55:59.63+00:00
Duane Arnold 3,216 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor component flow

I'm building a Blazor (server) application. On a user (test) screen I have a button that reads information stored in Redis and displays on the screen. What I don't understand is that I have to click the button twice for the screen to update. Here…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-10T08:28:52.163+00:00
AmaraCode LLC 261 Reputation points
accepted 2021-01-16T14:10:39.527+00:00
AmaraCode LLC 261 Reputation points
1 answer

Why does cancelling new user signup in Azure AD B2C redirects to sites home page, produces “AuthorizationFailed” error?

I have a Blazor Hosted WASM application, and am using Azure AD-B2C to secure it. If a user who is not logged in tries to access any site on the page, they are directed to our b2c login page, as they should be, and if they supply a good username and…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,722 questions
asked 2021-01-13T01:02:35.013+00:00
Michael Kossin 1 Reputation point
answered 2021-01-14T23:05:57.177+00:00
James Hamil 22,891 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Blazor server side - set diferent buttons state based on a method

How can i set diferent buttons state an colors, based on a method thar runs before rendering?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-04T11:34:33.647+00:00
João Coelho 41 Reputation points
accepted 2021-01-14T08:55:16.55+00:00
João Coelho 41 Reputation points
1 answer One of the answers was accepted by the question author.

Namespace error with nuget package

Hi, I have used nuget to add a package to visual studio community (Version 16.9.0 preview 2.0), in a C# Blazor web assembly project. The nuGet add seems to work fine, and the package shows up in the dependencies for the project in the solution explorer…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,528 questions
asked 2021-01-12T23:17:30.587+00:00
David Heddle 26 Reputation points
commented 2021-01-13T13:46:43.777+00:00
David Heddle 26 Reputation points
0 answers

Deployment of a Blazor WASM app from DevOps piepline results in path site/wwwroot/wwwroot/

Im building and deploying a .Net 5 Blazor WASM app from Azure Devops with the following pipeline to an Azure Web App, but the deployment adds an additional wwwroot directory inside the wwwroot directory, because the zip files get's extracted to the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-08T15:48:22.8+00:00
Gerald Fischer 1 Reputation point
commented 2021-01-12T09:47:12.237+00:00
Fei Han - MSFT 306 Reputation points Microsoft Vendor
0 answers

ASP.net core Blazor Server _ Client Architectural

Im beginer With Blazor , we work on system with back office and front users system that we done with MVC 5 but we want to upgrad to blazor with .Net5 , can i used Blazor Server Side as system back office and WebAssembly as Client user app if so can i set…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-09T08:48:51.927+00:00
arkan salman 6 Reputation points
commented 2021-01-12T02:24:56.867+00:00
Rena Ni - MSFT 2,066 Reputation points
2 answers

If modify project name of blazor app, scope string in bundled css didn't matched in html tag.

why is this? how can i solve this?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-05T06:25:55.16+00:00
Zang-Ho Bae 26 Reputation points
answered 2021-01-10T11:15:34.84+00:00
Pavel Purma 1 Reputation point
1 answer One of the answers was accepted by the question author.

configuration best practice

I'm creating a Blazor Server application and I have static configuration data like the path to another api server. I'll need to access that api variable from multiple places such as in .razor components and even in the middleware pipeline. Is there…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
asked 2021-01-01T02:51:09.67+00:00
AmaraCode LLC 261 Reputation points
commented 2021-01-08T18:26:28.147+00:00
AmaraCode LLC 261 Reputation points