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 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 - 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…
![](https://techprofile.blob.core.windows.net/images/gqKZQXYNIEOck1SWo0V4JQ.png?8D8A26)
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 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 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 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 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…
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…
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…
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…
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…
![](https://techprofile.blob.core.windows.net/images/-cMQHARdAE--M0ay3o3E7g.png?8D90C1)
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…
![](https://techprofile.blob.core.windows.net/images/cc5ccc83eeb3431c9ac8f6b8ff0dd8a6.png)
![](https://techprofile.blob.core.windows.net/images/cc5ccc83eeb3431c9ac8f6b8ff0dd8a6.png)
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…
![](https://techprofile.blob.core.windows.net/images/SbBXW6wumkK4XgZSyURk4A.png?8D926C)
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?
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…
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…
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…
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?
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…
![](https://techprofile.blob.core.windows.net/images/cc5ccc83eeb3431c9ac8f6b8ff0dd8a6.png)
![](https://techprofile.blob.core.windows.net/images/cc5ccc83eeb3431c9ac8f6b8ff0dd8a6.png)