1,674 questions with Developer technologies | .NET | Blazor tags

Sort by: Updated
2 answers

Blazor Server Side - Authentication without using Identity

Good Day Everyone I'm new on using Blazor Server Application, currently on our company we have a exisiting User/Account database, that all our projects are using, now I have succesfully created a cookie based authentication on my ASP.NET Core MVC…

Developer technologies | .NET | Blazor
asked 2021-08-10T14:23:40.88+00:00
Arnold Mendoza 11 Reputation points
commented 2021-08-11T04:54:49.683+00:00
hydeinthesky 11 Reputation points
1 answer

Signalr netCore 5 Sendasync inside an On Event not reaching clients

Hi, here the related code portion that have an issue hubconnection.On<ConsRequest>("Rcv_ConsPatReady", async (ConsRequest item) => { if (item != null) { var c = await service.AddOrUpdateConsultation(item.PatientID, …

Developer technologies | .NET | Blazor
Developer technologies | ASP.NET | Other
asked 2021-08-10T00:30:20.907+00:00
issam boughanmi 1 Reputation point
answered 2021-08-10T07:39:08.393+00:00
Anonymous
2 answers One of the answers was accepted by the question author.

SignalR with Blazor Progressive Web App & Server - notification on icon desktop

hi, I'm using Blazor with SignalR in a client / server environment. I'm able to send / receive real-time notifications. When I install the WPA client on an android OS , and I send a notification with SignalR , I do receive the message on the installed…

Developer technologies | .NET | Blazor
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
162 questions
asked 2021-08-03T04:59:22.417+00:00
jordi 21 Reputation points
accepted 2021-08-09T19:46:47.733+00:00
jordi 21 Reputation points
2 answers

Editing Without Using a Dedicated Edit Page

In most Blazor WASM CRUD examples editing is performed by navigating to a dedicated page. This is a breakdown of what is the common example I have found after many searches... Initial page contains a grid component Each detail row has an…

Developer technologies | .NET | Blazor
asked 2021-08-04T15:55:24.077+00:00
Jamy 21 Reputation points
answered 2021-08-09T09:53:15.997+00:00
Anonymous
0 answers

.NET Core creates AspNet tables incompatible with .NET Framework 4.5

From an ASP.NET MVC project (on .NET 4.5) I created a SQL Server database (and security using Microsoft.AspNet.Identity.EntityFramework.) using EF and the Package Manager. So far so good. A few years later, now, I created another project using Blazor…

Developer technologies | .NET | Blazor
Developer technologies | .NET | Other
SQL Server | Other
asked 2021-08-06T18:00:15.51+00:00
Ben Junior 11 Reputation points
commented 2021-08-09T05:14:40.227+00:00
Yiyi You - MSFT 521 Reputation points
1 answer

How to validate form input ONLY if input has a value

I have created my model with an e-mail address like this: [EmailAddress(ErrorMessage = "Please provide a valid E-mail Address.")] public string Email { get; set; } As you can see, this is not marked as Required, my idea is that if…

Developer technologies | .NET | Blazor
asked 2021-08-07T21:23:47.523+00:00
Guillermo Perez 26 Reputation points
answered 2021-08-09T02:31:36.657+00:00
Rena Ni - MSFT 2,066 Reputation points
0 answers

Blazor WebAssembly hosted app with Identity Server, GET https://{DOMAIN}/.well-known/openid-configuration 404

I set up a blazorwasm application, It can work normally locally(OIDC), But if I publish to the server,It does not work with a domain name(if use IP, work normally ) I checked F12 and found GET https://{DOMAIN}/.well-known/openid-configuration 404 (use IP…

Developer technologies | .NET | Blazor
Developer technologies | C#
asked 2021-08-07T04:34:47.39+00:00
scixing 26 Reputation points
commented 2021-08-08T03:00:06.813+00:00
Lex Li 6,037 Reputation points
0 answers

Localize a component in another assembly - Updated

Updated all the question, reformed and posted the new code here: I tried 2 approaches at the same time to find out how I can localize my component which is located in a different assembly. Folder/ Files architecture: Index (Usage in the…

Developer technologies | .NET | Blazor
asked 2021-07-29T19:02:38.2+00:00
Kasrak 46 Reputation points
commented 2021-08-05T07:23:43.23+00:00
Anonymous
2 answers

CORS error with new app service

I have a Blazor webassembly that runs as an app service. It calls a .net core api also running as an app service in the same resource group. I set this up a while ago and it has been running with no issues. Now I wanted to add a second api. I created a…

Developer technologies | .NET | Blazor
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,991 questions
asked 2021-07-09T18:58:01.223+00:00
Craig Stone 1 Reputation point
commented 2021-08-05T01:41:52.81+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Blazor wasm skip CascadingAuthenticationState for index page.

I am using blazer wasm and hosting it asp.net core default template. it has both secure and unsecure page. by default when I will start the app. it show loading and then authorization. since my home/index page is not secure. i want to skip this…

Developer technologies | .NET | Blazor
asked 2021-08-01T16:17:47.86+00:00
Somnath Shukla 411 Reputation points
accepted 2021-08-02T08:39:52.17+00:00
Somnath Shukla 411 Reputation points
1 answer One of the answers was accepted by the question author.

blazor component runtime nested

Hi My goal is to put the components together in runtime, even nested.(like page designer sharepoint) There are two incomplete ways to do this. 1- Using DynamicComponent 2- Using RenderTreeBuilder Both of these solutions do not work in practice…

Developer technologies | .NET | Blazor
asked 2021-07-28T15:05:18.143+00:00
shahab biabani 41 Reputation points
accepted 2021-08-02T08:31:39.06+00:00
shahab biabani 41 Reputation points
0 answers

Upload File to Asp Net Core

Hello. I am writing an online store following the example of Adam Freeman's book "Pro Asp Net Core 3.1". In his Real Application example, he does not specify how to upload images to the site / database. Also for the admin panel it uses the…

Developer technologies | .NET | Entity Framework Core
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
asked 2021-07-31T13:08:50.867+00:00
Oleg Pogorelov 1 Reputation point
commented 2021-08-02T02:10:52.99+00:00
Chao Deng-MSFT 801 Reputation points
2 answers

Blazor pages not updating

I am "still" having issues with Blazor behavior. Looking at my diagram Component 1 is a simple list of items that is populated from the GetData() method which works perfectly. When an edit button is clicked the navigation to…

Developer technologies | .NET | Blazor
asked 2021-07-29T16:18:52.627+00:00
ICodeInTx 56 Reputation points
answered 2021-07-30T15:12:32.923+00:00
ICodeInTx 56 Reputation points
1 answer

ASP.NET Core - static web assests from nuget package (Radzen.Blazor, Microsoft Identity) load only when environment is Development, not when Staging.

I have a ASP.NET Core Blazor Server with Identity. When I run in the Development environment ("ASPNETCORE_ENVIRONMENT": "Development"), everything works as expected. Specifically, the static web assest such as css and js files are…

Developer technologies | .NET | Blazor
asked 2021-07-21T16:40:30.923+00:00
panpawel 1 Reputation point
commented 2021-07-30T11:57:26.053+00:00
panpawel 1 Reputation point
1 answer One of the answers was accepted by the question author.

Azure Web App is returning HTTP 500 error

HTTP Error 500.30 - ANCM In-Process Start Failure - The Project is Asp.net core 3.1 • Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer • EventId: 2 • RequestId: 80003143-0000-e600-b63f-84710c7967bb • RequestPath: / • SpanId:…

Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET Runtime
Developer technologies | C#
asked 2021-07-29T07:24:11.67+00:00
Sajith Gopalakrishnan Hema 1,056 Reputation points
accepted 2021-07-30T08:43:14.373+00:00
Sajith Gopalakrishnan Hema 1,056 Reputation points
0 answers

I am developing CMS and have a problem to display employee's photo in "details" view as it is dynamic, how to assign a dynamic path to employee's photo?

in "details" view : <div class="mb-3"> <span class="input-group-text" id="basic-addon3" asp-for="Photo_Form"> Your Photo </span> <img src="@Anonymous …

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
asked 2021-07-09T05:17:58.22+00:00
silver line 1 Reputation point
commented 2021-07-30T07:47:38.787+00:00
Chao Deng-MSFT 801 Reputation points
0 answers

same library to access data on webassembly and asp.net core

Hi, i have blazor webassembly project that connect to a asp.net core, the blazor project use indexeddb for local db and net core project use sql server to store data, the 2 project have the same data structure. I have 1 library that contains the…

Developer technologies | .NET | Blazor
asked 2021-07-05T10:50:39.323+00:00
Riccardo Poli 1 Reputation point
commented 2021-07-30T02:58:04.837+00:00
Yiyi You - MSFT 521 Reputation points
1 answer

Configuring a default document for Blazor app deployment

I created a blazor server side application. Everything works on local IIS. Now I deployed the app on Azure. When I navigate to the specified url http://MyApp.azurewebsites.net, I get this error: You do not have permission to view this directory or…

Developer technologies | .NET | Blazor
asked 2021-07-28T20:16:55.863+00:00
Dmitriy Reznik 241 Reputation points
commented 2021-07-30T01:10:05.423+00:00
Anonymous
0 answers

Blazor Binding Convention Property or member

Hey, I am currently working within a Blazor project for my client and we struggled to find a clear docu that shows MS convention on namings for Blazor bindings. What is the proposed standard for binding values in Blazor views? Is it recommanded…

Developer technologies | .NET | Blazor
asked 2021-07-27T08:47:18.873+00:00
J.P. Bachmann 1 Reputation point
commented 2021-07-28T08:33:30.483+00:00
Rena Ni - MSFT 2,066 Reputation points
1 answer One of the answers was accepted by the question author.

Using javascript from a website template in WASM

I want to use a website template for my Blazor webassembly project. it has a few nice features like a JavaScript carousel and I would like to use those but I dont know where to put the JavaScript links to the files. I have tried putting them in the…

Developer technologies | .NET | Blazor
asked 2021-07-26T11:31:55.107+00:00
Wout Ongena 21 Reputation points
accepted 2021-07-27T10:59:35.42+00:00
Wout Ongena 21 Reputation points