tagged [server-side]
Can you reliably set or delete a cookie during the server side processing of an Ajax (XHR) call?
Can you reliably set or delete a cookie during the server side processing of an Ajax (XHR) call? I have done a bit of testing on this myself (During the server side processing of a DWR Framework Ajax ...
- Modified
- 18 Sep at 02:50
Why are Blazor lifecycle methods getting executed twice?
Why are Blazor lifecycle methods getting executed twice? So with a release of asp.net core 3.0 and blazor 1.0 I started doing some actual work with blazor. When splitting Blazor component code into co...
- Modified
- 2 Sep at 17:28
How to use 404 routing in Razor Page OnInitialized event
How to use 404 routing in Razor Page OnInitialized event In a server-side Blazor application (Core 3.1) have a Razor that accepts an identifier in the `@page` attribute. If the identifier supplied in ...
- Modified
- 25 Dec at 20:53
Blazor/razor onclick event with index parameter
Blazor/razor onclick event with index parameter I have the below code but the index parameter that is passed when I click the `` element is always 9. That is becuase I have 9 rows in the table that is...
- Modified
- 10 Jul at 09:9
Blazor link - disable href if there's an onclick method
Blazor link - disable href if there's an onclick method In Blazor I have an `` element that has both a `href` and an `onclick` method: `onclick` calls this method: Normally in Ja
- Modified
- 11 Jun at 08:30
How do I write Blazor HTML code inside the @code block?
How do I write Blazor HTML code inside the @code block? How can I write Blazor HTML code within a function inside of the `@code` block? Consider the following code: It d
- Modified
- 8 Sep at 07:25
Using Excel OleDb to get sheet names IN SHEET ORDER
Using Excel OleDb to get sheet names IN SHEET ORDER I'm using OleDb to read from an excel workbook with many sheets. I need to read the sheet names, but I need them in the order they are defined in th...
- Modified
- 1 Oct at 13:54
Blazor component : refresh parent when model is updated from child component
Blazor component : refresh parent when model is updated from child component I'm using Server-side Blazor components in ASP.NET Core 3 preview 4. I have a parent component, and child components, using...
- Modified
- 22 Apr at 13:47
@attribute [AllowAnonymous] in Blazor server-side component has no effect
@attribute [AllowAnonymous] in Blazor server-side component has no effect I have created a fresh Blazor server-side project with .NET Core 3.0 and have closed down the application for non-authenticate...
- Modified
- 11 Nov at 15:56
How to set consent cookie in Blazor Server
How to set consent cookie in Blazor Server I have a Blazor 3.1 App with Identity where I want to implement a cookie consent banner. In classic ASP .NET Core, there is a nice template for a cookie cons...
- Modified
- 23 May at 02:55
Calling async methods in Blazor view
Calling async methods in Blazor view I have a server-side blazor client and I'm trying to modify the MainLayout razor page by having a Login check. I'm currently using Blazored for localstorage saving...
- Modified
- 12 Oct at 22:3
How do I define the SignedOut page in Microsoft.Identity.Web?
How do I define the SignedOut page in Microsoft.Identity.Web? I'm successfully signing in and out using Azure AD B2C in a Blazor Server app, but it's not clear to me the proper way to define the Signe...
- Modified
- 4 Dec at 16:24
C# server scalability issue on linux
C# server scalability issue on linux I've a C# server developed on both Visual Studio 2010 and Mono Develop 2.8. NET Framework 4.0 It looks like this server behaves much better (in terms of scalabilit...
- Modified
- 22 May at 20:0
Is it safe to call StateHasChanged() from an arbitrary thread?
Is it safe to call StateHasChanged() from an arbitrary thread? Is it safe to call `StateHasChanged()` from an arbitrary thread? Let me give you some context. Imagine a Server-side Blazor/Razor Compone...
- Modified
- 2 Feb at 23:43
How to fix 'The current thread is not associated with the renderer's synchronization context'?
How to fix 'The current thread is not associated with the renderer's synchronization context'? I am trying to change a string, being used for a title, in my blazor-server-side application. But I am ha...
- Modified
- 27 Sep at 15:45
Blazor TwoWay Binding on custom Component
Blazor TwoWay Binding on custom Component I'm creating a blazor server side app and have problems to bind a value between two custom components. I've looked through different example of how the bind o...
- Modified
- 2 Oct at 07:14
Pulling data from a webpage, parsing it for specific pieces, and displaying it
Pulling data from a webpage, parsing it for specific pieces, and displaying it I've been using this site for a long time to find answers to my questions, but I wasn't able to find the answer on this o...
- Modified
- 5 Aug at 19:9
How to modify the current culture date format in Blazor (server)?
How to modify the current culture date format in Blazor (server)? [ASP.NET Core Blazor globalization and localization](https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization?v...
- Modified
- 13 Apr at 11:39
onclick method not working in Blazor server-side razor component
onclick method not working in Blazor server-side razor component I am building a sample razor component, and I can not get my button onclick method to fire. When I click the button nothing happens at ...
- Modified
- 14 Oct at 00:4
Blazor in MVC: Component gets rendered, but @onclick not working. Problem with connection
Blazor in MVC: Component gets rendered, but @onclick not working. Problem with connection I'm trying to use Blazor in a .net core 3 MVC project. I used a few tutorials to do this, like [https://fizzyl...
- Modified
- 3 Dec at 14:40
SignIn for Blazor Server-Side app not working
SignIn for Blazor Server-Side app not working I am building a sample login razor component for an Asp.net core 3.0 Blazor Server-Side app. Whenever the code reaches the SignInAsyc method it just appea...
- Modified
- 15 Oct at 06:10
Adding Server-Side Blazor to an existing MVC Core app
Adding Server-Side Blazor to an existing MVC Core app I have a fully operative Blazor server-side project and a .NET Core 3 MVC project, both in the same solution. I'm now trying to use the components...
- Modified
- 22 May at 09:42
How to Separate Code From UI In Blazor.Net
How to Separate Code From UI In Blazor.Net Reference to this [VisualStudioMagazine](https://visualstudiomagazine.com/articles/2018/12/01/creating-web-pages-with-blazor.aspx) article, I am trying to ha...
- Modified
- 21 May at 10:28
How to Localize validation message (DataAnnotationsValidator) in blazor server side
How to Localize validation message (DataAnnotationsValidator) in blazor server side I am using blazor 3.1 in latest version of VS 2019. So far, I am able to localize page labels (title, table fields e...
- Modified
- 10 Jun at 05:50
Blazor TypeError: Cannot read property 'removeChild' of null at Object.e [as removeLogicalChild]
Blazor TypeError: Cannot read property 'removeChild' of null at Object.e [as removeLogicalChild] I created a component for a dual list box. Everything is fine but when I submit I get an error. ``` ...
- Modified
- 25 Jul at 07:22