1,395 questions with Blazor tags

Sort by: Updated
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,395 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,395 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,272 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,395 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,395 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,395 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,272 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,395 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,180 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,395 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,272 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,395 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,395 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,650 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 21,851 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,395 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,391 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,395 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,272 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,395 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,395 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,061 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,395 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,395 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
0 answers

How to modify bundled static file name such as ProjectName.styles.css and blazor.server.js?

I wanna hide that i use The Blazor. so, I should modify name of bundled css and js files. How to do 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,395 questions
asked 2021-01-05T06:28:20.793+00:00
Zang-Ho Bae 26 Reputation points
commented 2021-01-07T01:40:45.727+00:00
Karney-MSFT 1 Reputation point
1 answer

Deploy Blazor server Application changes in IIS 7.5.

Hello sir, Is there any way to update application changes in IIS without down application pool/iis?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,395 questions
asked 2020-12-29T13:08:25.64+00:00
Anantham.S 1 Reputation point
commented 2021-01-05T09:55:29.613+00:00
Bruce Zhang-MSFT 3,736 Reputation points
1 answer One of the answers was accepted by the question author.

Difference between Experimental and Production Supported version

I want to know Difference between Experimental and Production Supported version in Blazor. I mean Mobile Blazor Bindings is now Experimental(Not Committed) thats means i can't used now Mobile Blazor Bindings for my Project?

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,395 questions
asked 2020-12-30T17:16:26.907+00:00
chintankumar Vaghani 21 Reputation points
accepted 2020-12-31T10:06:02.587+00:00
chintankumar Vaghani 21 Reputation points
1 answer One of the answers was accepted by the question author.

How do i make bootstrap responsive in a blazor server side?

I'm trying to make a component based on a responsive bootstrap navbar. Is there a way?

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,395 questions
asked 2020-12-29T15:27:29.203+00:00
João Coelho 41 Reputation points
accepted 2020-12-30T07:58:43.687+00:00
João Coelho 41 Reputation points
4 answers One of the answers was accepted by the question author.

Messages, events between components?

Hi everyone,. my layout page (MainLayout.razor) contains navigation in header additionally component for login (right side of header) and finally language selection (last entry in header). The index is output in MainLayout via @Anonymous . Now 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,395 questions
asked 2020-12-29T13:41:50.787+00:00
perfect code 271 Reputation points
answered 2020-12-29T18:47:44.52+00:00
perfect code 271 Reputation points